Name DoAfterSpeedWalk
Type Method
Summary Adds a one-shot, temporary speedwalk timer - simplified interface
Prototype long DoAfterSpeedWalk(long Seconds, BSTR SendText)
Description This routine adds an unlabelled, temporary, one-shot speedwalk 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).

You can also use DoAfter if you do not wish to speed walk, or DoAfterNote if you want to send a note to the output window.

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.DoAfterSpeedWalk 10, "5e 4s w"
Jscript example
world.DoAfterSpeedWalk (10, "5e 4s w");
PerlScript example
$world->DoAfterSpeedWalk (10, "5e 4s w");
Returns eTimeInvalid: The time is invalid (seconds not in range 1 to 86,399).
eOK: added OK

See also ...