$onick » History » Revision 7
Revision 6 (Per Amundsen, 02/23/2023 06:35 PM) → Revision 7/8 (Per Amundsen, 02/23/2023 06:41 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 [[$nhnick]], [[$hnick]], [[$nonick]], [[$nadmnick]], [[$admnick]], [[$nvnick]], [[$vnick]]._ *Parameters* table(ktable). |*Parameter*|*Description*| | <notextile>#</notextile> | - The channel. | | 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>