Crashing On Command?

I Just Want To Have A Spot In My Game Where It Crashes.  Think Flowey.  

Spoiler
Omega Form Flowey
In an event, go to the third tab, click script, then do something illegal, like referencing a variable that doesn't exist, or dividing 1 by 0.
If you want a custom error, use msgbox("Text") and then... I think it's "__end__" not sure, don't have ace on me right now,
msgbox("ERROR!")
exit


Use that if you want a custom error message, otherwise use the script and just type "exit" to crash the game without an error message.
msgbox("ERROR!")
exit


Use that if you want a custom error message, otherwise use the script and just type "exit" to crash the game without an error message.

Ah so it was exit. Goes to show how bad my memory is 😛
Think Flowey.  

Spoiler
Omega Form Flowey



This is not good.


If you want to reference a game, provide a link to it and explain the mechanic.  Do not assume anyone else has ever heard of or played the game.
Just Skip To 40:21. 
So is your question answered? I can confirm that exit works, just tested it in my copy of Ace.

Spoiler
3dV4EcP.png

YVC66yI.png
Yep! Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/crashing-on-command.55411/