Project

General

Profile

$banlist » History » Version 1

Per Amundsen, 08/17/2015 01:55 PM

1 1 Per Amundsen
_Added in 1.9.6_
2
3
*$banlist(#channel,N)*
4
5
Returns Nth item in the internal ban list.
6
7
_Same as [[$ibl]]._
8
9
*Parameters*
10
11
#channel - The channel to retrieve ban list from.
12
N - If N = 0, total number of bans, otherwise the Nth ban.
13
14
*Properties*
15
16
.by - The nick who set the ban.
17
.ctime - The time the ban was set in unix timestamp format.
18
.date - THe time the ban was set in mmm oo HH:mmtt format.
19
.secs - Number of seconds until ban expire (if set to expire).
20
21
*Example*
22
23
<pre>
24
; Get number of bans.
25
//echo -ag $banlist(#channel, 0)
26
27
28
; Get information about the first ban.
29
//echo -ag $banlist(#channel, 1) set by $banlist(#channel, 1).by set at $banlist(#channel, 1).date
30
</pre>