Just put mirc.ini in your script folder and it will be fine.

Originally Posted By: mIRC Help File
$mircdir

Returns the directory where mIRC stores its settings, such as mirc.ini, and other files and folders.