$opnick » History » Revision 7
Revision 6 (Per Amundsen, 02/23/2023 06:25 PM) → Revision 7/9 (Per Amundsen, 02/23/2023 06:42 PM)
_Added in 1.9.0_ *$opnick* Returns the nick that was (de)opped during a [[on OP]] on [[on DEOP]] [[Scripting_Events|event]]. _See also [[$nopnick]] ._ *Example* <pre> on *:OP:*:echo -ag The nick opped is $opnick on *:DEOP:*:echo -ag The nick deopped is $opnick </pre> ----------------------------------------------------------------------------- _Added in 2.0_ *$opnick(#,N)* Returns the Nth operator nick. _See also [[$nopnick]] ._ *Parameters* <notextile>#</notextile> <notextile># - The channel. channel.</notextile> N - If N = 0, number of nicks, otherwise the Nth nick. *Example* <pre> //echo -ag There is $opnick(#,0) operator users //echo -ag First operator nick is $opnick(#,1) </pre>