Documentazione mIRC

on kick

on kick

Indice

The ON KICK event is triggered when the local mIRC client, or remote users, are kicked from a channel.

This event fills the $chan, $knick, and $nick identifiers.

IdentifierDescription
$chanChannel where the event took place
$knickThe kicked user’s name
$nickThe name of the person who kicked the user
Contents - 1 Synopsis - 2 Parameters - 3 Examples - 4 Compatibility - 5 See Also

Synopsis

ON <level>:KICK:<#[,#]>:<commands>

Parameters

****The level for the event to trigger.

**<#[,#]>**The channel, or channels, for the event to listen for. Can also be a wildcard”).

TargetDescription
#Channel where the event took place
[,#]Specific channel names

****The commands to be performed when the event listener’s criteria is met.

Examples

If local mIRC client is kicked, automatically rejoin the channel:

ON ME:*:KICK:#:join #

Send a notice to a kicked user with information about the kick:

ON *:KICK:#: {
  .notice $knick You were kicked from $chan by $nick for the following reason: $iif($1-,$1-,No reason given)
}

The following is an example of the above code:

You were kicked from #BreakingBad by WalterWhite for the following reason: Stop mass-highlighting!

Compatibility

Created: mIRC v2.1a

Created On: 28/02/95

See Also

mIRC on event list

A on Action, on Active, on Agent”), on Appactive B on Ban C on Chat, on Chatclose”), on Chatopen”), on Close, on Connect, on Connectfail, on Ctcpreply D on Dccserver, on Dehelp, on Deop, on Deowner, on Devoice, on Dialog, on Disconnect, on Dns E on Error, on Exit F on Filercvd, on Filesent G on GetfailH on Help, on Hotlink I on Input, on Invite J on Join K on Keydown, on Keyup, on Kick L on Load, on Logon M on Me”), on Midiend, on Mode, on Mp3end N on Nick, on Nosound, on Notice, on Notify O on Op, on Open, on Owner P on Part, on Ping, on Playend, on PongQ on Queryclose”), on Queryopen”), on Quit R on Rawmode S on Sendfail, on Serv, on Servclose”), on Servermode, on Serverop, on Servopen”), on Signal”), on Snotice, on Sockclose”), on Socklisten, on Sockopen, on Sockread, on Sockwrite, on Start T on Text, on Topic U on Udpread, on Udpwrite, on Unban, on Unload, on Unotify, on UsermodeV on Vcmd, on Voice W on Wallops, on Waveend