Name GetAlphaOptionList
Type Method
Summary Gets the list of world alphanumeric options
Prototype VARIANT GetAlphaOptionList();
Description Returns a variant array which is a list of all options that you can get with GetAlphaOption or set with SetAlphaOption.

The examples show extracting all option names, and their values.

The option names should be reasonably self-explanatory.

Note: Available in MUSHclient version 3.22 onwards.
VBscript example
For Each opt In world.GetAlphaOptionList
   world.note opt + " = " + cstr (world.GetAlphaOption ( opt ))
Next
Jscript example
optionlist = new VBArray(world.GetAlphaOptionList()).toArray();

for (i = 0; i < optionlist .length; i++)
  world.note(optionlist [i] + " = " + world.GetAlphaOption (optionlist [i] ));
PerlScript example
foreach $item (Win32::OLE::in ($world->GetAlphaOptionList))
  {
  $world->note($item . " = " . $world->GetAlphaOption($item));
  }
Returns It returns a variant array containing the names of all the options. Use "ubound" to find the number of options in the list. You can then use "GetAlphaOption" to return the value for that particular option, or "SetAlphaOption" to set that option value.

See also ...