Project

General

Profile

$opnick » History » Revision 4

Revision 3 (Per Amundsen, 11/21/2015 11:56 PM) → Revision 4/9 (Per Amundsen, 12/14/2016 11:52 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 $opnick $hnick 

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

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

 _Added in 2.0_ 

 *$opnick(#,N)* 

 Returns the Nth operator 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>