My suggestion would be find an mSL socket bot frame or utilize the /server -m command. While /server -m can get the job done it pales in comparison to mSL socket bot in terms of operating discreetly.
how about a new mIRC-controlled server connection + various /window -h commands? :P
If you wish to try out the Socket bot frame you can thank Aha2Y for posting a most excellent framework
it's a noble attempt, but sooner or later we are going to want our bot to be able to use events, maintain a nicklist and perhaps an IAL, parse mode changes, etc.
in a client that does all the mundane work for you, it seems almost silly to use mIRC's sockets to create a bot ;P it does give you an extra layer of control, but i would say it's unnecessary for 99% of scripting related tasks.