Also, just thought of something...
For those of you having issues with the script from time to time, it may be because of your operating system. I was doing some research and came to find out that mIRC's file handling privileges are restricted on newer operating systems.
So, FOR BEST SCRIPT PERFORMANCE I WOULD SUGGEST Microsoft Windows XP