Custom Command
FunctionsUseful Functions

$editTrigger

Edit a command information like name or type

Editable types: name, runonlyin, ignorerole, type, trigger, channelused, minperms, time, status, folder

Usage

$editTrigger[InfoType;New value;Token (optional)]

Example:

$editTrigger[name;Edited Name]

Change Timed Trigger Time

you change the trigger time, with time as type, and value to be the timestamp (in ms) of the next trigger time, make sure it's a time in future

Example (Set the time to trigger after 10s)

$editTrigger[time;$math[$timestamp+10000];$token]

Function Cooldown

This function has built-in cooldown. Why? Read more about cooldowns here.

  • Cooldown: 5 seconds
  • Tracked By: Server
  • Type: Server

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

Warning

This cooldown cannot be bypassed by Tier 3+ bots.

On this page