Common Settings

Each script has certain parameters, but you can also define the following general settings when calling the script.

You can specify here any comment or explanation that will help you to understand the script operation in the future.

If Condition
If you need to perform some action when certain conditions are met, then you can specify these conditions in this field instead of using the If Statement.

How to define the If Condition field

The If Condition field contains a logical expression in Gentee language. The current command will only be executed if this condition is true. Otherwise, the current command will be skipped.

1GetVarBool("check1") || *GetVar("value1") > 5
2GetVarBool ("check1")

If you want to check only variables for true/false in the condition, you can use a simplified notation. In this case, it is enough to specify only the variable names and logical operations &&(AND), ||(OR), !(NOT). For example, if you specify myvar, it means that this command will be executed if the variable myvar exists and is not equal to an empty string, "0" and "false". If you specify !myvar, then the command will be executed in the opposite case.

1check1 && isopen
2!myvar || todo || myvar2

Download sample script

Online Demo
Downloads Documentation Scripts Support Pro Version