Nice script. One thing to note was that at first the script didn't work for me also, since I placed the text files in the script directory instead of the mIRC (main) directory, and you get an endless loop since $lines == 0. Many people put .mrc files in mIRC/scripts, so that might be why some people say it can't run (and hurt your ratings).