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

(See Also)
m (Compatibility: Correct version number.)
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{mirc title|$nopnick Identifier}}'''$nopnick''' returns the Nth nickname that is not an operator on the channel.
+
{{mirc title|$nopnick Identifier}}{{Deprecated feature|new={{mIRC|$nick|$nick()}}}} '''$nopnick''' returns the Nth nickname that is not an operator on the channel.
  
'''Note''': it means that if a nickname is only +q, $nopnick() can return that nickname
+
'''Note''': nicks returned by $nopnick are those who don't have the 'o' operator status, even if they have the non standard +qa mode/status, it means that if a nickname is only +q, $nopnick() can return that nickname. When used with 2 parameters, it is equivalent to $nick(#,N/nick,a,o)
  
 +
'''Note2''': the nickname doesn't have to be strictly an operator to be ignored, it means that someone which is an operator and is voiced won't be returned by $nopnick.
  
 
== Synopsis ==
 
== Synopsis ==
Line 20: Line 21:
  
 
== Compatibility ==
 
== Compatibility ==
{{mIRC compatibility|2.1a}}
+
{{mIRC compatibility|4.5}}
  
 
== See Also ==
 
== See Also ==
{{mIRC|$nick}}
+
* {{mIRC|$nick}}
{{mIRC|$opnick|$opnick()}}
+
* {{mIRC|$opnick}}
{{mIRC|$opnick|$hnick()}}
+
* {{mIRC|$hnick}}
{{mIRC|$nhnick}}
+
* {{mIRC|$nhnick}}
{{mIRC|$opnick|$vnick()}}
+
* {{mIRC|$vnick}}
{{mIRC|$nvnick}}
+
* {{mIRC|$nvnick}}
 
 
[[Category:mIRC identifiers|nopnick]]
 

Latest revision as of 15:00, 29 January 2024

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

Note: nicks returned by $nopnick are those who don't have the 'o' operator status, even if they have the non standard +qa mode/status, it means that if a nickname is only +q, $nopnick() can return that nickname. When used with 2 parameters, it is equivalent to $nick(#,N/nick,a,o)

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

Synopsis[edit]

$nopnick(#channel,N/nick)

Parameters[edit]

  • #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[edit]

None

Example[edit]

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

Compatibility[edit]

Added: mIRC v4.5
Added on: 30 Jun 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]