Description of MUSHclient world function: world.SetCommand
Name | SetCommand |
---|---|
Type | Method |
Summary | Sends text to the command window |
Prototype | long SetCommand(BSTR Message);
|
Description | This lets you send text to the command window. It will only act if the command window is currently empty (to avoid wiping out something you are typing). |
VBscript example |
|
Jscript example |
|
PerlScript example |
|
Python example |
|
Lua example |
|
Returns | eCommandNotEmpty : Command area was not empty
|
See also ...
Function | Description |
---|---|
Note | Sends a note to the output window |
PasteCommand | Pastes text into the command window, replacing the current selection |
Send | Sends a message to the MUD |
SetCommandSelection | Selects specified columns in the command window |
Enter a word or phrase in the box below to narrow the list down to those that match.
The function name, prototype, summary, and description are searched.
Leave blank to show all functions.
Many functions return a "code" which indicates the success or otherwise of the function.
You can view a list of the return codes
The "prototype" part of each function description lists exactly how the function is called (what arguments, if any, to pass to it).
You can view a list of the data types used in function prototypes
Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.
Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.