Tv Request

From TVPaintWiki
Jump to: navigation, search

<<<George<<<Command Reference<<<<George Commands Interface


  tv_Request message|yes|no

Opens a window containing a message and two selection buttons. The arguments use the form: "message|yes|no". This string must be surrounded by double quotes. Each argument is separated from the next argument by the "|" (pipe) character. These arguments may contain spaces. The message argument is the message that appears in the window. The yes argument is the text marked in the Yes button (the button at the left in the window). This button usually signals that the user agrees with what is being suggested to him. If this argument is missing, this button will be marked "Yes". The no argument is the text marked in the No button (the button at the right in the window). This button usually signals that the user does not agree with what is being suggested to him. If this argument is missing, this button will be marked "No". This command returns the value 1 if the user clicked on the Yes button, or 0 if he clicked on the No button.