return
statement at the end, defining its interface to EdgeTX. This statement returns a table with the following fields:init
function (optional)run
functionrun
will halt the script. If the return value is a text string with the file path to a new Lua script, then the new script will be loaded and run.