	Keys:
Quit = Escape

A button = Z
B button = X
Select = C
Start = V
Joypad = Arrows

F4 = Save State
F7 = Load State
0-9 = Select State

************************************************************************************
Note: NEVER close the emulator by hitting the X button in the corner of the window.
ALWAYS close the emulator by hitting escape!
************************************************************************************

	Installation:
Put mIRCNES.EXE in your base mirc directory.

Put these aliases in your mIRC aliases, and make sure aliases are enabled:

nes {
  echo $active 0,4-=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=-=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=-
  echo $active 0,4-=*=- Keys are: Z = A, X = B, C = Select, V = Start, Arrows are the Arrows, Escape Quits -=*=-
  echo $active 0,4-=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=-=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=-
  echo $active 0,4
  echo $active 0,4-=*=- Warning!  Never close window with the X box!  Always hit escape!  If you do close it with the X box, hit escape to properly quit mIRCNES or the process will stay open! -=*=-
  %neschan = $active
  %tp = $1-
  if (($len(%tp) > 0) && ($exists(%tp))) { .ddeserver on mIRCNES | .window -ap @NES 0 0 256 240 | .run mircnes.exe " $+ %tp $+ " | goto end }
  else { echo $active 0,0 | echo $active 0,4-=*=- Error!   Usage: /nes [ROM Name] -=*=- }
  :end
}

nesquit {
  window -c @NES
  .ddeserver off
  unset %neschan
  unset %tp
}
