Project

General

Profile

$getdir » History » Version 3

Per Amundsen, 02/24/2017 09:14 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$getdir*
4
5 3 Per Amundsen
Returns the DCC download directory specified in [[Options_Dialog|Options]] -> [[DCC_Options|DCC]].
6 1 Per Amundsen
7
-----------------------------------------------------------------------------
8
9
*$getdir(filespec)*
10
11 3 Per Amundsen
Returns the DCC download directory matching the filespec, otherwise the directory specified in [[Options_Dialog|Options]] -> [[DCC_Options|DCC]].
12 1 Per Amundsen
13
*Parameters*
14
15 2 Per Amundsen
filespec - The filespec.
16
17
*Example*
18
19
<pre>
20
; Get the directory for .mp3 files.
21
//echo -ag $getdir(*.mp3)
22
</pre>