$mircdir
From Scriptwiki
Returns full path to the directory where your mirc.exe is located.
$mircdir
- This function has no parameters.
Example
C:\Program Files\mIRC\
Returns full path to the directory where your mirc.exe is located.
$mircdir
C:\Program Files\mIRC\