Difference between revisions of "$ignore"

From Scriptwiki
Jump to: navigation, search
 
(added .network)
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

Revision as of 12:48, 3 December 2005

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

To add or remove an address/nick to/from your ignore list, take a look at /ignore.