Project

General

Profile

Actions

Added in 1.8.10

on <level>:KICK:<#|*>:<commands>

Triggers when a user is kicked from a channel.

See also /kick, $knick.

Haltable using ^

Parameters

<level> - The User Access Level for the event to trigger.
<#|*> - The Matchtarget to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

; Print a kick.
on *:KICK:*:echo -ag $knick was kicked from $chan by $nick with reason: $1-

; Replace kick message with a custom kick message.
on ^*:KICK:*:echo -trc kick # * $nick has kicked $knick from # $iif($1-, ( $+ $1- $+ ),) | halt

Updated by Per Amundsen over 3 years ago · 5 revisions

Also available in: PDF HTML TXT