$wait

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

Usage:

$wait[time]

Example:


Member04/02/2024
!!exec $sendMessage[This part gets executed before the 10s]
$wait[10s]
$sendMessage[This part after the 10s]
Custom Command Bot 04/02/2024
This part gets executed before the 10s
Custom Command Bot 04/02/2024
This part after the 10s

TIP

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

Why do i need sendMessage?

Read this how parsing works The Output without $sendmessage would be:

This part gets executed before the 10s
This part after the 10s

It would get sent after 10s

Function difficulty Easy
Tags: timeout Wait Thinking