Get this snippet and use:

On *:dialog:mremote:sclick:3:{ showmirc -s | sendkeys % $+ r }

/showmirc makes mIRC the active window, to ensure it will receive the keystrokes.