Project

General

Profile

$onick » History » Revision 6

Revision 5 (Per Amundsen, 02/23/2023 06:29 PM) → Revision 6/8 (Per Amundsen, 02/23/2023 06:35 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 _see also [[$nhnick]], [[$hnick]], [[$nonick]], [[$nadmnick]], [[$admnick]], [[$nvnick]], [[$vnick]]._ [[$nonick]]._ 

 *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 $onick(#,0) owner users 

 echo -ag First owner nick is $onick(#,1) 
 </pre>