$mircdir return the folder in which mIRC stores its main settings files such as mirc.ini.
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.