Script to reset game as if opening a new file?

What I'm looking for is fairly simple, I just need some sort of script I can call to reset the game back to the very start. Character starting position, resetting all switches, self switches, variables, removing all items, skills, etc. complete blank slate. I have found script calls to return the player to the main menu but what I'm looking to do is completely skip past the menu and all that and just dive straight back into the game, as if it were a new file. Am I missing something or would this take more than I'm thinking to accomplish?
There's a thread about this:

Original thread: https://forums.rpgmakerweb.com/threads/script-to-reset-game-as-if-opening-a-new-file.168926/