Hmm, I just tried that script from Hixxy, but that messes your mIRC up pretty much.
It sends the text to the active window, but if you have 20 channels open, it will send the text from all those 20 channels to the active window!