You could script this quite easily with a dialog. Or you could, you know, just, /run path\to\myscript.mrc and then /load it if you like it.

I don't see how previewing in mIRC would be any different to the above.