$ignore » History » Version 4
Per Amundsen, 07/07/2018 09:47 PM
| 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 | 4 | Per Amundsen | Returns the Nth address in the ignore list set in [[Options_Dialog|Options]] -> [[Ignore Options|Ignore]] or using [[/ignore]]. |
| 10 | 1 | Per Amundsen | |
| 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 | 2 | Per Amundsen | .note - Returns the note. (AdiIRC only) |
| 21 | .channel - Returns channel(s). (AdiIRC only) |
||
| 22 | 3 | Per Amundsen | .text - Returns match text. (AdiIRC only) |
| 23 | .cs - Returns [[$true]] if case sensetive otherwise [[$false]]. (AdiIRC only) |
||
| 24 | .regex - Returns [[$true]] if regex otherwise [[$false]]. (AdiIRC only) |
||
| 25 | 1 | Per Amundsen | |
| 26 | *Examples* |
||
| 27 | |||
| 28 | <pre> |
||
| 29 | ; Add a ignore for the nick 'Example' |
||
| 30 | /ignore -u1000 Example |
||
| 31 | |||
| 32 | ; Print number of addresses in the ignore list. |
||
| 33 | //echo -ag $ignore(0) |
||
| 34 | |||
| 35 | ; Print information about the 'Example' ignore. |
||
| 36 | //echo -ag $ignore(Example) type is $ignore(Example).type secs is $ignore(Example).secs |
||
| 37 | </pre> |