Delay (Effect) — Skript
Addon: Skript · Category: Effect · Since: 1.4
Syntax
(wait|halt) [for] %timespan%Description
Delays the script's execution by a given timespan. Please note that delays are not persistent, e.g. trying to create a tempban script with <code>ban player → wait 7 days → unban player</code> will not work if you restart your server anytime within these 7 days. You also have to be careful even when using small delays!
NOTE: Using sleep/pause will completely pause the thread this effect is run on. It's intended for pausing on another thread.
Examples
wait 2 minutes
halt for 5 minecraft hours
wait a tick
sleep for 2 ticks # completely pauses the thread this effect is on for 2 ticks