Show_question - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC {{-}}

Notation

Description

Displays a dialog box with the given question, with a "yes" and a "no" button.

Parameters

  • str: The question to be displayed in the dialog box.

Return Values

Returns true if the user selects "Yes", and false if the user selects "No".

Example Call

if(show_question("Do you like ENIGMA?")) {
  show_message("ENIGMA likes you too.");
} else {
  show_message("ENIGMA hates you too.");
}