Have you tried installing a clean copy of mIRC 6.21 with no scripts/dlls/etc. to see if the problem continues? If your mirc.ini or other mIRC files were damaged in some way this may be the cause of the problem. The lag you mention between running mIRC and auto-connecting could indicate this.