If you have a need to edit the raw data mIRC receives, then you should code a proxy layer (you can do this using mIRC sockets) which tranlates what it receives into what you want mIRC to see.