Custom Command
FunctionsUseful Functions

$wait

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

Usage:

$wait[time]

Example:


!!exec $sendMessage[This part gets executed before the 10s]


$wait[10s]


$sendMessage[This part after the 10s]

This part gets executed before the 10s

This part after the 10s

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 built-in cooldown. Why? Read more about cooldowns here.

  • Cooldown: 600 μs
  • Tracked By: Server
  • Type: awaits

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

On this page