From WikiChip
Difference between revisions of "mirc/identifiers/$nopnick"
(→See Also) |
(→See Also) |
||
Line 25: | Line 25: | ||
{{mIRC|$nick}} | {{mIRC|$nick}} | ||
{{mIRC|$opnick|$opnick()}} | {{mIRC|$opnick|$opnick()}} | ||
− | {{mIRC|$ | + | {{mIRC|$hpnick|$hnick()}} |
{{mIRC|$nhnick}} | {{mIRC|$nhnick}} | ||
− | {{mIRC|$ | + | {{mIRC|$vpnick|$vnick()}} |
{{mIRC|$nvnick}} | {{mIRC|$nvnick}} | ||
[[Category:mIRC identifiers|nopnick]] | [[Category:mIRC identifiers|nopnick]] |
Revision as of 16:59, 5 January 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$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
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.