I need coding help > choice

so, down below is my code. i want to put another if/else into an if/else alongside one choice. i do not know what i am doing wrong as it gives me this error:

input What is the password? | What is the password? | Unlock (CODE)

if (CODE is "Love Beyond Infinity") {

label correct_code

a lot of overlay stuff here

@speechbubble is 160 239 to 80%
        NARRATOR
    Welcome back, [MC] Desai.

a lot of overlay stuff here

} else {

@ASH +1

if (ASH>2) {

@speechbubble is 160 239 to 80%
NARRATOR
Incorrect password. Try again.

choice
"I don't know the password, fill it in for me."{

goto correct_code

}"I want to try it again"{

goto unlock_code

} 

} else (ASH<2) {

@speechbubble is 160 239 to 80%
        NARRATOR
    Incorrect password. Try again.

}
}

can anyone help me? or tell me what i am doing wrong?

It’s elif here, not else

1 Like

ah, alright! thank you. i will try this out.

1 Like

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