Write more efficient code, running two instances should not be necessary.

That said, the easiest way is just to install mIRC as a portable installation somewhere else.