Error: There is a { on line 416 that does not have a matching }

I’ve got a problem, which is literally killing me right now, I don’t know how to fix it.
Here’s my script:
if (French_with_Hazel){
@HAZLE faces left AND TUANA is think_rubchin
FLORA (talk_excited_happy)
See you later
TUANA (talk_neutral)
See you
@FLORA walks to spot 0.853 162 205 in zone 1
readers message Hazel is glad, your first subject in French
}else{
@HAZEL faces left AND TUANA is think_rubchin
HAZEL (talk_exhausted)
Wish me luck in French
HAZEL (talk_neutral)
See you later
TUANA (talk_neutral)
See you
@HAZEL walks to spot 0.885 223 216 in zone 1
readers message Flora is glad, your first subject is English
}

I hope someone, can help me.

There’s a problem with how you worded out your choices with the if/elif/else code, you placed the name of your choice in the brackets but you needed a word before the choices

If you look at this, she used FOOD as her choice name and “Spaghetti,” “Donuts”, and “Sandwich” for her actual choices, try taking a look at this!

1 Like

Thank you!

1 Like

Should be readerMessage

1 Like

I believe she’s using flags.

1 Like

Oh rip, my bad xD Dara to the rescue

1 Like

Oh, first time I’m using readerMessage xD

It’s still not working :confused:

} else { not }else{

Doesn’t change anything

Well sorry then :woman_shrugging:

No problen, thanks for trying tho

Did you fix both of the reader messages?

Yes

What’s the error this time? And can you post a screenshot of your script?

Error
Error2

You’re missing a parenthese ) on the “elif” line at the end

} elif (English_with_Flora ) {

1 Like

Thank you!! It works now!

1 Like

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