Name DoAfterNote
Type Method
Summary Adds a one-shot, temporary note timer - simplified interface
Prototype long DoAfterNote(long Seconds, BSTR NoteText);
Description This routine adds an unlabelled, temporary, one-shot note timer, set to go off after the designated number of seconds. The first argument (seconds) must evaluate to a time between 1 second, and 23 hours 59 minutes 59 seconds (that is, 1 to 86,399).

When the time elapses the text will be "noted" - that is, displayed in the output window, not sent to the MUD.

You can also use DoAfter if you do not wish to send to the world.

The purpose of this is simplify the frequent case of simply wanting to do something in a few seconds, rather than using AddTimer.

Note: Available in MUSHclient version 3.18 onwards.
VBscript example
world.DoAfterNote 60, "Spell has worn off!"
Jscript example
world.DoAfterNote (60, "Spell has worn off!");
PerlScript example
$world->DoAfterNote (60, "Spell has worn off!");
Returns eTimeInvalid: The time is invalid (seconds not in range 1 to 86,399).
eOK: added OK

See also ...