Credit to @Jakisaurus for showing me this
This will run a .bat file to close the RotMG window (even when alt f4 and the like wont work)
-
Open note pad
-
2a. Replace “flashplayer_??_sa.exe” with “Realm of the Mad God.exe” for steam
-
Save the file as killrealm.bat.
-
There will now be both the txt and bat files on you computer.
-
Use a program like auto hotkey or if you have a mouse that can bind keys map a button to run the .bat file.
Now when you click the button this should happen