Board Thread:Script Suggestions/@comment-36009152-20190825142631/@comment-24634078-20190827152308

See Global Lua Modules for a list of helpful Lua templates.

Basically the value of 1 changes the way the template works (#switch) and then it tests some other things. It's kinda complicated, especially if the code isn't formatted.