Alternatively, you could use mIRC's -p switch, which is designed to make mIRC portable.