hey guys i need a little help here i'm trying to have mame plus exit when two keys are pushed for 2 seconds or longer. so i compiled mame plus 0.133 with this // For testing purposes: force DirectInput #define FORCE_DIRECTINPUT 1 my ahk script to exit that works for all emulator is this one: ; <COMPILER: v1.0.47.6> #InstallKeybdHook #SingleInstance force QuitWaitTime:=0 #Persistent SetTimer, WatchQuitCombo, 250 return WatchQuitCombo: if GetKeyState("5") AND GetKeyState("c") { SetTimer, ComboQuitDown, 100 SetTimer, WatchQuitCombo, Off } return ComboQuitDown: if GetKeyState("5") AND GetKeyState("c") { QuitWaitTime:=QuitWaitTime + 100 if QuitWaitTime >=2000 { Send {Blind}{Escape} QuitWaitTime:=0 SetTimer, WatchQuitCombo, 250 } } Else { QuitWaitTime:=0 SetTimer, WatchQuitCombo, 250 } return now i set mame to exit on the ESC Button but it's still not responding to this? DOes anybody know what is going wrong here?