Added in 1.9.0

$getdir

Returns the DCC download directory specified in Options -> DCC.


$getdir(filespec)

Returns the DCC download directory matching the filespec, otherwise the directory specified in Options -> DCC.

Parameters

filespec - The filespec.

Example

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