MZ Auto saving the game when exiting

Hey there! I've been wondering if there is any way to automatically save the game when the player exits, either through pressing the exit button on their window, or exiting through the menu.
Just a short, simple request.

Oh and, while I'm here, I want to ask if there is also any way to switch out "new game" and "continue" if a file exists or not in the game. To elaborate; if a file doesn't exist for the game, the play button will start a new game. And if a file already exists, then the play button will be switched out with a continue button.

Thanks!
RPG Maker MZ Does this already. To make it auto save in another engine may take scripting as a auto save will need a dedicated save slot that only can be saved to by the game.

Well to change the name of it is in the database under Terms. Sadly again in order to make the game stop allowing a new game if a save game is present would require some coding as your bypassing the core game code itself. Someone here with script or plug in knowledge is required I'm afraid.

Original thread: https://forums.rpgmakerweb.com/threads/auto-saving-the-game-when-exiting.151420/