Yep, that's it. You can also do it with a prompt, so the player will be able to put anything they want in:
#Prompt("What is your name?", playername[name]$)
Replace the 'playername' part with the original handle of the character (open up the character in the character editor and click on 'advanced').