can't you use the DDE function of mIRC for that?