Project

General

Profile

$iil » History » Version 3

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

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