Personally, I don’t see a point to enforcing capitalization for player-inputted names; if someone wants to be stylized as e e cummings or Johannes van der Meer who am I to crush their dreams? Live your best fictional life, Victor d’Hondt.
If user error is a concern, you could always have a “Your first name is ‘aaaaaaaaron’? Are you sure?” confirmation question. Or do what Fallen Hero does:
*input_text name
*comment check capitalization
*if ("${name}" != "$!{name}")
Your name is $!{name}, right?
*choice
#Yes.
*set name "$!{name}"
*goto lastname
#No, my name is ${name}, just as I spelled it.
*goto lastname
If I for some reason did want to force capitalization, I’d cap it then and there
*input_text name
*set name "$!{name}"
and call it a day.
IMO, $!{var} is best used when the variable in question should sometimes be capitalized and sometimes be lowercase. If it should literally always be capitalized, why not capitalize it from the start? Quicker and less error-prone than trying to ensure every single reference to the player’s name is typed as $!{name}.
