Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Feedback
  3. Feature request: eval-like block

Feature request: eval-like block

Scheduled Pinned Locked Moved Feedback
feature-request
41 Posts 4 Posters 8.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Tyller_T Tyller_

    @jeffreyrb03-gmail can I see your code that should be working perfectly fine?

    JaecadeJnightJ Offline
    JaecadeJnightJ Offline
    JaecadeJnight
    Mod Helper
    wrote on last edited by
    #7

    @tyller_ but I know for a fact hats work! When I click this code directly:
    1652ffa8-fc48-48e0-b589-26c5f7ee901d-image.png
    I get this:
    58d03b93-a794-454c-92f0-402ef824213a-image.png
    I’m not worried about its positioning

    #LLJW
    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

    1 Reply Last reply
    0
    • Tyller_T Tyller_

      @jeffreyrb03-gmail can I see your code that should be working perfectly fine?

      JaecadeJnightJ Offline
      JaecadeJnightJ Offline
      JaecadeJnight
      Mod Helper
      wrote on last edited by
      #8

      @tyller_ Is it possibly that two items are not allowed to be attached to the Head of an avatar character simultaneously, so they just clash and don’t work?

      #LLJW
      <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

      JaecadeJnightJ 1 Reply Last reply
      0
      • JaecadeJnightJ JaecadeJnight

        @tyller_ Is it possibly that two items are not allowed to be attached to the Head of an avatar character simultaneously, so they just clash and don’t work?

        JaecadeJnightJ Offline
        JaecadeJnightJ Offline
        JaecadeJnight
        Mod Helper
        wrote on last edited by
        #9

        @jeffreyrb03-gmail I also need to get all of this avatar stuff figured out before I can even start to implement multiplayer

        #LLJW
        <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

        1 Reply Last reply
        0
        • Tyller_T Offline
          Tyller_T Offline
          Tyller_
          trusted helpers
          wrote on last edited by Tyller_
          #10

          @jeffreyrb03-gmail found it, I checked by copying the block and pasting it into notepad (right click then copy, it copies as text) and when I looked at the field for the body part (the block is
          <block xmlns="http://www.w3.org/1999/xhtml" type="d3action_d3_attachtobone" colour="#4CAD95ff" id="G=I2:6{4uCuFh~]/t$g}" x="-149.22222222222223" y="658"><value name="BODYPART"><shadow type="d3action_menu_BODYPARTLIST" colour="#4CAD95ff" id="6wbYqs?LX.e:G;C}ph{$"><field name="BODYPARTLIST">neck</field></shadow></value><value name="PARENTNAME"><shadow type="text" colour="#FFFFFFff" id="rFcqk_%u)R%d*H^j#=O*"><field name="TEXT">player</field></shadow></value><value name="SPRITE"><shadow type="d3action_menu_ALLSPRITES" colour="#4CAD95ff" id="h.#6ycyU-?,K_5[P(v1|"><field name="ALLSPRITES">Your player</field></shadow></value><value name="HEIGHT"><shadow type="text" colour="#FFFFFFff" id="eK(osw5sKBwE7skBGH%}"><field name="TEXT">70</field></shadow><block type="data_variable" colour="#FF8C1Aff" id="9-n@%;O|N~@fIc0T%SYU"><field name="VARIABLE" id="YefJTEi/TZB[O43Serh)" variabletype="">CURRENT: TargetHeight</field></block></value></block>
          is labeled as neck with lowercase when I tried switching it to neck, I set the variable to “head” and it worked, you have to use lowercase for the bodypart
          1e5c6f60-d39a-425f-99af-f76c8682438a-image.png

          <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
          </div>

          JaecadeJnightJ 5 Replies Last reply
          1
          • Tyller_T Tyller_

            @jeffreyrb03-gmail found it, I checked by copying the block and pasting it into notepad (right click then copy, it copies as text) and when I looked at the field for the body part (the block is
            <block xmlns="http://www.w3.org/1999/xhtml" type="d3action_d3_attachtobone" colour="#4CAD95ff" id="G=I2:6{4uCuFh~]/t$g}" x="-149.22222222222223" y="658"><value name="BODYPART"><shadow type="d3action_menu_BODYPARTLIST" colour="#4CAD95ff" id="6wbYqs?LX.e:G;C}ph{$"><field name="BODYPARTLIST">neck</field></shadow></value><value name="PARENTNAME"><shadow type="text" colour="#FFFFFFff" id="rFcqk_%u)R%d*H^j#=O*"><field name="TEXT">player</field></shadow></value><value name="SPRITE"><shadow type="d3action_menu_ALLSPRITES" colour="#4CAD95ff" id="h.#6ycyU-?,K_5[P(v1|"><field name="ALLSPRITES">Your player</field></shadow></value><value name="HEIGHT"><shadow type="text" colour="#FFFFFFff" id="eK(osw5sKBwE7skBGH%}"><field name="TEXT">70</field></shadow><block type="data_variable" colour="#FF8C1Aff" id="9-n@%;O|N~@fIc0T%SYU"><field name="VARIABLE" id="YefJTEi/TZB[O43Serh)" variabletype="">CURRENT: TargetHeight</field></block></value></block>
            is labeled as neck with lowercase when I tried switching it to neck, I set the variable to “head” and it worked, you have to use lowercase for the bodypart
            1e5c6f60-d39a-425f-99af-f76c8682438a-image.png

            JaecadeJnightJ Offline
            JaecadeJnightJ Offline
            JaecadeJnight
            Mod Helper
            wrote on last edited by
            #11

            @tyller_ WHAT?!!! So instead of putting Head I had to put head!!!

            #LLJW
            <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

            1 Reply Last reply
            0
            • Tyller_T Tyller_

              @jeffreyrb03-gmail found it, I checked by copying the block and pasting it into notepad (right click then copy, it copies as text) and when I looked at the field for the body part (the block is
              <block xmlns="http://www.w3.org/1999/xhtml" type="d3action_d3_attachtobone" colour="#4CAD95ff" id="G=I2:6{4uCuFh~]/t$g}" x="-149.22222222222223" y="658"><value name="BODYPART"><shadow type="d3action_menu_BODYPARTLIST" colour="#4CAD95ff" id="6wbYqs?LX.e:G;C}ph{$"><field name="BODYPARTLIST">neck</field></shadow></value><value name="PARENTNAME"><shadow type="text" colour="#FFFFFFff" id="rFcqk_%u)R%d*H^j#=O*"><field name="TEXT">player</field></shadow></value><value name="SPRITE"><shadow type="d3action_menu_ALLSPRITES" colour="#4CAD95ff" id="h.#6ycyU-?,K_5[P(v1|"><field name="ALLSPRITES">Your player</field></shadow></value><value name="HEIGHT"><shadow type="text" colour="#FFFFFFff" id="eK(osw5sKBwE7skBGH%}"><field name="TEXT">70</field></shadow><block type="data_variable" colour="#FF8C1Aff" id="9-n@%;O|N~@fIc0T%SYU"><field name="VARIABLE" id="YefJTEi/TZB[O43Serh)" variabletype="">CURRENT: TargetHeight</field></block></value></block>
              is labeled as neck with lowercase when I tried switching it to neck, I set the variable to “head” and it worked, you have to use lowercase for the bodypart
              1e5c6f60-d39a-425f-99af-f76c8682438a-image.png

              JaecadeJnightJ Offline
              JaecadeJnightJ Offline
              JaecadeJnight
              Mod Helper
              wrote on last edited by
              #12

              @tyller_ That is really clever! Thanks bro! I would’ve never thought to inspect the XML that makes up the blocks

              #LLJW
              <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

              1 Reply Last reply
              0
              • Tyller_T Tyller_

                @jeffreyrb03-gmail found it, I checked by copying the block and pasting it into notepad (right click then copy, it copies as text) and when I looked at the field for the body part (the block is
                <block xmlns="http://www.w3.org/1999/xhtml" type="d3action_d3_attachtobone" colour="#4CAD95ff" id="G=I2:6{4uCuFh~]/t$g}" x="-149.22222222222223" y="658"><value name="BODYPART"><shadow type="d3action_menu_BODYPARTLIST" colour="#4CAD95ff" id="6wbYqs?LX.e:G;C}ph{$"><field name="BODYPARTLIST">neck</field></shadow></value><value name="PARENTNAME"><shadow type="text" colour="#FFFFFFff" id="rFcqk_%u)R%d*H^j#=O*"><field name="TEXT">player</field></shadow></value><value name="SPRITE"><shadow type="d3action_menu_ALLSPRITES" colour="#4CAD95ff" id="h.#6ycyU-?,K_5[P(v1|"><field name="ALLSPRITES">Your player</field></shadow></value><value name="HEIGHT"><shadow type="text" colour="#FFFFFFff" id="eK(osw5sKBwE7skBGH%}"><field name="TEXT">70</field></shadow><block type="data_variable" colour="#FF8C1Aff" id="9-n@%;O|N~@fIc0T%SYU"><field name="VARIABLE" id="YefJTEi/TZB[O43Serh)" variabletype="">CURRENT: TargetHeight</field></block></value></block>
                is labeled as neck with lowercase when I tried switching it to neck, I set the variable to “head” and it worked, you have to use lowercase for the bodypart
                1e5c6f60-d39a-425f-99af-f76c8682438a-image.png

                JaecadeJnightJ Offline
                JaecadeJnightJ Offline
                JaecadeJnight
                Mod Helper
                wrote on last edited by
                #13

                @tyller_ So when u move around with WASD and jump and stuff, the hat stays on his head?

                #LLJW
                <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                1 Reply Last reply
                0
                • Tyller_T Tyller_

                  @jeffreyrb03-gmail found it, I checked by copying the block and pasting it into notepad (right click then copy, it copies as text) and when I looked at the field for the body part (the block is
                  <block xmlns="http://www.w3.org/1999/xhtml" type="d3action_d3_attachtobone" colour="#4CAD95ff" id="G=I2:6{4uCuFh~]/t$g}" x="-149.22222222222223" y="658"><value name="BODYPART"><shadow type="d3action_menu_BODYPARTLIST" colour="#4CAD95ff" id="6wbYqs?LX.e:G;C}ph{$"><field name="BODYPARTLIST">neck</field></shadow></value><value name="PARENTNAME"><shadow type="text" colour="#FFFFFFff" id="rFcqk_%u)R%d*H^j#=O*"><field name="TEXT">player</field></shadow></value><value name="SPRITE"><shadow type="d3action_menu_ALLSPRITES" colour="#4CAD95ff" id="h.#6ycyU-?,K_5[P(v1|"><field name="ALLSPRITES">Your player</field></shadow></value><value name="HEIGHT"><shadow type="text" colour="#FFFFFFff" id="eK(osw5sKBwE7skBGH%}"><field name="TEXT">70</field></shadow><block type="data_variable" colour="#FF8C1Aff" id="9-n@%;O|N~@fIc0T%SYU"><field name="VARIABLE" id="YefJTEi/TZB[O43Serh)" variabletype="">CURRENT: TargetHeight</field></block></value></block>
                  is labeled as neck with lowercase when I tried switching it to neck, I set the variable to “head” and it worked, you have to use lowercase for the bodypart
                  1e5c6f60-d39a-425f-99af-f76c8682438a-image.png

                  JaecadeJnightJ Offline
                  JaecadeJnightJ Offline
                  JaecadeJnight
                  Mod Helper
                  wrote on last edited by
                  #14

                  @tyller_ I’ve replaced all the Heads with head
                  0cc1c809-81a6-40ba-ae44-5f670498f2ed-image.png
                  time to see if it works!

                  #LLJW
                  <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                  1 Reply Last reply
                  0
                  • Tyller_T Tyller_

                    @jeffreyrb03-gmail found it, I checked by copying the block and pasting it into notepad (right click then copy, it copies as text) and when I looked at the field for the body part (the block is
                    <block xmlns="http://www.w3.org/1999/xhtml" type="d3action_d3_attachtobone" colour="#4CAD95ff" id="G=I2:6{4uCuFh~]/t$g}" x="-149.22222222222223" y="658"><value name="BODYPART"><shadow type="d3action_menu_BODYPARTLIST" colour="#4CAD95ff" id="6wbYqs?LX.e:G;C}ph{$"><field name="BODYPARTLIST">neck</field></shadow></value><value name="PARENTNAME"><shadow type="text" colour="#FFFFFFff" id="rFcqk_%u)R%d*H^j#=O*"><field name="TEXT">player</field></shadow></value><value name="SPRITE"><shadow type="d3action_menu_ALLSPRITES" colour="#4CAD95ff" id="h.#6ycyU-?,K_5[P(v1|"><field name="ALLSPRITES">Your player</field></shadow></value><value name="HEIGHT"><shadow type="text" colour="#FFFFFFff" id="eK(osw5sKBwE7skBGH%}"><field name="TEXT">70</field></shadow><block type="data_variable" colour="#FF8C1Aff" id="9-n@%;O|N~@fIc0T%SYU"><field name="VARIABLE" id="YefJTEi/TZB[O43Serh)" variabletype="">CURRENT: TargetHeight</field></block></value></block>
                    is labeled as neck with lowercase when I tried switching it to neck, I set the variable to “head” and it worked, you have to use lowercase for the bodypart
                    1e5c6f60-d39a-425f-99af-f76c8682438a-image.png

                    JaecadeJnightJ Offline
                    JaecadeJnightJ Offline
                    JaecadeJnight
                    Mod Helper
                    wrote on last edited by
                    #15

                    @tyller_ All I need to do is rotate and resize the glasses, and it’s perfect!
                    1fe22ef7-3eb9-472f-8d22-66425e9bd244-image.png
                    Thank you so much

                    #LLJW
                    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                    1 Reply Last reply
                    0
                    • CreatiCodeI CreatiCode

                      @jeffreyrb03-gmail

                      It feels like this will not be used by many people. How about we wait until we get at least 10 upvotes for this feature before adding it?

                      JaecadeJnightJ Offline
                      JaecadeJnightJ Offline
                      JaecadeJnight
                      Mod Helper
                      wrote on last edited by jeffreyrb03-gmail
                      #16

                      @info-creaticode Nevermind, you’re right we don’t need the block anymore, I fixed the issue that caused me to want to suggest this

                      #LLJW
                      <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                      1 Reply Last reply
                      0
                      • Tyller_T Offline
                        Tyller_T Offline
                        Tyller_
                        trusted helpers
                        wrote on last edited by
                        #17

                        @jeffreyrb03-gmail well the block would still be useful, only issue is making the text actually work

                        <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
                        </div>

                        JaecadeJnightJ silvloveS 4 Replies Last reply
                        1
                        • Tyller_T Tyller_

                          @jeffreyrb03-gmail well the block would still be useful, only issue is making the text actually work

                          JaecadeJnightJ Offline
                          JaecadeJnightJ Offline
                          JaecadeJnight
                          Mod Helper
                          wrote on last edited by jeffreyrb03-gmail
                          #18

                          @tyller_ oh yeah true mb

                          #LLJW
                          <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                          1 Reply Last reply
                          0
                          • Tyller_T Tyller_

                            @jeffreyrb03-gmail well the block would still be useful, only issue is making the text actually work

                            JaecadeJnightJ Offline
                            JaecadeJnightJ Offline
                            JaecadeJnight
                            Mod Helper
                            wrote on last edited by
                            #19

                            @tyller_ but if the eval block were introduced, wouldn’t that make your CreatiScript project unnessescary? Because the purpose of your project I think is to run CreatiCode blocks from text, which is exactly what I’m suggesting, since someone could just make a question (in sensing) and then run blocks from text (answer), or make it better with widgets

                            #LLJW
                            <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                            1 Reply Last reply
                            0
                            • Tyller_T Tyller_

                              @jeffreyrb03-gmail well the block would still be useful, only issue is making the text actually work

                              silvloveS Offline
                              silvloveS Offline
                              silvlove
                              Mod Helper
                              wrote on last edited by
                              #20

                              @tyller_
                              Hey Tyler. Off topic, but does your chat room have a reporting system, or do we need to moderate at all times?

                              Forums Moderator.
                              Trans girl :3 ~ 14yo
                              Friendly and sometimes goofy~!

                              Tyller_T 1 Reply Last reply
                              0
                              • Tyller_T Tyller_

                                @jeffreyrb03-gmail well the block would still be useful, only issue is making the text actually work

                                JaecadeJnightJ Offline
                                JaecadeJnightJ Offline
                                JaecadeJnight
                                Mod Helper
                                wrote on last edited by
                                #21

                                @tyller_ , to add onto my previous comment, that’s sorta like if Scratch introduced a text engine in 4.0, that’d make it so all the hard work people (including me) put into making detailed text engines, like with the 100+ costumes where you just store every single letter in lowercase and capital and numbers and symbols.

                                You are right, but CreatiCode should probably just not add this block because if too many blocks that make CreatiCode too convienient are added, although making complicated things will be easier, it will take a bit of the fun and creativity and effort away from making simpler things and solving problems. Now I’m not saying they should just not add new things to make it easier and faster to use, but this sorta thing might render all your hard work useless, and will take the fun out of solving hard problems like this one where I had no idea why my code wouldn’t work (lol that was hillarious “head” is case-sensitive).

                                #LLJW
                                <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                                1 Reply Last reply
                                0
                                • silvloveS silvlove

                                  @tyller_
                                  Hey Tyler. Off topic, but does your chat room have a reporting system, or do we need to moderate at all times?

                                  Tyller_T Offline
                                  Tyller_T Offline
                                  Tyller_
                                  trusted helpers
                                  wrote on last edited by
                                  #22

                                  @catty I have a thing where there’s moderation commands, I’m going to add a report system where you can report a user and it has all ppl with moderation perms get a notification pop up on their screen whenever they open the project, currently I just have commands where moderators (I gotta set mods based off whatever username block has their name as) can flag all messages with a keyword in it, then view all flagged messages, and delete either all flagged or a certain one, I am actively working on moderation related stuff with it, but all messages are logged in a database for loading them and for moderation

                                  <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
                                  </div>

                                  JaecadeJnightJ 2 Replies Last reply
                                  0
                                  • Tyller_T Tyller_

                                    @catty I have a thing where there’s moderation commands, I’m going to add a report system where you can report a user and it has all ppl with moderation perms get a notification pop up on their screen whenever they open the project, currently I just have commands where moderators (I gotta set mods based off whatever username block has their name as) can flag all messages with a keyword in it, then view all flagged messages, and delete either all flagged or a certain one, I am actively working on moderation related stuff with it, but all messages are logged in a database for loading them and for moderation

                                    JaecadeJnightJ Offline
                                    JaecadeJnightJ Offline
                                    JaecadeJnight
                                    Mod Helper
                                    wrote on last edited by
                                    #23

                                    @tyller_ Can you make the source code shared to friends? After you’re done I wanna make some modifications for you to add

                                    #LLJW
                                    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                                    1 Reply Last reply
                                    0
                                    • Tyller_T Tyller_

                                      @catty I have a thing where there’s moderation commands, I’m going to add a report system where you can report a user and it has all ppl with moderation perms get a notification pop up on their screen whenever they open the project, currently I just have commands where moderators (I gotta set mods based off whatever username block has their name as) can flag all messages with a keyword in it, then view all flagged messages, and delete either all flagged or a certain one, I am actively working on moderation related stuff with it, but all messages are logged in a database for loading them and for moderation

                                      JaecadeJnightJ Offline
                                      JaecadeJnightJ Offline
                                      JaecadeJnight
                                      Mod Helper
                                      wrote on last edited by
                                      #24

                                      @tyller_ Also I have an idea for a better notification system, prolly using email blocks (don’t work right now tho) or sending it to an API that will give me a phone notification

                                      #LLJW
                                      <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                                      silvloveS 1 Reply Last reply
                                      0
                                      • JaecadeJnightJ JaecadeJnight

                                        @tyller_ Also I have an idea for a better notification system, prolly using email blocks (don’t work right now tho) or sending it to an API that will give me a phone notification

                                        silvloveS Offline
                                        silvloveS Offline
                                        silvlove
                                        Mod Helper
                                        wrote on last edited by
                                        #25

                                        @jeffreyrb03-gmail
                                        oh god pls no. biiig spam issue.

                                        Forums Moderator.
                                        Trans girl :3 ~ 14yo
                                        Friendly and sometimes goofy~!

                                        JaecadeJnightJ 1 Reply Last reply
                                        0
                                        • silvloveS silvlove

                                          @jeffreyrb03-gmail
                                          oh god pls no. biiig spam issue.

                                          JaecadeJnightJ Offline
                                          JaecadeJnightJ Offline
                                          JaecadeJnight
                                          Mod Helper
                                          wrote on last edited by
                                          #26

                                          @catty it’s not going to do it in the way you think it is, it’s just going to do with messages that it isn’t sure is appropriate, and Its also that it takes forever to load

                                          #LLJW
                                          <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                                          silvloveS 1 Reply Last reply
                                          0

                                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                          With your input, this post could be even better 💗

                                          Register Login
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • CreatiCode