I would store the name chosen by the player in a variable (use Control Variables, choose the variable to use, then put $gameActors.actor(id).name into the script box - replacing
id with the id of the actor - no leading zeros).
Then if the name is going to change fairly frequently throughout the game, I'd do the rest of the logic in a common event that can be called from other events that would trigger a name change. The common event would have a series of tests, each one to add a suffix to the end of the game. Each test would consist of a series of conditional branches to check one aspect (their class, what quests have been completed, etc) and modify the name accordingly.
For instance (obviously use whatever spare variable number you have, instead of 5):
Code:
# Start with the name entered by the player
Control Variables: New Name (variable 5) = Original Name (the variable you copied the name into when the player first entered it)
# Add suffix for class
If Actor 1's Class = Kitten
Control Variables: New Name = Script: $gameVariables.value(5) + 'kit'
Else
If Actor 1's Class = Warrior
Control Variables: New Name = Script: $gameVariables.value(5) + 'paw'
End
End
# Add suffix for quest completion as warrior (the first one met will be the one chosen, so if you want the name to change with later quests, put them in order of earlier quests at the bottom, later quests at the top
If Actor 1's Class = Warrior
If Switch (25 prey caught) is ON
Control Variables: New Name = Script: $gameVariables.value(5) + 'whiskers'
Else
If Switch (other quest here) is ON
...
End
End
End
# change the actor name - put the actor id without leading zeros into the script, instead of the text 'id'
Script: $gameActors.actor(id).setName($gameVariables.value(5))
Then whenever something happens that might cause the name to change, do a Call Common Event so it rebuilds the name. If you want spaces, just add spaces in front of each suffix portion.
Edit: you could also use the nickname and just change the nickname during the game as things happen. But then you might need some plugins to show the name
and nickname instead of just the name whenever it occurs (in message boxes, in the menu, etc).