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

(See Also)
Line 2: Line 2:
  
 
'''Note''': $nvnick always returns nickname which have a status below voice, excluding the non standard +qa mode/status, it means that if a nickname is only +q, $nvnick() can return that nickname, otherwise $nvnick can only return regular nicknames.
 
'''Note''': $nvnick always returns nickname which have a status below voice, excluding the non standard +qa mode/status, it means that if a nickname is only +q, $nvnick() can return that nickname, otherwise $nvnick can only return regular nicknames.
 +
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 16:41, 5 January 2018

Note: This feature has essentially been replaced by $nick(). $nvnick returns the Nth nickname that is not an voice on the channel.

Note: $nvnick always returns nickname which have a status below voice, excluding the non standard +qa mode/status, it means that if a nickname is only +q, $nvnick() can return that nickname, otherwise $nvnick can only return regular nicknames.


Synopsis

$nvnick(#channel,N/nick)

Parameters

  • #channel - The channel you want to check for non-voice nickname
  • N/nick - The Nth non-voice nick on the channel, or if you pass a nickname, it returns the number N, where $nvnick(#,N) return the nickname.

Note: With a third and fourth parameter, i.e. $nvnick(#,N/nick,aohvr,aohvr), this identifier behaves exactly the same as $nick(#,N/nick,aohvr,aohvr)

Properties

None

Example

//echo -a $nvnick($chan,1)

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

$nick $opnick() $hnick() $nhnick $vnick() $nopnick