Skip to main content

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

AttributeRequiredValuesDescription
nameNany textA unique name for the tag
timeoutNnumerical valueA timeout in seconds or miliseconds (over 1,000 is considered milliseconds) for the menu
maxDigitsNnumerical valueA 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