OSL ‐ Program Flow - Mistium/Origin-OS GitHub Wiki
Mainloop Label:
mainloop:
This label serves as the entry point for an application's script after the first run cycle. It's where the program starts running after the initial setup.
Conditional Statements:
Looping Constructs:
While and Until:
Import and Modules
Running Commands in a JSON Array:
run ["command","command2"]
:- The
run
command loops through a JSON array, executing the specified commands inside the array.
- The
Example:
run ["command1", "command2"]