$onick » History » Revision 5
Revision 4 (Per Amundsen, 11/21/2015 11:56 PM) → Revision 5/8 (Per Amundsen, 02/23/2023 06:29 PM)
_Added in 2.0_
*$onick*
Returns the nick that was (de)opped during a [[on OWNER]], on [[on DEOWNER]] [[Scripting_Events|event]].
*Example*
<pre>
on *:OWNER:*:echo -ag The nick opped is $onick
on *:DEOWNER:*:echo -ag The nick deopped is $onick
</pre>
-----------------------------------------------------------------------------
_Added in 2.0_
*$onick(#,N)*
Returns the Nth owner nick.
_see also [[$nonick]]._
*Parameters*
<notextile># - The channel.</notextile>
N - If N = 0, number of nicks, otherwise the Nth nick.
*Example*
<pre>
echo -ag There is $onick(#,0) owner users
echo -ag First owner nick is $onick(#,1)
</pre>