Author Topic: Quit AM After Holding Button Down For Some Time  (Read 1876 times)

theamity9

  • Jr. Member
  • **
  • Posts: 12
    • View Profile
Quit AM After Holding Button Down For Some Time
« on: May 07, 2018, 08:47:02 PM »
Is there a script to have AM close only when the close AM hotkey has been held down for a defined duration of time?

And so it'll ignore it if the button was only pressed regularly?


Code: [Select]
if(ESC is_pressed_for(100)){
   exit;
}
« Last Edit: May 07, 2018, 08:52:12 PM by theamity9 »