[HELP] How do I store character´s name into variable?

In the game player can choose character´s name. Using the command that let they type name just like in Zelda series. Then I want to store this name into a var for future use. It let me do things like letting the player to give fake names to npcs and compare with the var stored name and see if he is lying. I know how to make all the process except for the name storing into var thing.
 
Control Variables: [001: Real Name] = Script: $gameActors.actor(n).name


where n is the actor id (no leading zeros).
Control Variables: [001: Real Name] = Script: $gameActors.actor(n).name

where n is the actor id (no leading zeros).
where do I use this code?

EDIT

GOT IT! THANK YOU SO MUCH!

EDIT 2

When I use the \V[number of the var with no leading zero]  comand to show the name on message it just appear the code function(){return this._name;] then the message. should I use this code in any place to actually show the name?
sorry - $gameActors.actor(n).name()
sorry - $gameActors.actor(n).name()
Name appear but there is a zero besides it. Do you know what could be the problem? almost solved!

EDIT

for some reason the zero just disappeared without I doing anything. XD Thanks for all the help.

Original thread: https://forums.rpgmakerweb.com/threads/help-how-do-i-store-character-s-name-into-variable.50731/