on your mirc, press the keyboard buttons ALT+R at the same time.
This pops open a dialog.
Locate and click the Remote tab, place the code in and ok to finish.