userInput: Wrap frequently used code to handle user input
Description
Wrap frequently used code to handle user input
Usage
userInput(question, choices, tag, hash)
Arguments
- question
The question to be asked
- choices
The accepted inputs. Leave empty for any input
- tag
the tag code (for comments only)
- hash
A string to attach to the decision in the UD. Ignored if input already has a hash string