Executes a set of commands based on the match of the value of a variable with different cases and a default.
Attributes:
- var: The variable to compare all cases to
Example:
<switch var="x" >
<case value="1" >
<pause seconds="1" />
</case>
<case value="2" >
<pause seconds="2" />
</case>
<case value="3" >
<pause seconds="3" />
</case>
<default>
<pause seconds="10" />
</default>
</switch>