From WikiChip
$knick Identifier - mIRC
< mirc‎ | identifiers

The $knick identifier refers to the nickname of a user who has been kicked from a channel. This can also be the local mIRC client nickname if an ON ME kick event is being monitored.


Synopsis[edit]

$knick

Parameters[edit]

None

Example[edit]

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[edit]

Added: mIRC v2.1a
Added on: 28 Feb 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See also[edit]

[Expand]
v · d · e mIRC identifier list