From WikiChip
Difference between revisions of "mirc/identifiers/$knick"
m (Bot: Adding a template (template:mIRC identifier list)) |
m |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | 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 - mIRC|ON ME]] kick event is being monitored. | + | {{mirc title|$knick Identifier}}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 - mIRC|ON ME]] kick event is being monitored. |
+ | |||
== Synopsis == | == Synopsis == | ||
Line 18: | Line 19: | ||
== Compatibility == | == Compatibility == | ||
− | + | {{mIRC compatibility|2.1a}} | |
− | |||
− | |||
− | == See | + | == See also == |
* [[On ban - mIRC|ON BAN]] | * [[On ban - mIRC|ON BAN]] | ||
* [[On join - mIRC|ON JOIN]] | * [[On join - mIRC|ON JOIN]] | ||
* [[On part - mIRC|ON PART]] | * [[On part - mIRC|ON PART]] | ||
* [[On unban - mIRC|ON UNBAN]] | * [[On unban - mIRC|ON UNBAN]] | ||
− | * | + | * {{mIRC|$chan}} |
− | * | + | * {{mIRC|$nick}} |
{{mIRC identifier list}} | {{mIRC identifier list}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|knick]] |
Latest revision as of 16:09, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
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]
mIRC identifier list