menu

Definition

This is a method to present the user with a list of choices. For each <menu>, there can be one or several branches.

Value

The menu tag requires at least one <play> tag and one <keypress> tag.

Attributes

Attribute Required Values Description
name N any text A unique name for the tag
timeout N numerical value A timeout in seconds or miliseconds (over 1,000 is considered milliseconds) for the menu
maxDigits N numerical value A maximum number of digits for user input

Examples

In the example below, the user is prompted with file 332122, and catches user input if the user presses 1 3 4-6 or anything else (default).


    332122
    
        
            5555552222
        
    
    
        
            5555553232
        
    
    
        
            5555553232
        
    
    
        332192