| string argument(integer index)
Returns a command line argument. |
| void exit(integer code)
Immediately end the script process. |
| void reload() |
| void stayAlive()
Keep the script process alive until explicitly terminated |
Returns a command line argument.
Immediately end the script process.
Keep the script process alive until explicitly terminated.
A script with no scheduled events will normally terminate immediately after the end of the script, use this method to keep the script process alive for method handlers.
The script process must then be terminated externally (e.g. via signal) or by calling System.exit in a method handler.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.