Project

General

Profile

$admnick » History » Revision 6

Revision 5 (Per Amundsen, 02/16/2023 05:19 PM) → Revision 6/9 (Per Amundsen, 02/23/2023 06:26 PM)

_Added in 2.0_ 

 *$admnick* 

 Returns the nick that was (de)opped during a [[on ADMIN]], on [[on DEADMIN]] [[Scripting_Events|event]]. 

 _See also [[$nadmnick]]._ 

 *Example* 

 <pre> 
 on *:ADMIN:*:echo -ag The nick opped is $admnick 

 on *:DEADMIN:*:echo -ag The nick deopped is $admnick 
 </pre> 

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

 _Added in 2.0_ 

 *$admnick(#,N)* 

 Returns the Nth admin nick. 

 _See also [[$nadmnick]]._ 

 *Parameters* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | <notextile># | The channel.</notextile> | 
 | N | If N = 0, number of nicks, otherwise the Nth nick. | 

 *Example* 

 <pre> 
 //echo -ag There is $admnick(#,0) admin users 

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