Its easy. Its just like writing triggers and such.
Only you have a different script "space", think of it as just a different environment. It cant talk directly with the script space for your main world, or any other plugin.
And that callback, just make it a subroutine in your plugin file.
Its the exact same stuff youve been doing with triggers/et al for the world file. Only you have to edit it in a text editor (or the plugin wizard).
Search the forums (browse the plugin forum) there are some nice simple examples that you can use to build on (like having to use <[CDATA] to enclose your script stuffs.
Right, I lost track of this a bit. I've looked at a few plugins since the last post on this thread - don't manage to get it to work.
Is there some tutorial on how to write plugins?
I assume what you suggested is writing a plugin that calls on the timer and resets it. What I don't understand is, how does the plugin know when to do the call at the timer?