WAIT

WAIT(<time>)

Type: Action

Category: Control Flow

Permission: N/A

Since Minecraft Version: v1.8.1 beta

Since Version: v0.5

Minor: 5

API: N/A

Patch: N/A


Description

Pauses the script for the time (in seconds) specified, suffix ms for a wait in milliseconds or t to wait in ticks.

It is not possible to wait less than the duration of a tick (~50ms), because the mod checks each tick if it should continue.

Example
// Each wait one second
WAIT(20t)
WAIT(1)
WAIT(1000ms)

Changelog
  • Added em v0.5:
  • Updated em v0.9.4: wait time can be now be specified in ticks by appending `t` to the value