$onBanAdd

Triggered when a user gets banned from the server.
$onBanAdd[channelID] is a callback, which means it's used in the command trigger (not the code). The command is ran when a user is banned from the server. You must replace 'channelID' with a valid channel ID or a server variable that holds the channelID ($getServerVar[]).

Example

#1: Make a command with $onBanAdd[channelID] as the trigger.

🧙‍♂️ You must replace 'channelID' with a valid channel ID!

example1

#2: Input your code/reply text.
example2

#3: Now you have a ban message! ✨
example3