Project

General

Profile

$iel » History » Version 3

Per Amundsen, 02/23/2023 01:56 PM

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 3 Per Amundsen
table(ktable).
10
|*Parameter*|*Description*|
11
| #channel | The channel to retrieve exception list from. |
12
| N | If N = 0, total number of exceptions, otherwise the Nth exception. |
13 1 Per Amundsen
14
*Properties*
15
16 3 Per Amundsen
table(ktable).
17
|*Property*|*Description*|
18
| .by | The nick who set the exception. |
19
| .ctime | The time the exception was set in unix timestamp format. |
20
| .date | THe time the exception was set in mmm oo HH:mmtt format. |
21
| .secs | Number of seconds until exception expire (if set to expire). |
22 1 Per Amundsen
23
*Example*
24
25
<pre>
26
; Get number of exceptions.
27
//echo -ag $iel(#channel, 0)
28
29
30
; Get information about the first exception.
31
//echo -ag $iel(#channel, 1) set by $iel(#channel, 1).by set at $iel(#channel, 1).date
32
</pre>