From the quick glance I took, it should work fine as it is.

Royal Bugger ups happen, but it's very unlikely with a simple popup mod you are doing. If your popup isn't working because of it, just remove the bits of code you added. On the other hand you could install another copy of mIRC and use it to test code if you are afraid of breaking the one you use.

GigIRC Network Admin