Crash Command

So for my game, I need a script command to crash the game what is that command exactly?
depends on what you want to be the crash.
the most primitive form would be to write anything in a script command, that will result in a syntax error crash because the computer will not recognize what you have written.
JavaScript:
close();

Execute that in an event and your game will immediately close. Feel free to put any graphical embellishments before it so it looks like stuff is glitching before executing it.
JavaScript:
close();

Execute that in an event and your game will immediately close. Feel free to put any graphical embellishments before it so it looks like stuff is glitching before executing it.
Thanks again kind stranger
Sure thing, glad I could help.

Original thread: https://forums.rpgmakerweb.com/threads/crash-command.119671/