Project

General

Profile

$ignore » History » Version 1

Per Amundsen, 08/12/2015 09:23 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$ignore*
4
5
Returns [[$true]] if [[/ignore]] is enabled, otherwise [[$false]].
6
7
*$ignore(N|address)*
8
9
Returns the Nth address in the ignore list set in [[Options_Dialog|Options]] -> [[Options_Ignore|Ignore]] or using [[/ignore]].
10
11
*Parameters*
12
13
N|address - An address or if N = 0, number of addresses, otherwise the Nth address.
14
15
*Properties*
16
17
.network - The network associated with the ignore. (if any)
18
.type - Ignore flags.
19
.secs - Number of seconds until the ignore expire. (if set to expire)
20
21
*Examples*
22
23
<pre>
24
; Add a ignore for the nick 'Example'
25
/ignore -u1000 Example
26
27
; Print number of addresses in the ignore list.
28
//echo -ag $ignore(0)
29
30
; Print information about the 'Example' ignore.
31
//echo -ag $ignore(Example) type is $ignore(Example).type secs is $ignore(Example).secs
32
</pre>