I need a trigger for my upcoming campaign. This trigger is supposed to change the hero's name. I think that it will have to use substrings. The trigger is:
PickName Events Player - Player 1 (Red) types a chat message containing -Name as A substring Conditions Actions
I'm sorry, there's no way to change a hero's proper name via triggers.
If you're working from a small list of names, you could try re-creating the hero and testing its name until you get the one you want. Otherwise, you're out of luck.