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

(See Also)
m (See Also: Fix See Also)
 
Line 24: Line 24:
  
 
== See Also ==
 
== See Also ==
{{mIRC|$nick}}
+
* {{mIRC|$nick}}
{{mIRC|$opnick|$opnick()}}
+
* {{mIRC|$opnick}}
{{mIRC|$hnick|$hnick()}}
+
* {{mIRC|$hnick}}
{{mIRC|$nopnick}}
+
* {{mIRC|$nopnick}}
{{mIRC|$vnick|$vnick()}}
+
* {{mIRC|$vnick}}
{{mIRC|$nvnick}}
+
* {{mIRC|$nvnick}}
  
 
[[Category:mIRC identifiers|nhnick]]
 
[[Category:mIRC identifiers|nhnick]]

Latest revision as of 07:04, 31 January 2024

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

Note: $nhnick always returns nickname which have a status below halfop/helper, excluding the non standard +qa mode/status, it means that if a nickname is only +q, $nhnick() can return that nickname but a nickname being only +o can't be returned by $nhnick (it's not a status below halfop/helper)

Note2: the nickname doesn't have to be strictly an halfop/helper to be ignored, it means that someone which is an halfop/helper and is voiced won't be returned by $nhnick.

Synopsis[edit]

$nhnick(#channel,N/nick)

Parameters[edit]

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

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

Properties[edit]

None

Example[edit]

//echo -a $nhnick($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]