$ibl » History » Version 3
Per Amundsen, 08/17/2015 01:54 PM
| 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 | 3 | Per Amundsen | _Same as [[$banlist]]._ |
| 8 | |||
| 9 | 1 | Per Amundsen | *Parameters* |
| 10 | |||
| 11 | #channel - The channel to retrieve ban list from. |
||
| 12 | 2 | Per Amundsen | N - If N = 0, total number of bans, otherwise the Nth ban. |
| 13 | 1 | Per Amundsen | |
| 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 $ibl(#channel, 0) |
||
| 26 | |||
| 27 | |||
| 28 | ; Get information about the first ban. |
||
| 29 | //echo -ag $ibl(#channel, 1) set by $ibl(#channel, 1).by set at $ibl(#channel, 1).date |
||
| 30 | </pre> |