Change map names and events.

So i'm going on in my map and i'm wanting to make a tuturtal area but it seems hard right now...

How would i have where if the player was to loose the battle they would stay alive but not activate the

next event and instead the man would say oh you failed to kill him! try again,

Next as well how would i have a event change the name of a map in game? 
As for the first one there is an On Defeat handler when you create a battle processing event, so what I would do is have a loop that contains the battle process then On Win it will have Break Loop and then on defeat your message and possibly a Recover All event. It will then just keep replaying the battle until the player wins.

As for the second one I believe this can only be done via scripting something along the lines of $game_map.display_name = "New Name", but I'm not sure.
Belone was right on the first part (check "on lose" at the battle processing command), but to change the map name you'll need an entire script, not only a small line of script commands. There should be one or two such scripts on the master script list.

Original thread: https://forums.rpgmakerweb.com/threads/change-map-names-and-events.16313/