Examples A collection of examples to help getting started with Traintastic Lua scripting. $example.checkingforpersistentdata:title$ $example.deletingpersistentdata:title$ $example.retrievingpersistentdata:title$ $example.storingpersistentdata:title$ Control output on world run/stop DCCext signal control (LocoNet) Direction control using an input