Shoutbox

get timer status - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: get timer status (/showthread.php?tid=90519)

get timer status by foaly on 05-05-2009 at 05:44 PM

Is there a way to get the elapsed time from a timer?
I couldn't find it in the documentation...


RE: get timer status by matty on 05-05-2009 at 07:23 PM

Nope. But you can code it yourself and add it to the timer :P


RE: get timer status by foaly on 05-05-2009 at 07:33 PM

quote:
Originally posted by matty
Nope. But you can code it yourself and add it to the timer :P
Just when I thought, maybe patch already did the work for me :(

RE: get timer status by MeEtc on 05-06-2009 at 03:40 PM

Just add a variable with the timestamp when the timer is added, and then compare to current time to get elapsed time