Project

General

Profile

$opnick » History » Revision 3

Revision 2 (Per Amundsen, 11/21/2015 11:54 PM) → Revision 3/9 (Per Amundsen, 11/21/2015 11:56 PM)

_Added in 1.9.0_ 

 *$opnick* 

 Returns the nick that was (de)opped during a [[on OP]] on [[on DEOP]] [[Scripting_Events|event]]. 

 *Example* 

 <pre> 
 on *:OP:*:echo -ag The nick opped is $hnick 

 on *:DEOP:*:echo -ag The nick deopped is $hnick 
 </pre> 

 ----------------------------------------------------------------------------- 

 


 _Added in 2.0_ 

 *$opnick(#,N)* 

 Returns the Nth operator nick. nick 

 *Parameters* 

 <notextile># - The channel.</notextile> 
 N - If N = 0, number of nicks, otherwise the Nth nick. 

 *Example* 

 <pre> 
 echo -ag There is $opnick(#,0) operator users 

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