Showing an actors name in textbox

So, i'm trying to make a cutscene were the player can change the name of an actor in a cutscene. I want to make it so the charecter goes "My name isnt [insert old name here] anymore, its..." Then a name input pops up, and then they yell the new name. Anyway to do that?
It should be doable to store the actor's name in a variable before you change it, and then call it in the message. $game_actors[n].name should work (from my quick test at least), just change 'n' to whatever the actor's ID is. I set an event up like this, and it worked:
example.png
Thanks. This helps a lot!
Glad it helped. 🙂

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/showing-an-actors-name-in-textbox.114087/