Help needed for branching

label QandA
NARRATOR
Q&A

choice
“How often do you update?” {
NARRATOR
I try to update at least twice per week but it depends on my schedule.
goto QandA

}“Can I customize my character again?” {
NARRATOR
I will see how many of y’all request it.
If there’s a demanding amount, then I’ll allow it.
goto QandA

} “Can I check my reputation points?” {
if (REPUTATION = 1) {
NARRATOR
You have 1/7 reputation points.
} elif (REPUTATION = 3){
NARRATOR
You have collected 3/7 reputation points.
} elif (REPUTATION = 5) {
NARRATOR
You have collected 5/7 reputation points.
} elif (REPUTATION = 7) {
NARRATOR
You have collected 7/7 reputation points.
}
goto QandA

}“Can I check my character points?” {
goto character_points
}“I’m done asking questions” {

    NARRATOR
Are you sure you're done asking questions?

choice
“Yes, I’m done.” {
goto QandAend
} “No, take me back.” {
goto QandA
}
}

label character_points

    NARRATOR
Which character points do you want to check?

choice
“Isra”{
if (ISRA = 0){
NARRATOR
You have collected 0/2 points for Isra.

} elif (ISRA = 1){
NARRATOR
You have collected 1/2 points for Isra.

} elif (ISRA = 2){
NARRATOR
You have collected 2/2 points for Isra.
}
goto character_points
} “Avery” {
if (AVERY = 0){
NARRATOR
You have collected 0/2 points for Avery.
} elif (AVERY = 1){
NARRATOR
You have collected 1/2 points for Avery.
} elif (AVERY = 2){
NARRATOR
You have collected 2/2 points for Avery.
}
goto character_points
}“Raphael”{
if (RAPHAEL = 0){
NARRATOR
You have collected 0/2 points for Raphael.
} elif (RAPHAEL = 1){
NARRATOR
You have collected 1/2 points for Raphael.
} elif (RAPHAEL = 2){
NARRATOR
You have collected 2/2 points for Raphael.
}
goto character_points
}“Reyes”{
NARRATOR
You have not interacted with Reyes in this episode.
goto character_points
}“Ezra”{
}if (EZRA = 1){
NARRATOR
You have collected 1/2 points for Ezra.
} elif (EZRA = 2){
NARRATOR
You have collected 2/2 points for Ezra.

goto character_points
}“Done”{
goto QandA
}
goto character_points

label QandAend
NARR
Done!

error shows
Unexpected string:
Done

“Ezra”{
if (EZRA = 1){
NARRATOR
You have collected 1/2 points for Ezra.
} elif (EZRA = 2){
NARRATOR
You have collected 2/2 points for Ezra.
}
goto character_points
}

thank you i’ll try it now

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.