I'm writing scripts for a mud I play, in which I make pretty judicious use of the DoAfter and DoAfterSpecial temporary timer creators. My problem is that, when I want to disable certain features, those temporary timers aren't, of course, automatically destroyed, and DeleteTimer/TimerGroup and its ilk won't let me use "" to referenced ungrouped or unlabled objects.
Is there anyway the Doafter and its similar DoAfterSpecial sibling could be made to support optional parameters after the duration and text to provide a label and a groupname? I know I could use AddTimer in place of DoAfter, but Doafter's just so convenient for temporary delays. Alternatively, is there a way to disable and/or delete such objects as have no group name or label?
Is there anyway the Doafter and its similar DoAfterSpecial sibling could be made to support optional parameters after the duration and text to provide a label and a groupname? I know I could use AddTimer in place of DoAfter, but Doafter's just so convenient for temporary delays. Alternatively, is there a way to disable and/or delete such objects as have no group name or label?