Keith,
hmm...print(), where is the output be sended...and correct you dont have nimbus.alarm() in pre-pro. I did it now with event.message :-) and found the error.
It is quite difficult if someone like me, who is an old python-coder (which relies on indenting for iteration and if-then-Stuff ), to work with lua, I simply forgot an end after a for-iteration and "for i,v in ipairs(foo) do" without an end seems to be a valid statement, quite anoying :-(. Sometimes lua remembers a lot like perl in case of readbillity and how to "shortcut", I could start a contest for the best unreadable code :-)
Thanks a lot
Matthias