$getdir » History » Version 2
Per Amundsen, 03/27/2016 10:45 AM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | *$getdir* |
||
| 4 | |||
| 5 | Returns the DCC download directory specified in [[Options_Dialog|Options]] -> [[Options_DCC|DCC]]. |
||
| 6 | |||
| 7 | ----------------------------------------------------------------------------- |
||
| 8 | |||
| 9 | *$getdir(filespec)* |
||
| 10 | |||
| 11 | 2 | Per Amundsen | Returns the DCC download directory matching the filespec, otherwise the directory specified in [[Options_Dialog|Options]] -> [[Options_DCC|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> |