-
Notifications
You must be signed in to change notification settings - Fork 113
Menu Orion Assistant
Command format:
ReturnType NameSpace.name(requiredParameters, [optionalParameters=defaultValue]);
-
ReturnType - the return value of the function (void - the function returns nothing);
-
NameSpace - the scope of the function;
-
name - the name of the function;
-
requiredParameters - required parameters;
-
optionalParameters - optional parameters, the default value is indicated after the = sign
Display information about the content of the last menu in the journal that came from the server.
(Introduced in OA 2.0.8.0) index - gump index, -1 or lastmenu will display information about last gump ( if it was there ).
Waiting for the menu with the title 'prompt' to select object 'choice'.
(Introduced in OA 2.0.8.0) Choice can be numeric, it will chose a choice according to its index. You can also use 'random' - to get a random one.
Cancel the menu waiting.
Information about the number of open menus.
Result: the amount of open menus.
Get the menu object by name/index.
Result: the object of type MenuObject or null if the menu with the specified name or index does not exist.
Make a choice in the client's open menu - 'name' of the item that named itemName.
Close the open menu 'name' in the client.
Awaits ( blocks execution ) for a menu for a given 'delay' of time in ms.
Returns true is a menu was received during the given delay.