world.SelectCommand

MUSHclient script function (Method) — introduced in version 3.18

Selects (highlights) the current command in the command window

Prototype

void SelectCommand();

Data type meanings

Description

Selects the command in the command window.

The intention here is to be used by scripts that place text in the command window. By selecting it, the player can discard the selected command by simply starting to type.

If more than one window is open for this world, it uses the first window in the window list.

VBscript example

world.SelectCommand

Jscript example

world.SelectCommand ();

PerlScript example

$world->SelectCommand ();

Python example

world.SelectCommand

Lua example

SelectCommand ()

Return value

Nothing.

See also

FunctionDescription
GetCommandGets the current command in the command window
GetCommandListReturns some or all commands from the command history
PushCommandPushes the current command into the command history list
SetCommandSends text to the command window