For updates, you should follow me on


Asking for user input


The command to ask for user input is input

The parameters are;

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;

 

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

 

 

 



Prev: Simulating pressing deck buttons  
Next: Selecting a value from a list



Privacy
© 2024 8up.uk