$iql » History » Version 3
Per Amundsen, 02/23/2023 01:45 PM
| 1 | 1 | Per Amundsen | _Added in 2.7_ |
|---|---|---|---|
| 2 | |||
| 3 | *$iql(#channel,N)* |
||
| 4 | |||
| 5 | Returns Nth item in the internal quiet list. |
||
| 6 | |||
| 7 | *Parameters* |
||
| 8 | |||
| 9 | 3 | Per Amundsen | table(ktable). |
| 10 | |*Parameter*|*Description*| |
||
| 11 | | #channel | The channel to retrieve quiet list from. | |
||
| 12 | | N | If N = 0, total number of quiets, otherwise the Nth quiet. | |
||
| 13 | 1 | Per Amundsen | |
| 14 | *Properties* |
||
| 15 | |||
| 16 | 3 | Per Amundsen | table(ktable). |
| 17 | |*Property*|*Description*| |
||
| 18 | | .by | The nick who set the quiet. | |
||
| 19 | | .ctime | The time the quiet was set in unix timestamp format. | |
||
| 20 | | .date | THe time the quiet 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 quiet. |
||
| 27 | //echo -ag $iql(#channel, 0) |
||
| 28 | |||
| 29 | |||
| 30 | ; Get information about the first quiet. |
||
| 31 | //echo -ag $iql(#channel, 1) set by $iql(#channel, 1).by set at $iql(#channel, 1).date |
||
| 32 | </pre> |