Wait
wait pauses the script.
Parameters
Section titled “Parameters”| Parameter | Meaning |
|---|---|
time |
How long. A time is a number of ticks of 50 ms (20 is one second), or a whole number of seconds followed by |
s (5s). |
|
random |
Optional. Up to this much longer, a different random amount each time. Same units. |
For pauses in milliseconds, or shorter than one tick, use sleep. Pressing Stop ends
a wait at once.
Examples
Section titled “Examples”wait 20 ; 1 secondwait 5s ; 5 secondswait 2s 1s ; between 2 and 3 secondshaltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.