Name command won't work until the game has reached that point where it becomes active. I promise you'll know when the game activates the NAME cmd.
It took me a while to figure out how the name command works. You're telling the terminal to NAME [the letter representing them] [what their title is] [first name] [last name].
My recommendation is play around with what you know already of how those codes work, and the files the game starts you with! <3