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

m
m
Line 1: Line 1:
 
{{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.
 
{{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 ==

Revision as of 16:14, 21 September 2017

$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

$newnick

Parameters

None

Example

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

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


[Expand]
v · d · e mIRC identifier list