GetTimerInfo - New InfoType OR Fix GetTimerList

Posted by Magnum on Thu 03 Jul 2003 07:44 PM — 4 posts, 18,380 views.

Canada #0
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.
Canada #1
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.
Australia Forum Administrator #2
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.
Greece #3
I'm reading it, and so far it's perfect :P