From WikiChip
$nhnick Identifier - mIRC
< mirc‎ | identifiers
Revision as of 17:04, 5 January 2018 by Ouims (talk | contribs) (Created page with "{{mirc title|$nhnick Identifier}}'''$nhnick''' returns the Nth nickname that is not an operator '''nor a halfop/helper''' on the channel. '''Note''': it means that if a nickn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$nhnick returns the Nth nickname that is not an operator nor a halfop/helper on the channel.

Note: it means that if a nickname is only +q, $nhnick() can return that nickname Note2: the rest of this page will still use the term non-halfop to refer to this identifier although that's a bit misleading given the real behavior.


Synopsis

$nhnick(#channel,N/nick)

Parameters

  • #channel - The channel you want to check for non-halfop 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.

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.


See Also

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