
Originally Posted by
Erra
We seem to be having the same problem actually! @
parrode too
Yeah I pretty much gave up on modules until things are clearer... For now I'll just keep using multiple lua files. It works, it's reliable, and I can easily manually kill the scripts if I want.
Honestly I'm not even sure what's the advantage of using modules (other than not having to use multiple lua files)... I thought being able to start and stop modules on labels was a great advantage but it doesn't work.
Yes I know I could use labels like lua code:elseif (Label == "startRingSwitcher") then RingSwitch = true
elseif (Label == "stopRingSwitcher") then RingSwitch = false
and then put if RingSwitch then at the top of the module but I feel it's not clean enough. 
...Plus I'm not even able to make the anonymous function module format work at all lua code:--This format doesn't work (or I just have no idea where the hell to put it):
Module.New('Ring-Switcher', function()
--This format works... to some extend:
function RingSwitcher(module)