When you use the "Condition" block in the Bot constructor, you can specify the necessary value of variables.
Let's consider the "message" variable as an example.
Specify the necessary words in the "Condition" block, and when you receive them, the system will perform the action specified for this condition.
However, if you need to use many values of variables, the size of the script increases, which can be inconvenient.
If there are many variable values, we recommend using another method.
1. Go to the "Variables" section in the upper right corner of the window and press "+".
2. In the opened window specify:
- "Variable type" – "Global";
- "Data type" – "String" or "Integer";
- "Variable name";
- "Values".
In the "Values" section, add the necessary words or numbers: the value of variables with semicolon – ;
3. Click "Save".
4. Then add the created variable to the "Condition" block. Specify the condition: contains ⊃ or does not contain ∌ {{variable name}}.
This way the script will be more compact and the values will be easier to manage.