SLEEPS
Set regular pause.
[Regular PAUSE] = ms + sec * 1000 + min * 1000 * 60 + hours * 1000 * 60 * 60.
Syntax
sleeps [ ms [ sec [ min [hours] ] ] ]
Parameters
[ ms [ sec [ min [hours] ] ] ]
- Decimals sets milliseconds, seconds, minutes and hours. Examples:
- sleep 500 ; Pause for 500 ms
- sleep 30 100 ; Pause for 100 s and 30 ms
- sleep 0 0 20 1 ; Pause for 1 hour and 20 minutes
- wait 0 0 10 8 ; Wait while system time less or equal to 8 hours and 10 minutes. At 08:10 AM next command will be performed.
Example 0x00
10
sleeps 100 ; Set sleeps = 100 ms
rol 12
sleeps 400 ; Set sleeps = 400 ms
rol 12
sleeps 0 1 ; Set sleeps = 0 ms + 1 s
rol 12
cmd restart ; Restart script