Pausing and saving timer

Posted by NeoFryBoy on Thu 03 Aug 2006 06:47 AM — 2 posts, 12,011 views.

USA #0
Is there a way to pause and save a timer in a plugin so that it remains after MUSH shutdown?

Suppose I could save seconds in another variable on plugin close, but just wondering if there's another option.
Australia Forum Administrator #1
No there is no easy way. I would use GetTimerInfo (13) - number of seconds until timer will fire next. Saving that into a variable on plugin close, would mean I could reconstruct that timer next time it loaded.