Project

General

Profile

$ibl » History » Revision 2

Revision 1 (Per Amundsen, 08/11/2015 07:37 AM) → Revision 2/4 (Per Amundsen, 08/11/2015 07:40 AM)

_Added in 1.9.0_ 

 *$ibl(#channel,N)* 

 Returns Nth item in the internal ban list. 

 *Parameters* 

 #channel - The channel to retrieve ban list from. 
 N - If N = 0, total number of bans, otherwise the Nth ban. item. 

 *Properties* 

 .by - The nick who set the ban. 
 .ctime - The time the ban was set in unix timestamp format. 
 .date - THe time the ban was set in mmm oo HH:mmtt format. 
 .secs - Number of seconds until ban expire (if set to expire). 

 *Example* 

 <pre> 
 ; Get number of bans. 
 //echo -ag $ibl(#channel, 0) 


 ; Get information about the first ban. 
 //echo -ag $ibl(#channel, 1) set by $ibl(#channel, 1).by set at $ibl(#channel, 1).date 
 </pre>