Updated promptMessage (markdown)

Pk11
2020-11-01 15:37:15 -06:00
parent aef735eca8
commit 477ec488ad
+2
@@ -1,11 +1,13 @@
The `promptMessage` function has 1 parameter. It will show the message and prompt the user to answer yes or no, if they answer no then the script will stop and the rest will not be run.
- `message` -> The message to show in a yes / no prompt
- `count` -> The amount of functions to skip if no is answered, if left out the script will end
Example:
```json
{
"type": "promptMessage",
"message": "Are you sure you want to do this?"
"count": 1
}
```