OK so this is a bit bizarre my new game contains its own scripting language – its too hard to explain so have a look if you are keen domssite.com/roguecoder
In terms of a code snippett here’s a useful snippett to turn a light out on level 1
--Sample switch light off; connect light 123; execute light off;