Line 1: | Line 1: | ||
− | {{mirc title|$ | + | {{mirc title|$nopnick Identifier}}{{Deprecated feature|new={{mIRC|$nick|$nick()}}}} '''$nhnick''' returns the Nth nickname that is not an halfop/helper on the channel. |
− | '''Note''': it means that if a nickname is only +q, $nhnick() can return that nickname | + | '''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 == | == Synopsis == | ||
Line 10: | Line 10: | ||
== Parameters == | == Parameters == | ||
− | * '''#channel''' - The channel you want to check for non-halfop nickname | + | * '''#channel''' - The channel you want to check for non-halfop/helper nickname |
− | * '''N/nick''' - The Nth non-halfop nick on the channel, or if you pass a nickname, it returns the number N, where $nhnick(#,N) return the 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 {{mIRC|$nick|$nick(#,N/nick,aohvr,aohvr)}} | '''Note''': With a third and fourth parameter, i.e. $nhnick(#,N/nick,aohvr,aohvr), this identifier behaves exactly the same as {{mIRC|$nick|$nick(#,N/nick,aohvr,aohvr)}} |
Revision as of 16:32, 5 January 2018
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
$nhnick(#channel,N/nick)
Parameters
- #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
None
Example
//echo -a $nhnick($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.