User Login
Name
Password
Site Contents
News
About
Download
Scripts
Tutorials
Register
Support
FAQ
Script Reference
New User


Contact Me
Xide
Online Scripting Reference

openMenu

Purpose
Activates an existing script menu or TWX Terminal Menu option.

Syntax
openMenu {name}

{name}: The name of an existing menu to activate.



Notes
This command will activate (or open) a script or TWX Terminal Menu option.

Menus can be created with the 'addMenu' command, and closed using the 'closeMenu' command.

Example
addMenu "" "BuyDown" "BuyDown Settings" "." "" "Main" FALSE
addMenu "BuyDown" "GO" "GO!" "G" :Menu_Go "" TRUE
addMenu "BuyDown" "Product" "Product" "P" :Menu_Product "" FALSE
addMenu "BuyDown" "TurnLimit" "Turn limit" "T" :Menu_TurnLimit "" FALSE
addMenu "BuyDown" "Quantity" "Quantity" "U" :Menu_Quantity "" FALSE
addMenu "BuyDown" "Haggle" "Haggling" "H" :Menu_HaggleFactor "" FALSE

gosub :sub_SetMenu

openMenu "BuyDown"



Return to item listing