Added in 1.9.0

$opnick

Returns the nick that was (de)opped during a on OP on on DEOP 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

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)