-
Notifications
You must be signed in to change notification settings - Fork 32
promptMessage
Pk11 edited this page Jan 22, 2023
·
7 revisions
The promptMessage
function has 1 required parameter and one optional. The alternate type name promptMsg
also works. It will show the message and prompt the user to answer yes or no, if they answer no then the script skip the next count
functions.
-
message
-> The message to show in a yes / no prompt -
[optional]
count
-> The amount of functions to skip if no is answered, if left out the script will end
Example:
{
"type": "promptMessage",
"message": "Are you sure you want to do this?",
"count": 1
}
Need help? Join our Discord server or create a discussion.