I mean $mircdir points to the location that mIRC stores it's settings, not necessarily the installation location (if you use the -r switch). As for the installation folder you've always got $mircexe.
In theory any script that makes correct use of $scriptdir, $mircdir, and $mircexe should still work correctly without modification.