You can download a PDF version of the scripting guide by clicking here.pdf

This section contains reference information that you will find useful if you intend to write or modify Lua scripts.