(Official) LUA Scripting Documentation
Pages
Functions to manipulate scripts
cancel_script*
Cancel a running script.
remove_event_script*
Function undefined.
require*
Load a library.
set_event_script*
Set a script to execute on an event.
set_event_button_script*
Set a script to execute on a button press event.
script*
Call a script.