Variable

What is a variable?
Variables are simple containers for digital data. Variables store simple data of programmes in programming. The term variable clarifies the importance of this central programming tool, because values of variables can be changed. Each variable needs a unique variable name.

Each variable is assigned a fixed name when it is defined for the first time and this variable can then be addressed continuously under this name. The data type must only be specified once when a variable is initially created. After that, the variable type is fixed to this data type and cannot accept any other data formats.

The creation of variables is also called variable declaration. A value can then be assigned to this variable via the name of the variable, which can always be called up directly via the variable name. Each variable declaration thus consists firstly of the variable name and secondly of the data type. Source

How do I create a variable?
Go to the Variables tab and click on create variable at the top. Now select a name. It is recommended to choose a name that describes the task of the variable so that it is clearer for you and you don't get confused.

How to use a variable?
Actually, it is quite simple. With the block set (variable name) to  you can set the value of the variable. For example, if you move a text module into the field and type something into the text field, the corresponding variable is set to the text you just entered. This only happens if the bot script powers this block through an action.

Connection
If an action on server A sets variable A to 1, then it is also set to 1 on all other servers on which the bot is! If the variable A is set to hello on server B, it will also be set to hello on all other servers on which the bot is.