Project

General

Profile

$ignore » History » Revision 4

Revision 3 (Per Amundsen, 07/07/2018 09:47 PM) → Revision 4/7 (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_Dialog|Options]] -> [[Ignore Options|Ignore]] [[Options_Ignore|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* 

 <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>