Syntaxes can be put in code or also in other syntaxes (for example, to obtain the value of a value)
<x-pos/> : This syntax returns the position x at which the object or clone is located.
<y-pos/> : This syntax returns the position x at which the object or clone is located.
<layer/> : This syntax returns the layer in which the object or clone is located.
<visible/> : This syntax returns whether a specific object is being displayed, you have to specify which object the condition is going to be extracted from by putting the raw name of the object or another syntax
<non-visible/> : This syntax returns whether a specific object is hidden, you have to specify which object the condition is going to be extracted from by putting the raw name of the object or another syntax
<get-objet-efect/> : This syntax returns the value of a graphic effect of the object or clone. You have to specify from which effect its value is going to be extracted by putting the name of the effect (the supported effects are color, fisheye, whirl, pixelate, mosaic, brightness or ghost) or another syntax.
<size/> : This syntax will return the size of the object or clone
<mouse-x/> : This syntax returns the x position of the mouse.
<mouse-y/> : This syntax returns the y position of the mouse.
<mous-click/> : This syntax will return if the mouse is being clicked.
<touching-objet/> : This syntax returns if the object or clone is touching another object, you have to specify between the tag which object will have to touch the object or clone for the condition to be true by putting the name of the object that will have to be touched in raw text or putting another syntax
<touching-color/> : This syntax returns if the object or clone is touching a specific color, you have to specify between the tag which color the object or clone will have to touch for the condition to be true by putting the hex code of the color that will have to be touched in raw text or putting another syntax
<color-is-toching/> : This syntax returns if a color is touching another color, you have to specify color 1 between the tag by putting the color code in hex or putting another syntax, and to specify color 2 you have to put a property named "color2" with the value of the color's hex code or another syntax.
<sound-volume/> : This syntax returns the volume value of the project sound (like the scratch "sound volume" block in the "sensing" category)
<timer/> : This syntax returns the value of the timer
<days-from-2000/> : This syntax returns the value of how many days have passed since the year 2000.
<player-name/> : This syntax returns the username in the scratch project
<answare/> : This syntax returns the answer to the last question asked.
<key-down/> : This syntax returns if a key is being pressed, you have to specify which key has to be pressed for the condition to be true by putting the raw text of the English name of the key between the label or also by putting another syntax
<if/> : This syntax returns if a condition is true, to specify the condition you have to put between the tag an array or another syntax that returns an array with a condition format or a boldean (true / false) the array has to have 3 elements in the first element you have to put condition 1 (either true / false text or another syntax) in the second element you have to put the conditional (either = , < , > , <= , >= , and or or , you can also put a syntax that returns one of the conditionals already mentioned) in the third element you have to put conditional 2 (either true / false text or another syntax)
= : this condition verifies if condition 1 and condition 2 are equal or return the same value or text, if so the if will return true if not the if will return false
< : this condition verifies if the value of condition 1 is less than the value of condition 2 if yes the if will return true if not the if will return false
> : this conditional checks if the value of condition 1 is greater than the value of condition 2 if yes the if will return true if not the if will return false
<= : this conditional checks if the value of condition 1 is less than or equal to the value of condition 2 if yes the if will return true if not the if will return false
>= : this conditional checks if the value of condition 1 is greater than or equal to the value of condition 2 if yes the if will return true if not the if will return false
or : this conditional checks if the syntax of condition 1 returns true , if it does the if will return true , if not it will directly check if the syntax of condition 2 returns true , if it does the if will return true , if not the if will return false
and : this condition checks if the syntax of condition 1 and condition 2 return true, if both return true the if will return true, if only one or neither of the syntax of the two conditions does not return true then the if will return false
<if-return/> : This syntax is like the if but instead of returning only true or false this syntax will return something specific depending on whether the condition is true or false, to do so you have to put between the tag the syntax or the if that will be handled, you have to put an attribute titled true (in which you will have to put the text or syntax that will be returned if the if returns true) and another attribute titled false (in which you will have to put the text or syntax that will be returned if the if returns false)
<mt/> : This syntax will return the result of a specific operation, to do so you will have to put an array with 3 elements between the label, in the first element you will have to put the first number of the operation (you can also put another syntax or even another operation), in the second element you will have to put the operator (either +, - / or *), in the third element you will have to put the second number of the operation (you can also put another syntax or even another operation)
<vu/> : This syntax will return the value of the specified global variable (from the .sb3 project). To specify the variable from which the value will be extracted, you have to put the name of the variable (or another syntax that returns the name of the variable) between the tag
<lv/> : This syntax will return the value of the specified local variable (from the curent xml script). To specify the variable from which the value will be extracted, you have to put the name of the variable (or another syntax that returns the name of the variable) between the tag
<compress-text/> : This syntax will return a compressed text. To specify the text, you have to put the text or syntax you want to convert between the tag. You also have to specify an attribute titled "to" in which you will have to specify the encoding to which the text will be compressed (the options are Raw, Base64, EncodedURIComponent, Uint8Array or UTF-16).
<descompress-text/> : This syntax will return a descompressed text. To specify the text, you have to put the text or syntax you want to unconvert between the tag. You also have to specify an attribute titled "from" in which you will have to specify the encoding to which the text will be descompressed (the options are Raw, Base64, EncodedURIComponent, Uint8Array or UTF-16).
<load-file-from-web/> : This syntax will return an rxFS file on the web, to specify which file you want to extract from the web you have to put the file URL in text or syntax between the tag
<Export-file-system/> : (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 syntax will return the export code of the current ErickOS installation. This includes all ErickOS system files, the markarian virtual UEFI system files, and user files.
<list-files-under/> : This syntax will return all directories and files that contain in their file address (full file name) a specific text, the text is specified between the tag by putting the text or syntax that will be used as search criteria.
<search-files-with/> : This syntax, due to some error in the turbowarp rxFS extension, returns a list of the names of all the files
<file/> : This syntax will return the content of a specific file, to specify the file from which the content will be extracted you have to put the full name of the file between the tag (the name of the directory in which it is and add a / before the file name) you can also put a syntax that will have to return the name of the file
<x-size/> : This syntax returns how stretched the object or clone is in x coordinates.
<y-size/> : This syntax returns how stretched the object or clone is in y coordinates.
<stage-size/> : This syntax will return the size of the ErickOS screen resolution, you have to specify what size value you have to extract by putting between the tag if you want to extract the width or length with their names in English, you can also put a syntax that returns any of those two properties
<json-array/> : This syntax interacts with arrays, to do this you have to specify an attribute called "act" which will be the action you want to do, the following actions are done by putting their respective name in the "act" attribute
get-item : returns a specific element of the array, you have to put the array or the syntax that contains the array from which you want to extract an item in an attribute called "atm" (array to manager) and between the tag you have to put the # of the item you want to extract (you can also put a syntax that returns a number)
get-id-of-item : returns the # of a specific item, to do this you have to put in the "atm" attribute the array or the syntax that contains the array and between the tag the text that contains the item from which you want to extract its id (you can also put a syntax)
delete-all-values : returns the specific array but with all the elements that contain a specific text deleted, to do this you have to put in the "atm" attribute the array or the syntax that contains the array and between the tag the text that you want to remove from the array (you can also put a syntax that returns the text)
delete-item : returns the array but with a specific item removed, to do this you have to put in the "atm" attribute the array or the syntax that contains the array and between the tag put the id of the item that you want to remove
insert : returns a specific array but with an item embedded between an item , to do this you have to put in the "atm" attribute the array or the syntax that contains the array then add an attribute called "at" in which you will put the id of the item in which you want to embed and between the tag you will put the text or syntax that you want to add
replace : returns a specific array but with a replaced item, to do this you have to put in the "atm" attribute the array or the syntax that contains the array then you have to add an attribute called "item" in which the # of the item you want to replace or a syntax that contains the # of the item will be put and between the tag you have to put the text by which it is going to be replaced (you can also put a syntax with the text)
add-item : returns a specific array adding an item at the end, to do this you have to put in the "atm" attribute the array or the syntax that contains the array and between the tag put the text you want to add (you can also put a syntax with the text)
length : returns the length of an array, to do this you have to put in the "atm" attribute the array or the syntax that contains the array
<json-objet/> : This syntax interacts with json objects, to do this you have to specify an attribute called "act" which will be the action you want to do, the following actions are done by putting their respective name in the "act" attribute
length : returns the length of the json object, to do this set you have to add an attribute called "otn" where you have to put the json object, you can also put a syntax that returns the json object
get-value : returns the value of a variable in the json object, to do this set you have to put in the "otn" attribute the json object or a syntax that returns the json object and between the tag put the name of the key from which you want to extract the value
set-value : returns the json object but with a modified key, to do this set you have to put in the "otn" attribute the json object or a syntax that returns the json object then in an attribute called "key" you have to put the name of the key that is going to be modified or also a syntax with the name and between the tag contains the text by which the value of the key will be replaced (you can also put a syntax with the value
delete : returns a json object but deleting a key, to do this you have to put in the "otn" attribute the json object or a syntax that returns the json object and between the tag the name of the key that you want to delete (you can also put a syntax with the name)
<letters/> : This syntax will return a fragment of a text, to do so you have to put in an attribute called "first" the letter from which the fragment will begin, then in an attribute called "to" you have to put the letter in which the fragment ends and between the tag you have to put the text from which it will be extracted, you can also put a syntax with the text
<item-split/> : This syntax is used so that if a text has a separation (for example "|") it will return a part of the separated text (for example if we have a text like this "apple|banana|candy" if we use <item-split item="2" split="|">apple|banana|candy</item-split> it will return "banana") To do this you have to put in the "item" attribute (you can also put a syntax that returns the # of the item) which separated part will be extracted, in the "split" attribute the separator (you can also put a syntax that returns the separator) and between the tag the text from which you want to extract the text (you can also put a syntax that returns the text)
<replace/> : This syntax will return a specific text with replaced text, to do this you have to put in an attribute called "replace" the part of the text that is going to be replaced, in another attribute called "with" you have to put which text that part is going to be replaced by and between the tag the text which is going to be handled (you can also put syntax)
<repeat-text/> : This syntax will return a repeated text, to do this you have to put in an attribute called "times" how many times it will be repeated (you can also put a syntax) and between the tag the text that will be repeated (you can also put a syntax with the text)
<letter-to-unicode/> : This syntax returns a character in unicode format, the character must be placed between the tag
<unicode-to-letter/> : the opposite of the above