Do you really want to quit script

i need a script that can show "are you sure you want to quit" when the user wants to exit is there anyone that is a script like that i would appreciate that a whole lot
Wow no reply oh well its fine if no one has one
The way I have things set up in my game is done by simple eventing. No need for script, but this IS for non-menu quitting. That is to say, have a save point in your maps, not in your menu (or also in your menu, I won't judge). 


The event would go like this. 

Spoiler
Insert Label "Save" (or whatever you want)


MULTIPLE CHOICE

  • Save Game

----"Open Save Game Event Here"

  • Quit To Title

----Text: "Are you sure you want to quit?" 


----Multiple Choices: YES and NO


----------When yes, Return to Title Screen event.


----------When no, Jump to Label "Save" (or whatever you want. This'll send you back to the previous multiple choice "menu") 

  • Cancel (make this an empty multiple choice event, so that you exit your "menu"



This'll help, but this won't work for the in-menu "Quit" options. There might be a way to make this a "Common Event" and then get a script to replace your Quit option in-menu with something else that'll run that Common Event?

Original thread: https://forums.rpgmakerweb.com/threads/do-you-really-want-to-quit-script.54814/