Project

General

Profile

$iel » History » Version 2

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

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