From WikiChip
Difference between revisions of "mirc/identifiers/$getdir"
Maroonbells (talk | contribs) m |
m |
||
Line 1: | Line 1: | ||
{{mirc title|$getdir Identifier}} | {{mirc title|$getdir Identifier}} | ||
The '''$getdir''' identifier returns either the default DCC GET directory, or the DCC GET directory for the specified filespec. | The '''$getdir''' identifier returns either the default DCC GET directory, or the DCC GET directory for the specified filespec. | ||
+ | |||
== Synopsis == | == Synopsis == | ||
Line 25: | Line 26: | ||
* {{mIRC|$sound}} | * {{mIRC|$sound}} | ||
− | [[Category: | + | [[Category:mIRC identifiers|getdir]] |
Latest revision as of 15:00, 20 September 2017
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The $getdir identifier returns either the default DCC GET directory, or the DCC GET directory for the specified filespec.
Synopsis[edit]
$getdir[( filespec )]
Parameters[edit]
Filespec If specified, returns mIRC-Options/DCC/Folders/DCC GET directory for that filespec
Example[edit]
//if ($sound(*.mp3) != $getdir(*.mp3)) echo -a warning: MP3's do not download into the MP3 SOUND folder!
//echo -a The default DCC GET folder for filetypes not defined in mIRC-options/dcc/folders is $getdir
on *:FILESENT:*:{ if ($getdir($filename) == $nofile($filename)) echo -a Note: $filename was sent from the DCC GET folder for that filename. }
Compatibility[edit]
Added: mIRC v4.52
Added on: 06 Jul 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.