Project

General

Profile

Actions

$ignore » History » Revision 3

« Previous | Revision 3/7 (diff) | Next »
Per Amundsen, 07/07/2018 09:47 PM


Added in 1.9.0

$ignore

Returns $true if /ignore is enabled, otherwise $false.

$ignore(N|address)

Returns the Nth address in the ignore list set in Options -> Ignore or using /ignore.

Parameters

N|address - An address or if N = 0, number of addresses, otherwise the Nth address.

Properties

.network - The network associated with the ignore. (if any)
.type - Ignore flags.
.secs - Number of seconds until the ignore expire. (if set to expire)
.note - Returns the note. (AdiIRC only)
.channel - Returns channel(s). (AdiIRC only)
.text - Returns match text. (AdiIRC only)
.cs - Returns $true if case sensetive otherwise $false. (AdiIRC only)
.regex - Returns $true if regex otherwise $false. (AdiIRC only)

Examples

; Add a ignore for the nick 'Example'
/ignore -u1000 Example

; Print number of addresses in the ignore list.
//echo -ag $ignore(0)

; Print information about the 'Example' ignore.
//echo -ag $ignore(Example) type is $ignore(Example).type secs is $ignore(Example).secs

Updated by Per Amundsen over 5 years ago · 3 revisions

Also available in: PDF HTML TXT