SelectCommand
Script function

world.SelectCommand

DOC_scripting Read about scripting

Type

Method

Summary

Selects (highlights) the current command in the command window

Prototype

void SelectCommand();

DOC_data_types View list of 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 ...

Functions

FNC_GetCommand GetCommand (Gets the current command in the command window)
FNC_GetCommandList GetCommandList (Returns some or all commands from the command history)
FNC_PushCommand PushCommand (Pushes the current command into the command history list)
FNC_SetCommand SetCommand (Sends text to the command window)

(Help topic: function=SelectCommand)

DOC_contents Documentation contents page