$wait

Will wait an X time, before executing the code below it.

Usage:

$wait[time]

Example:


Member07/28/2026
!!exec $sendMessage[This part gets executed before the 10s]
$wait[10s]
$sendMessage[This part after the 10s]
Custom Command Bot 07/28/2026
This part gets executed before the 10s
Custom Command Bot 07/28/2026
This part after the 10s

TIP

If you want to wait more then 1m, we suggest you use $setTimeout

Function difficulty Easy
Tags: timeout Wait Thinking

⏱️ Function Cooldown

This function has a built-in cooldown to help prevent excessive usage.

PropertyValue
⏱️ Duration600 μs
🆔 Tracked ByServer
🌐 ScopeAwaits

Functions with the same Scope share cooldowns based on the same Tracked By value.

💎 Tier 3+ servers bypass this cooldown. See Premium Perksopen in new window.