Ugh, fopen, I now hate fopen. For some dumb reason or another(a reason I'll probably never understand, even with me having had the 16-bit mIRC way back when), mIRC will not read long filenames. I keep my copy of mIRC along with my script under My Documents, and when I use $mircdir, I get errors:

* fopen unable to create 'readme' (C:\MY)

Why can't mIRC handle folders with spaces yet? I'm gonna hate coding another variable into mIRC just to get the old DOS foldername...

Yes, I'm using mIRC 6.12.