- -1
Why error ?
-
Similar Content
-
- 31 answers
- 14,951 views
-
- 1 answer
- 492 views
-
- 4 answers
- 1,988 views
-
Script error
By EggyWee,
- 4 answers
- 692 views
-
Octopus error
By malekpw,
- 1 reply
- 463 views
-
By EggyWee,
By malekpw,
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
ENDUNDER
function promptuser()
local answer = gg.prompt("do you want to proceed?", "yes")
if answer == "yes" then
gg.alert("proceeding...")
else if answer == "no" then
gg.alert("aborting...")
gg.skipcurrentscript() -- exit the current script
else
gg.alert("please enter 'yes' or 'no'")
promptuser()
end
end
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now