I need some help coding

Let’s redirect you to some more guides first. (You’re not going to get rid of them all that easily. Sorry ;P)

The first guide specifically covers name and gender variables, so that should help you with your first question.

The other two guides are a bit less specific.