Project

General

Profile

$getdir » History » Version 4

Per Amundsen, 02/23/2023 12:12 AM

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 4 Per Amundsen
table(ktable).
16
|*Parameter*|*Description*|
17
| filespec | The filespec. |
18 2 Per Amundsen
19
*Example*
20
21
<pre>
22
; Get the directory for .mp3 files.
23
//echo -ag $getdir(*.mp3)
24
</pre>