Scripts in Xpanel use a programming language that is very similar to the C programming language. Within scripts, the user can use variables, call other programs, etc. Also, XpanelDesigner provides keywords for flow control such as Switch-Case, For, While, If-Else, and GoTo.
The programs are executed in a multi-threaded environment. Each program is assigned a priority level between 1 and 10.
The script syntax is not case-sensitive.
All tags registered in the Xpanel’s database can be used as variables in the script.
Two variable types are supported: Real Type and String Type. The variable type is decided automatically during program execution. However, you cannot use a single variable for both real and string data.
※ For more information about each basic object, please refer to the [Writing a Script] section.