Project

General

Profile

$admnick » History » Revision 8

Revision 7 (Per Amundsen, 02/23/2023 06:32 PM) → Revision 8/9 (Per Amundsen, 02/23/2023 06:36 PM)

_Added in 2.0_ 

 *$admnick* 

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

 *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 [[$nhnick]], [[$hnick]], [[$nonick]], [[$onick]], [[$nadmnick]], [$nvnick]], [[$vnick]]._ [[$nadmnick]]._ 

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

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