From WikiChip
$getdir Identifier - mIRC
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.