Project

General

Profile

$ibl » History » Version 2

Per Amundsen, 08/11/2015 07:40 AM

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