world.GetAlphaOption
Gets the value of an alphanumeric configuration option
Prototype
VARIANT GetAlphaOption(BSTR OptionName);
Description
Gets the value of an alphanumeric world option (text option), such as player name, MUD name etc.
You can use GetAlphaOptionList to get a list of the names of all possible options.
VBscript example
world.note world.getalphaoption ("player")
Jscript example
/world.note(world.getalphaoption ("player"));
PerlScript example
/$world->note ($world->getalphaoption ("player"));
Python example
world.note(world.getalphaoption ("player"))
Lua example
Note (GetAlphaOption("player"))
Return value
The value of the requested option, or an "empty" variant if the option does not exist.
Related topic
See also
| Function | Description |
|---|---|
| GetAlphaOptionList | Gets the list of world alphanumeric options |
| GetInfo | Gets information about the current world |
| GetOption | Gets value of a named world option |
| GetOptionList | Gets the list of world options |
| SetAlphaOption | Sets value of a named world alphanumeric option |
| SetOption | Sets value of a named world option |