Project

General

Profile

$getdir » History » Revision 3

Revision 2 (Per Amundsen, 03/27/2016 10:45 AM) → Revision 3/4 (Per Amundsen, 02/24/2017 09:14 PM)

_Added in 1.9.0_ 

 *$getdir* 

 Returns the DCC download directory specified in [[Options_Dialog|Options]] -> [[DCC_Options|DCC]]. [[Options_DCC|DCC]]. 

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

 *$getdir(filespec)* 

 Returns the DCC download directory matching the filespec, otherwise the directory specified in [[Options_Dialog|Options]] -> [[DCC_Options|DCC]]. [[Options_DCC|DCC]]. 

 *Parameters* 

 filespec - The filespec. 

 *Example* 

 <pre> 
 ; Get the directory for .mp3 files. 
 //echo -ag $getdir(*.mp3) 
 </pre>