Difference between revisions of "$ignore"

From Scriptwiki
Jump to: navigation, search
 
m
 
(One intermediate revision by one other user not shown)
Line 10: Line 10:
 
$ignore(N/address) has two properties:  
 
$ignore(N/address) has two properties:  
 
* ''secs'' returns the seconds that are left until the ignore will be removed again.
 
* ''secs'' returns the seconds that are left until the ignore will be removed again.
* ''type'' returns the ignore type of the specified entry
+
* ''type'' returns the ignore type of the specified entry.
 
+
* ''network'' returns the network it is associated to, if any.
 
== Example ==
 
== Example ==
 
  [[echo]] -a $ignore
 
  [[echo]] -a $ignore
Line 21: Line 21:
  
 
== See Also ==
 
== See Also ==
To add or remove an address/nick to/from your ignore list, take a look at [[Ignore|/ignore]].
+
* [[Ignore|/ignore]] to add or remove an address/nick to/from your ignore list.
  
 
[[Category:Control]]
 
[[Category:Control]]
 
[[Category:Other Identifiers]]
 
[[Category:Other Identifiers]]

Latest revision as of 09:17, 2 July 2007

Returns infomation about your ignore list.

$ignore(N/address)

Note that $ignore will return $true if your ignoring is turned on, otherwise $false.

If you specify an address, the first matching address in the ignore list is returned.


$ignore(N/address) has two properties:

  • secs returns the seconds that are left until the ignore will be removed again.
  • type returns the ignore type of the specified entry.
  • network returns the network it is associated to, if any.

Example

echo -a $ignore

Will echo $true to your active window as ignoring is turned on usually.


echo -a $ignore(1).type

This will echo the type of the ignore of the first address in your ignore list.

See Also

  • /ignore to add or remove an address/nick to/from your ignore list.