Commands are instructions that are converted to scratchblocks using an interpreter.
<move-step/> : this command will make the object or clone move a number of steps, you have to put how many steps it will take between the label by putting a syntax or number
<spin/> : this command makes the object or clone rotate a number of degrees, you have to put the number of degrees that it will rotate between the tag, either a number or syntax
<direction/> : this command makes the object or clone point to a specific direction 90 degrees is normal, to do this you have to put the number of degrees or syntax between the tag
<change-x/> and <change-y/> : these commands make the object or clone advance in x or y, to do this you will have to put the number or syntax of how much it will advance between the tag
<set-x/> and <set-y/> : these commands cause the object or clone to be set in an x or y position, to do this you will have to put the number or syntax of the coordinate between the label
<if-on-edge-bounce/> : does the same thing as the block of the same name
<go-to/> : makes the object or clone go to a specific position, the respective coordinates must be put in the "x" and "y" attributes, you can also put syntax
<say/> : this command makes the object or clone say something, to do so you will have to put the text or syntax between the tag
<say-and-wait/> : this command makes the object or clone say something for a number of seconds, to do so you have to put in the "seconds" attribute for how many seconds (number or syntax) it will say that and you will have to put the text or syntax between the tag
<think/> : this command makes the object or clone think something, to do so you will have to put the text or syntax between the tag
<think-and-wait/> : this command makes the object or clone think something for a number of seconds, to do so you have to put in the "seconds" attribute for how many seconds (number or syntax) it will think that and you will have to put the text or syntax between the tag
<bc/> : this command changes the project scene (ErickOS) to do so you have to put the name of the scene or a syntax between the tag
<set-costume/> : this command changes the sprite of the object or clone to do so you have to put the name of the sprite or a syntax between the tag
<next-costume/> : does the same as the scratch block with the same name
<next-bc/> : does the same as the "next background" block of scratch
<local-show/> : does the same as the "show" block of scratch
<local-hide/> : does the same as the "hide" block of scratch
<show/> : shows an object, you have to put the name of the object or a syntax with the name of the object between the tag
<hide/> : hides an object, you have to put the name of the object or a syntax with the name of the object between the tag
<set-light-effect/> , <set-color-effect/> and <set-ghost-effect/> : these commands adjust the corresponding effect to a value that has to be put between the tag or you can also put a syntax
<change-light-effect/> , <change-color-effect/> and <change-ghost-effect/> : these commands add a value to the corresponding effect to do it, you have to know by what number it will be added between the tag or you can also put a syntax
<show-text/> : shows a text in the object or clone, to do it you have to put between the tag the text or syntax that is going to be shown
<show-sprite/> : is to return to the sprite
<set-font/> : This command sets the font of the text you have to put the name or a syntax with the name of the text font between the tag
<set-size/> : changes the size of the object or clone, to do it you have to put between the tag the number or syntax of how big it is going to be made
<change-size/> : add the size of the object or clone, to do it you have to put between the tag the number or syntax how much size is going to be added
<go-to-front-layer/> and <go-to-back-layer/> : make the object change to the highest or lowest layer
<go-forward-layers/> and <go-backward-layers/> : make the object go forward or backward layers, to do this you will put between the tag how many layers it will go up or down, you can also put syntax
<when-click-in/> : this command establishes what will happen when a specific clone is clicked. To do this, you have to put the name of the clone to which that property will be added in an attribute called "item" and in the label put the commands that will be executed on the clone when it is clicked.
<execute-to-item/> : this will send a list of instructions to a clone to then be executed from the clone, to do this you have to put the name of the clone in an attribute called "item" and between the tag the code that will be executed the clone will execute
<send-msg> : to send a message,
message = label text or syntax
send with data = with-dat attribute
send to = to attribute
<Clone/> : This command is used to create a clone. In the name attribute you have to put the name of the clone or a syntax with the name. Between the label you have to put the instructions that the clone will execute.
<delete-clone/> :This command removes the clone
<ask/> : It creates a dialog box in which you will have to put a text, to edit what text the dialog box will show you have to put the question or syntax of the text that will be shown between the tag
<drag-mode/> : This command activates/deactivates drag mode. To activate it, you have to put true or a syntax with a true condition between the tag. To activate it, you have to put false or a syntax with a false condition between the tag.
<reset-timer/> : This command resets the timer
<v/> : This command specifies an action to be performed with a global variable (from the scratch .sb3 project) using an attribute called "act" (action) and another attribute called "vtc" (variable to change). The actions are as follows:
set : sets the variable specified in the attribute to a different value that is placed between the label with text or a syntax
change : adds a number to the variable specified in the attribute's value. The number by which it will be added (or subtracted if it is negative) is placed between the label with text or a syntax
<lv/> : This command specifies an action to be performed with a local variable (from the current xml script) using an attribute called "act" (action) and another attribute called "vtc" (variable to change). The actions are as follows:
set : sets the variable specified in the attribute to a different value that is placed between the label with text or a syntax
change : adds a number to the variable specified in the attribute's value. The number by which it will be added (or subtracted if it is negative) is placed between the label with text or a syntax
<f/> : This command specifies an action to be performed on the file system of the current ErickOS installation using an attribute called "act" (action) and another attribute called "ftc" (file to change), the actions are as follows
set : replaces the content of the file assigned in the "ftc" attribute with the text specified between the tag, either text or syntax
del : deletes the file assigned in the "ftc" attribute
imp : (Warning, if you are going to use this to modify ErickOS please, unless you know how rxFS export encoding works, do not manually edit the value returned by the syntax if you do not know what you are doing, as this could damage or corrupt ErickOS, so if you are going to modify text generated with this syntax, do so with caution or do not modify it at all, thanks) this action imports all files from a file import code assigned between the tag, either text or syntax
<set-stretch/> : This command stretches the object or clone by "x" (specified in the "x" attribute) and "y" (specified in the "y" attribute)
<cur/> : This command changes the cursor to a cursor action that is specified with text or syntax between the tag (only default , progress , wait and hide are compatible)
<img/> : This command is used to change the sprite of the current object or clone to an image, either a url image or an svg in bas64. To do this, you have to put the url or the base64 of the svg between the tag or a syntax with the url or the base64 of the svg.
<img-delete/> : This command is used to remove the image and return to the original sprite
There are other commands but they are optional or maybe they don't have a use so only the important ones were mentioned. If you want to know more commands that don't appear in this list, check the ErickOS source code in the "controller" object in the "execute (ex)" function.