After each *input_text, the next line should start with the new choice:
*choice
#Mother
What is her name?
*input_text mother
*choice
#father
etc
#brother
etc
However, there’s a better way to do it.
*label name_choice
*choice
#Mother
What is her name?
*input_text mother
*goto name_choice
#father
What is his name?
*input_text father
*goto name_choice
#That's it
*goto next_part_of_the_story
This will keep the code more compact so you don’t need to keep repeating yourself. However, it’s awkward as the player can type the name again and again. We can make it better still by using a variable for each choice and the *if command:
Create these variables in startup (feel free to change the names)
*create mother_no 0
*create father_no 0
etc
Then use this code:
*label name_choice
*choice
*if (mother_no = 0) #Mother
*set mother_no +1
What is her name?
*input_text mother
*goto name_choice
*if (father_no = 0) #father
*set father_no +1
What is his name?
*input_text father
*goto name_choice
#That's it
*goto next_part_of_the_story
Now the choices will not be visible once they have been used once.
Now, using these variables further, you can set a limit to the number of people that can be named, or you can make sure every person is named. You can also make sure that the player selects at least 1 (or two or however many) before they can click #That’s it. (I’m guessing you don’t want them to choose that before picking at least 1 name).
Let’s look at that last part, using all 6 choices:
*label name_choice
*choice
*if (mother_no = 0) #Mother
*set mother_no +1
What is her name?
*input_text mother
*goto name_choice
*if (father_no = 0) #father
*set father_no +1
What is his name?
*input_text father
*goto name_choice
*if (guardian_no= 0) #Other guardian
*set guardian_no +1
What is their name?
*input_text other_guardian
*goto name_choice
*if (sister_no = 0) #Sister
*set sister_no +1
What is her name?
*input_text sister
*goto name_choice
*if (brother_no = 0) #Brother
*set brother_no +1
What is his name?
*input_text brother
*goto name_choice
*if (someone_no = 0) #Someone else
*set someone_no +1
What is their name?
*input_text someone_else
*goto name_choice
*if (((mother_no + father_no)+(guardian_no+sister_no))+(brother_no+someone_no)) >0 #That's it
*goto next_part_of_the_story
Now, the player can choose as many names as they like. They can’t choose ‘That;s it’ unless they have chosen at least 1 name. I hope this helps.