Sleep for Milliseconds

tools.sleep(ms)

Sleeps for the number of milliseconds. Limited to 2000ms (i.e. 2seconds).