Yes/No questions

Hi I always forget how this works... How do you make these again? I know I could do a switch script and pick a choice from yes or no but I thought there may be a simpler way? Idk, right now I'm making a lot of switch scripts and they take a while so if there's a quicker way, will someone please tell me?


Ask ("Do you like pie?") {
  if (result) {
    // code for 'yes' goes here
  }
  else {
    // code for 'no' goes here
  }
}

Log in to post a reply.

Support

Forums