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

m (typo)
m (Bot: Automated text replacement (-Added On:.+\n?\n?\n?\n?\n? +))
Line 21: Line 21:
 
== Compatibility ==
 
== Compatibility ==
 
Added: mIRC v2.1a
 
Added: mIRC v2.1a
 
Added On: 28/02/95
 
  
 
== See Also ==
 
== See Also ==

Revision as of 23:57, 5 July 2014

The $newnick identifier is filled when the 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.

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

See Also