Project

General

Profile

$dccignore » History » Revision 4

Revision 3 (Per Amundsen, 12/26/2018 07:54 AM) → Revision 4/5 (Per Amundsen, 12/26/2018 08:20 AM)

_Added in 2.7_ 

 *$dccignore* 

 Returns [[$true]] if [[Options DIalog|Options]] -> [[Dcc Options|Dcc]] -> [[Dcc_Options#Dcc-Ignore-Method|Dcc Ignore Method]] is set to accept only/ignore only, otherwise [[$false]]. 

 _See also [[/dcc]]._ 

 ----------------------------------------------------------------------------- 

 *$dccignore(N/filename)* 

 Returns the Nth item in the Dcc ignore or accept list in [[Options Dialog|Options]] -> [[Dcc_Options|Dcc]] -> Dcc Ignore. 


 *Parameters* TODO 

 N - If N = 0 returns number of items in the Dcc ignore/accept list, otherwise the Nth ignore/accept item. 
 filename - If specified returns [[$true]] if the filetype is ignored using the current settings, otherwise [[$false]]. 

 *Example* 

 <pre> 
 ; Print number of ignore/accept items. 
 //echo -ag Number of ignore/accept items is $dccignore(0) 

 ; Print the first ignore/accept item. 
 //echo -ag The first ignore/accept item is $dccignore(1) 

 ; Check if 'file.exe' is ignored or not. 
 //echo -ag file.exe $iif($dccignore(file.exe), is ignored, is not ignored) 
 </pre>