From WikiChip
Editing mirc/identifiers/$nhnick

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{mirc title|$nhnick Identifier}}{{Deprecated feature|new={{mIRC|$nick|$nick()}}}} '''$nhnick''' returns the Nth nickname that is not an halfop/helper on the channel.
+
{{mirc title|$nhnick Identifier}}'''$nhnick''' returns the Nth nickname that is not an operator '''nor a 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)
+
'''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.
  
'''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 9: Line 10:
  
 
== Parameters ==
 
== Parameters ==
* '''#channel''' - The channel you want to check for non-halfop/helper nickname  
+
* '''#channel''' - The channel you want to check for non-halfop 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.
+
* '''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 {{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)}}
Line 24: Line 25:
  
 
== See Also ==
 
== See Also ==
* {{mIRC|$nick}}
+
{{mIRC|$nick}}
* {{mIRC|$opnick}}
+
{{mIRC|$opnick|$opnick()}}
* {{mIRC|$hnick}}
+
{{mIRC|$hpnick|$hnick()}}
* {{mIRC|$nopnick}}
+
{{mIRC|$nopnick}}
* {{mIRC|$vnick}}
+
{{mIRC|$vpnick|$vnick()}}
* {{mIRC|$nvnick}}
+
{{mIRC|$nvnick}}
  
 
[[Category:mIRC identifiers|nhnick]]
 
[[Category:mIRC identifiers|nhnick]]

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)