⇤ ← Revision 1 as of 2012-09-05 13:31:27
Size: 1221
Comment:
|
Size: 1221
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 8: | Line 8: |
sleep 30 //Sleeps the script for 30 seconds sleep 2:45 //Sleeps the script for 2 minutes 45 seconds sleep 7:25:00 //Sleeps the script for 7 hours, 25 minutes and 0 seconds |
//Sleeps the script for 30 seconds sleep 30 //Sleeps the script for 2 minutes 45 seconds sleep 2:45 //Sleeps the script for 7 hours, 25 minutes and 0 seconds sleep 7:25:00 |
Usage: |
sleep seconds |
Example: |
sleep 15 |
The sleep command will cause the bot to pause for the indicated time, which can be expressed as seconds only (i.e. 34, 240, 23432), minutes and seconds (i.e. 4:30) or hours, minutes, seconds (2:44:34).
//Sleeps the script for 30 seconds sleep 30 //Sleeps the script for 2 minutes 45 seconds sleep 2:45 //Sleeps the script for 7 hours, 25 minutes and 0 seconds sleep 7:25:00