A command that executes a series of contained commands for as long as its condition is met.
The following code snippet is executed for as long as the player confirms that they want to continue playing:
. while ifvar play, ifvalue true :
. confirm var play, message "PLAY AGAIN?"
--
Please note: This code is only ever executed if the $play variable is initially set to "true".
while
itself