Mizumi, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.
I assume you have 8 characters set up, and you want to add one of them to your party depending on the choices of the player. This is a bad design approach - whenever you want to do something with an actor, you will have to set up an 8-way conditional branch to determine WHICH actor to do it to.
Instead, have ONE actor in your Actors tab, and do as Baka-chan said. Have them choose their class, then use the Change Actor Class command to change that one actor to the correct class. Then have them choose their gender, and use a Change Actor Graphic command to change the one actor's sprite and face graphic. Then do a Name Input Processing to let your player name the one character.
You should also be more careful with your requests. The thread title indicates you want to use variables to add a certain actor to the party, which is the question Celianna answered. But your opening post had nothing at all to do with adding actors or using variables - instead you were asking how to name your character, which is what Baka-chan answered.