mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-06 00:38:59 +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.
|
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
|
- `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:
|
Example:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"type": "promptMessage",
|
"type": "promptMessage",
|
||||||
"message": "Are you sure you want to do this?"
|
"message": "Are you sure you want to do this?"
|
||||||
|
"count": 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
Reference in New Issue
Block a user