wait %n:NUMBER% (tick|second|minute|hour|day)[s]wait for %n:NUMBER% (tick|second|minute|hour|day)[s]after %n:NUMBER% (tick|second|minute|hour|day)[s]in %n:NUMBER% (tick|second|minute|hour|day)[s]Scheduling1.0.0
Description
Schedules the enclosed block to run after a delay. Accepts ticks, seconds, minutes, hours, or days. Can be cancelled from within using the cancel statement. Can be used at the top level.
Allowed Contexts
Root LevelInside Block
Examples
wait 20 ticks:
broadcast "1 second later!"Analyzing pattern:
All Possible Usages (10)
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
wait <n> tickwait <n> secondwait <n> minutewait <n> hourwait <n> daywait <n> tick swait <n> second swait <n> minute swait <n> hour swait <n> day s