| Name | GetVariable |
|---|---|
| Type | Method |
| Summary | Gets the contents of a variable |
| Prototype | VARIANT GetVariable(BSTR VariableName); |
| Description | Gets
the contents of the named variable. If the named variable does not exist,
EMPTY is returned. If the name given is invalid, NULL is returned. (Use \"IsEmpty\"
and \"IsNull\" to test for these possibilities). If GetVariable is called from within a plugin, the variables for the current plugin are used, not the \"global\" MUSHclient variables. If you want to find the value of a variable in another plugin, or the global MUSHclient variables, use \"GetPluginVariable\". |
| VBscript example | |
| Jscript example | |
| PerlScript example | |
| Returns | The contents of the specified variable. |
See also ...