From WikiChip
Difference between revisions of "mirc/identifiers/$newnick"
< mirc‎ | identifiers

m (Bot: Fixing compatibility)
m (Compatibility: This was added in 3.2)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
The '''$newnick''' identifier is filled when the [[On nick - mIRC|ON NICK]] event is triggered on a channel. This event triggers when either a remote user changes their nickname on a channel, or the local mIRC client has changed its nickname.
+
{{mirc title|$newnick identifier}}'''$newnick''' is filled when the {{mIRC|on nick}} event is triggered on a channel when either a remote user changes their nickname on a channel, or the local mIRC client has changed its nickname.
 +
 
  
 
== Synopsis ==
 
== Synopsis ==
Line 20: Line 21:
  
 
== Compatibility ==
 
== Compatibility ==
{{mIRC compatibility|2.1a}}
+
{{mIRC compatibility|3.2}}
  
 
== See Also ==
 
== See Also ==
* [[On join - mIRC|ON JOIN]]
+
* {{mIRC|on join}}
* [[On mode - mIRC|ON MODE]]
+
* {{mIRC|on mode}}
* [[On part - mIRC|ON PART]]
+
* {{mIRC|on part}}
 +
 
 +
{{mIRC identifier list}}
  
[[Category:mIRC identifiers]]
+
[[Category:mIRC identifiers|newnick]]

Latest revision as of 09:48, 30 January 2024

$newnick is filled when the on nick event is triggered on a channel when either a remote user changes their nickname on a channel, or the local mIRC client has changed its nickname.


Synopsis[edit]

$newnick

Parameters[edit]

None

Example[edit]

Echo to the channel when the local nickname is changed, and halt mIRC's default message:

ON ME:^*:NICK: {
  echo $chan You are now ==> $newnick
 
  ; Halt the default mIRC message
  haltdef
}

The example above should have an output resembling the following:

You are now ==> whoMe

Compatibility[edit]

Added: mIRC v3.2
Added on: 02 May 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