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 ➜ Suggestions ➜ GetTimerInfo - New InfoType OR Fix GetTimerList

GetTimerInfo - New InfoType OR Fix GetTimerList

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


Posted by Magnum   Canada  (580 posts)  Bio
Date Thu 03 Jul 2003 07:44 PM (UTC)
Message
I've found an interesting quirk.

GetTimerList returns a list where all the timer names have been converted to lowercase.

It does not appear to (currently) be possible to fetch the original timer name, using GetTimer or GetTimerInfo.

When the timer completes, and calls a subroutine (if so configured), the name passed to that subroutine is still the original name, so I must assume MUSHclient stores it somewhere.

I would like to have access to the original name. I would like to suggest either GetTimerList return the original names, or a new InfoType for GetTimerInfo be created which will return the original name.

Thanks, Nick.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #1 on Thu 03 Jul 2003 09:25 PM (UTC)
Message
I also just checked 'GetTimerOption', and looked over 'SetTimerOption', where I discovered some errors in the online help.

http://www.gammon.com.au/scripts/function.php?name=SetTimerOption

...talks about triggers when it should be talking about timers.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #2 on Fri 04 Jul 2003 01:26 AM (UTC)
Message
I'm glad you found an error in the help. So few errors were found I thought either:


  • No-one was reading it; or
  • It was perfect


I wasn't sure which was less likely. :)

I'll look into doing a GetTimerInfo which returns the name.

- Nick Gammon

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

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #3 on Fri 04 Jul 2003 09:44 PM (UTC)
Message
I'm reading it, and so far it's perfect :P

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
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.


13,906 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.