mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Updated promptMessage (markdown)
@@ -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
|
||||
}
|
||||
```
|
||||
Reference in New Issue
Block a user