Actions
Added in 1.9.6
$banlist(#channel,N)
Returns Nth item in the internal ban list.
Same as $ibl.
Parameters
Parameter | Description |
#channel | The channel to retrieve ban list from. |
N | If N = 0, total number of bans, otherwise the Nth ban. |
Properties
Property | Description |
.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
; Get number of bans. //echo -ag $banlist(#channel, 0) ; Get information about the first ban. //echo -ag $banlist(#channel, 1) set by $banlist(#channel, 1).by set at $banlist(#channel, 1).date
Updated by Per Amundsen over 1 year ago · 2 revisions