Name Queue
Type Method
Summary Queues a command for sending at the "speed walk" rate.
Prototype long Queue(BSTR Message, boolean Echo);
Description Queues the supplied command for sending to the MUD at the designated "speed walk" rate. This is for sending commands slowly, because quick sending might be inappropriate.

If the speed walk delay (SpeedWalkDelay property) is zero, then using Queue is exactly the same as using Send.

If Echo is true then the commands are echoed to the output window (as they are sent, not as they are queued).

If the speed walk delay is not zero, then the supplied message is appended to the end of the command queue. The command is split up at line breaks (whenever a carriage-return/linefeed combination is found), and each line is sent, separated by a delay of SpeedWalkDelay milliseconds.

Periodically (every SpeedWalkDelay milliseconds) the command at the top of the command queue is retrieved and sent to the MUD, and echoed in the output window if required.
VBscript example
world.queue world.evaluatespeedwalk ("4n"), true
Jscript example
world.queue(world.evaluatespeedwalk("4n"), true);
PerlScript example
$world->queue($world->evaluatespeedwalk("4n"), true);
Returns eWorldClosed : The world is closed
eOK: Queued OK

See also ...