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
➜ Timers
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Mordikar
(5 posts) Bio
|
| Date
| Sat 14 Feb 2004 03:56 AM (UTC) |
| Message
| Wow, it seems not many people have asked this :P
How could I use a MUSH timer [Weither it be a MUSH timer, or some thing that uses Perl]
to record the time that the program has been running, and then send that to the world?
^.^ Thanks for the help. | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Sat 14 Feb 2004 04:26 AM (UTC) |
| Message
| I don't think there is currently a time the program itself has been running, however the time the current connection to the current world started is available. You could just do this:
Send: world.send "say " & world.getinfo (301)
Send to : script
See: http://www.gammon.com.au/scripts/doc.php?function=GetInfo |
- 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.
12,344 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top