The command to ask for user input is input
The parameters are;
- <input name>=<input type>
- <input name>=<input type>
- <input name>=<input type>
- ...........
- ...........
- ...........
Each input name should be lowercase, begin with a letter and contain letters, numbers and the underscore character.
Each input type is either "text" or "number"
Examples;
- countdown=number
- player1=text
- player2=text
- score1=number
After values have been entered, they are stored with the deck (and backups). Each value can be used when programming deck buttons by prefixing its name with '$'. The example below asks for a value 'countdown'. The value $countdown is then used to initialise a timer and button 22 is triggered when the countdown is complete.
Get start value for timer input countdown=number
Create the timer countdown source=Timer val=$countdown trigger=22 |