$while[condition]
Runs the lines below again and again, as long as the condition is true. End the block with $endwhile.
Values
condition- A comparison like $getVar[coins]>=100 using == != > < >= <=, or true or false.
Example
$let[coins;1]
$while[$get[coins]<10]
$let[coins;$multiply[$get[coins];2]]
$endwhile
You end up with $get[coins] coins.
You end up with 16 coins.