_Added in 1.9.0_ *$opnick* Returns the nick that was (de)opped during a [[on OP]] on [[on DEOP]] [[Scripting_Events|event]]. *Example*
on *:OP:*:echo -ag The nick opped is $opnick

on *:DEOP:*:echo -ag The nick deopped is $opnick
----------------------------------------------------------------------------- _Added in 2.0_ *$opnick(#,N)* Returns the Nth operator nick. _See also [[$vnick]], [[$nvnick]], [[$hnick]], [[$nhnick]], [[$nopnick.]], [[$admnick]], [[$nadmnick]], [[$onick.]], [[$nonick]]._ *Parameters* table(ktable). |*Parameter*|*Description*| | # | The channel. | | N | If N = 0, number of nicks, otherwise the Nth nick. | *Example*
//echo -ag There is $opnick(#,0) operator users

//echo -ag First operator nick is $opnick(#,1)