Syntax
sleep(integer)
Description
The sleep() function pauses execution for the stated amount of milliseconds. I.e 1000 milliseconds will be 1 second
Example
println("Sleep start" sleep(5000) // Wait 5 seconds println("Sleep Over....") Sleep Start ... 5 seconds pause ... Sleep Over