Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ /world.enabletimer

/world.enabletimer

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Essidus   (16 posts)  Bio
Date Mon 16 May 2005 10:48 PM (UTC)
Message
My problem is quite simple. I do some minor scripting with vb on triggers and such, but when I make a call to enable a timer (world.enabletimer "timername", true), it fires the timer immediatly. Is there any way to fix this? I have tried an offset, but that didn't work.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Tue 17 May 2005 12:02 AM (UTC)
Message
You'll need to reset the timer too (ResetTimer "timername").

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Essidus   (16 posts)  Bio
Date Reply #2 on Tue 17 May 2005 01:13 AM (UTC)
Message
I tried that, but it didn't seem to stop the timer from firing imediatly when my alias enabled it.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #3 on Tue 17 May 2005 06:23 AM (UTC)
Message
Can you paste your alias (and the timer) here (paste button to copy the whole thing, not the individual fields)?

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by tobiassjosten   Sweden  (79 posts)  Bio
Date Reply #4 on Tue 17 May 2005 09:13 PM (UTC)
Message
Try resetting the timer just after you enable it, doesn't seem to work the other way around.

Simplicity is Divine | http://nogfx.org/
Top

Posted by Nick Gammon   Australia  (23,140 posts)  Bio   Forum Administrator
Date Reply #5 on Wed 18 May 2005 06:45 PM (UTC)
Message
Resetting timers is skipped for disabled ones. Thus you must enable it first. Also I have been notified of a problem with timers which fire "at" a time being wrong by hours.

This turns out to be a problem introduced with the sub-second interval timers a few versions back. Timers are currently firing "at" a time which is UTC time, not local time. This will be fixed in version 3.67.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,937 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.