$wait

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

Usage:

$wait[time]

Example:


Member02/03/2022
!!exec $sendMessage[This part gets executed before the 10s]
$wait[10s]
$sendMessage[This part after the 10s]
Custom Command Bot 02/03/2022
This part gets executed before the 10s
Custom Command Bot 02/03/2022
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
1
2

It would get sent after 10s

Function Difficultly: Easy
Tags: timeout Wait Thinking