How to get NPCS to say Main Characters Name?

OK, so I set up a system where you get to choose whether you are a boy or a girl, your name, and your class. So how do I make the Npcs say the name that the player entered? If I simply say \N[1] then if the player chose the second main character the NPC would say the wrong name.
@TicklishWasabi It is either by changing the actor name and graphics when the player chooses the gender.
(With this, you can keep using \N[1] for every NPCs to show the right name.)

OR
provide characters for each gender.
\N[1] if 'boy' was chosen, \N[2] if 'girl' was chosen.

There might be another solution tho. Good luck, hope it helps! :hwink:
Edit: Okay, I managed to fix the problem by setting the action to ask your name first, then gender. And to change genders, I simply changed the actor graphics to the corresponding choice. (As suggested) But I ran into another pitfall. The graphic will change from the base form into any graphic for the "boy option" , but will not change at all for the "girl" option.

Edit: GOT IT.. Ok so I figured out that when I chose the male graphic, it naturally fell under actor 001, while the female graphic fell under 006, which is why It didn't change anything, because I wasn't changing the graphic of the main character. After switching 006 too 001 it worked. Thanks for your help btw!

Original thread: https://forums.rpgmakerweb.com/threads/how-to-get-npcs-to-say-main-characters-name.86801/