WAIT
The number of seconds to pause script processing. Processing will resume at the next command after the specified number of seconds has elapsed. The accuracy of this command is 1/1000 of a second.
Usage: wait 5
or
wait ‘‘4’‘
or
wait ‘‘4.5’‘
or
wait 5.2
The while command is used at the end of a ‘do…while’ loop. If the specified condition is false, the script will break out of the loop, else it will execute the set of statements inside the loop again. For details on the usage see ‘DO. . . WHILE’ command