Skip to main content

Definition

One branch of a <menu> tag defining a user input.

Value

Determines the result for a user key input. A <menu> tag requires at least one <keypress> tag. The contents of a <keypress> tag are more nodes to execute.

Attributes

AttributeRequiredValuesDescription
nameNany textA unique name for the tag
pressedYany valid number, "Default"A numerical value or "Default" or "Timeout".

Examples

xml
<keypress pressed="1">
<stash varname="stash1">1</stash>
</keypress>
<keypress pressed="Default">
<play type="callfireid">12345</play>
<goto>Menu1</goto>
</keypress>