- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
I'm new to coding and I am creating a command where I would like to prompt the user for a few variables at the start of the command. I would like the command not to just throw an error message and stop if an invalid response is given to one of the prompts. Ideally, the prompt would simply be displayed again with a message like: "YOUR RESPONSE WAS INVALID, PLEASE TRY AGAIN."
Does anyone know how to do this? Or what it's called in coding so I can learn about it? I really just don't know where to look. Thanks for any help.
Solved! Go to Solution.
Link copied