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
➜ Suggestions
➜ Variable timer option?
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| WizardsEye
(24 posts) Bio
|
| Date
| Wed 18 Feb 2009 12:37 PM (UTC) |
| Message
| | I know this may sound like an odd request, but is there a way to put some variance in the timer? Like every 10 minutes grunts and rolls over in his bunk, then the next time it happens is 13 minutes then the next time 8 min? The original timer would be set for 10 min. but it has some variance to it. | | Top |
|
| Posted by
| Worstje
Netherlands (899 posts) Bio
|
| Date
| Reply #1 on Wed 18 Feb 2009 01:16 PM (UTC) |
| Message
| This can easily be scripted by placing something akin to the following in your timers script.
SetTimerOption("mytimername", "minute", new_time_in_minutes)
Or to be more precise:
SetTimerOption("mytimername", "minute", math.random(8, 13))
These bits of code assume Lua scripting. | | 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.
11,559 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top