How to let readers choose their name

Here you go!

Script

label custom_name

input What’s Your Name?|What’s Your Name?|Done (FIRSTNAME)

if (FIRSTNAME is “”) {

    NARRATOR
What is your name?

goto custom_name

} else {

continue
}

@pause for 0.5

label custom_lastname

input What’s Your Last name?|What’s Your Last name?|Done (FIRSTNAMELASTNAME)

if (FIRSTNAME is “”) {

    NARRATOR
What is your last name?

goto custom_lastname

} else {

continue
}

    NARRATOR
Is [FIRSTNAME] [FIRSTNAMELASTNAME] your name?

choice
“Yes!” {
NARRATOR
Very well.
} “No, I did something wrong!” {
goto custom_name
}

1 Like