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

(See Also)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{mirc title|$nvnick Identifier}}{{Deprecated feature|new={{mIRC|$nick|$nick()}}}} '''$nvnick''' returns the Nth nickname that is not an voice on the channel.
+
{{mirc title|$nvnick Identifier}}{{Deprecated feature|new={{mIRC|$nick|$nick()}}}} '''$nvnick''' returns the Nth nickname that has no status 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.
+
'''Note''': $nvnick(#,N) always returns a nickname which has a status below voice.
  
 
== Synopsis ==
 
== Synopsis ==
Line 8: Line 8:
 
== Parameters ==
 
== Parameters ==
 
* '''#channel''' - The channel you want to check for non-voice nickname  
 
* '''#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.
+
* '''N/nick''' - The Nth 'regular' 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 {{mIRC|$nick|$nick(#,N/nick,aohvr,aohvr)}}
+
'''Note''': When 2 parameters are used, it's the equivalent of $nick(#,N,r). With a third and fourth parameter, i.e. $nvnick(#,N/nick,aohvr,aohvr), this identifier behaves exactly the same as {{mIRC|$nick|$nick(#,N/nick,aohvr,aohvr)}}
  
 
== Properties ==
 
== Properties ==
Line 28: Line 28:
 
{{mIRC|$vnick|$vnick()}}
 
{{mIRC|$vnick|$vnick()}}
 
{{mIRC|$nopnick}}
 
{{mIRC|$nopnick}}
 
[[Category:mIRC identifiers|nvnick]]
 

Latest revision as of 17:26, 25 March 2021

Note: This feature has essentially been replaced by $nick(). $nvnick returns the Nth nickname that has no status on the channel.

Note: $nvnick(#,N) always returns a nickname which has a status below voice.

Synopsis[edit]

$nvnick(#channel,N/nick)

Parameters[edit]

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

Note: When 2 parameters are used, it's the equivalent of $nick(#,N,r). 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[edit]

None

Example[edit]

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

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]

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