From WikiChip
$getdir Identifier - mIRC
< mirc‎ | identifiers

The $getdir identifier returns either the default DCC GET directory, or the DCC GET directory for the specified filespec.


$getdir[( filespec )]


Filespec If specified, returns mIRC-Options/DCC/Folders/DCC GET directory for that filespec


//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.


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.

See also[edit]