$ignore » History » Revision 5
Revision 4 (Per Amundsen, 07/07/2018 09:47 PM) → Revision 5/7 (Per Amundsen, 12/13/2019 06:31 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_Dialog|Options]] -> [[Ignore 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)* (AdiIRC only) .channel - Returns channel(s). *(AdiIRC only)* (AdiIRC only) .text - Returns match text. *(AdiIRC only)* (AdiIRC only) .cs - Returns [[$true]] if case sensetive otherwise [[$false]]. *(AdiIRC only)* (AdiIRC only) .regex - Returns [[$true]] if regex otherwise [[$false]]. *(AdiIRC only)* (AdiIRC only) *Examples* <pre> ; 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 </pre>