(Official) LUA Scripting Documentation
menu
Display a menu (list of items) and wait for user input (item selection).
Spec:
menu(
string heading,
object[] args)
Parameters
heading
: Header Textargs
: A list of menu items
Returns
long
: The number of the selected menu item. Zero = no selection (escape), 1 = Heading, 2 = first Item.
Incomplete
This documentation is incomplete