[Solved] Ask yes/no help

CheshireTiger
09 Jun 2021, 18:10I e tried following what it says i n the document, but im somehow getting it wrong...
Ask ("Are you sure you want to help this man with whatever strange science he has up his sleeve?") {
If (result)
msg ("Yes Test")
} else {
msg ("No Test")
}
Pertex
09 Jun 2021, 20:35Try this:
ask ("Are you sure you want to help this man with whatever strange science he has up his sleeve?") {
if (result){
msg ("Yes Test")
} else {
msg ("No Test")
}
Note lower case and brackets

CheshireTiger
09 Jun 2021, 21:25Ah, that capital I was ruining it. Thanks

DarkLizerd
09 Jun 2021, 21:47Sad that Quest is so case sensitive...
It make So muCh troubLe everyWhere!!!
mrangel
10 Jun 2021, 14:20The capital shouldn't matter; ask
is a built-in script command, and Ask
is a function, but either should work there. (Same difference as show menu
vs ShowMenu
)