WHILE

commands

Also known as: DONE · %NEXT% · NEXT · LOOPS · TRIG-LOOPS · TRIG-WHILE · TRIG-DONE · FOR-LOOP · COUNT

Usage: while expression The while command starts a loop, running until the expression becomes zero, negative, or a break is used. The while loop must be terminated by a done. While loops are disabled after looping 100 times. Room example: TSTAT 24, 2201, 18 Obj example: TSTAT 23 Mob example: TSTAT 11858