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

Line 3: Line 3:
 
'''Note''': $nopnick always returns nickname which don't have operator status, it means that if a nickname is only +q, $nopnick() can return that nickname
 
'''Note''': $nopnick always returns nickname which don't have operator status, it means that if a nickname is only +q, $nopnick() can return that nickname
  
'''Note2''': it then also means that someone which is an operator and is voiced won't be returned by $nopnick, $nopnick is not only for nickname which are only operator.
+
'''Note2''': it then also means that someone which is an operator and is voiced won't be returned by $nopnick.
 
 
  
 
== Synopsis ==
 
== Synopsis ==

Revision as of 17:19, 5 January 2018

{{Deprecated feature|new=$nick()}$nopnick returns the Nth nickname that is not an operator on the channel.

Note: $nopnick always returns nickname which don't have operator status, it means that if a nickname is only +q, $nopnick() can return that nickname

Note2: it then also means that someone which is an operator and is voiced won't be returned by $nopnick.

Synopsis

$nopnick(#channel,N/nick)

Parameters

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

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

Properties

None

Example

//echo -a $nopnick($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() $nvnick