ERROR Missing bracket! { } please help!

Hiiiii! :smiley:
made an account just so I can ask this,
it says in the error box that "there is a { on line 588 that does not have a matching }"

I’m so confused because my code is right (i think) and it’s a

if(xyz) {

} else { (line 588)

}

but it says that’s wrong

I know this is a lot of code but I’m going to post the entire code of the error so you guys have a better idea, (the code is the same in each choice its just changing the character from ALICE to CALEB because its like a who do you want to ride in the car with kinda scene

if (ride_with_caleb) {

@CALEB spot 1.086 -155 -100
&overlay CAR SIDE BROWN shifts to -312 -4 in zone 3 in 3.8
@CALEB walks to spot 1.086 136 -77 in 4 AND CALEB is idle

&overlay CAR SIDE BROWN scales to 1.000 1.000

@DELILAH is wave_extreme AND DELILAH faces left
@pause for a beat
@DELILAH walks to spot 1.075 179 9 in 2

@DELILAH is take_object_neutral

@pause for a beat

@DELILAH is transition_stand_to_squat_neutral

@DELILAH spot 0.985 68 -28 AND DELILAH faces right AND DELILAH is dustoff_neutral_loop

@pause for a beat

    CALEB (talk_agree_happy)
Ready to go?

    DELILAH (talk_agree_happy)
Yup!

@CALEB is take_object_neutral
sound car_breakdown
@pause for a beat
sound car_peelout
@overlay CAR SIDE BROWN shifts to -1 -8 in 3.8 in zone 3 AND CALEB walks to spot 1.086 447 -82 in 3.8 AND DELILAH walks to spot 0.985 386 -24 in 3.8 AND DELILAH is idle AND CALEB is idle
@overlay CAR SIDE BROWN scales to 1.000 1.000

EXT. MANHATTAN SKYLINE CAR LOOP - DAY with CAR SIDE BROWN

sound car_running_lp
@overlay CAR SIDE BROWN shifts to -355 -4
@overlay CAR SIDE BROWN scales to 1.180 1.180
@DELILAH spot 1.280 100 -136 AND CALEB spot 1.280 174 -137 AND DELILAH faces right AND CALEB faces right
@pause for 3
sound car_enginerev

@overlay CAR SIDE BROWN shifts to -2 -3 in 3 AND DELILAH walks to spot 1.280 404 -124 in 2.8 AND CALEB walks to spot 1.280 464 -116 in 2.8 AND DELILAH is idle AND CALEB is idle
@overlay CAR SIDE BROWN scales to 1.180 1.180

music juvie_radiosong

EXT. CITY HIGHWAY LOOP - DAY with CAR SIDE BROWN

sound car_running_lp

@DELILAH spot 1.280 -65 -127
@CALEB spot 1.280 -31 -133

@overlay CAR SIDE BROWN scales to 1.180 1.180
@overlay CAR SIDE BROWN shifts to -514 -9

@overlay CAR SIDE BROWN shifts to -1 -5 in 5 AND DELILAH walks to spot 1.280 404 -124 in 4.7 AND CALEB walks to spot 1.280 387 -126 in 3.8 AND DELILAH is idle AND CALEB is idle

@overlay CAR SIDE BROWN shifts to -912 -6
@overlay CAR SIDE BROWN scales to 1.000 1.000

@CALEB spot 1.086 -421 -89
@DELILAH spot 1.086 -399 -73

@overlay CAR SIDE BROWN shifts to -226 -2 in 5 AND CALEB walks to spot 1.086 216 -72 in 5 AND DELILAH walks to spot 1.086 163 -71 in 5 AND CALEB is idle AND DELILAH is idle
&overlay CAR SIDE BROWN scales to 1.000 1.000

@zoom reset

@CALEB is dustoff_neutral_loop
@pause for 1
@CALEB is transition_squat_to_stand_neutral
&overlay CAR SIDE BROWN moves to layer 2 AND DELILAH moves to layer 1
@CALEB spot 1.222 242 -28 AND CALEB is dustoff_neutral_loop AND CALEB moves to layer 3
@CALEB walks to spot 1.222 430 -27
@CALEB moves to layer 1 AND CALEB walks to spot 1.222 242 -28
@CALEB faces left AND CALEB is take_object_neutral AND DELILAH is transition_squat_to_stand_neutral
@DELILAH spot 1.162 150 -16 AND DELILAH is dustoff_neutral_loop

    DELILAH (admire_happy)
Thanks!

    CALEB (talk_agree_happy)
Ready to go?

@DELILAH is listen_nod_happy_loop

@follow DELILAH to screen center in zone 3 AND CALEB walks to screen center in zone 3
@DELILAH exits right AND CALEB exits righ

EXT. ST ANDREWS HIGH SCHOOL - DAY

sound classroom_laughter

@MAC spot 0.507 -44 234 AND MAC walks to spot 0.477 357 242 in 6 AND MADDY spot 0.236 21 334 AND MADDY faces right AND MADDY is laugh_crackup AND MADDY moves to layer 1 AND MARK spot 0.254 64 344 AND MARK faces left AND MARK is idle_sit_leanforward_bobhead_loop AND MARK moves to layer 1 AND MANNY spot 0.578 172 195 AND MANNY faces left AND MANNY is talk_whisper_unsure AND MANNY moves to layer 3 AND pause for 30 AND PIPER spot 0.389 222 296 AND PIPER is talk_apathetic AND PIPER moves to layer 1 AND pause for 30 AND ALICE spot 0.386 248 289 AND ALICE faces left AND ALICE is listen_nod_neutral_loop AND ALICE moves to layer 1 AND MALI spot 0.420 205 279 AND MALI is idle_loop_rear AND MALI moves to layer 1 AND MAX spot 0.578 119 198 AND MAX faces right AND MAX is talk_agree_happy AND MAX moves to layer 3 AND MAYA spot 0.265 298 335 AND MAYA is talk_phone_excited_loop

@zoom on 138 189 to 361% in 0
@MANNY is laugh_chuckle AND MAX is laugh_giggle

@zoom on 242 232 to 533% in 0
@PIPER is eyeroll_sarcastic_atcamera AND ALICE is admire_happy AND MALI is read_phone_loop_rear

} else { (line 588)

@ALICE spot 1.086 -155 -100
&overlay CAR SIDE BROWN shifts to -312 -4 in zone 3 in 3.8
@ALICE walks to spot 1.086 136 -77 in 4 AND ALICE is idle

&overlay CAR SIDE BROWN scales to 1.000 1.000

@DELILAH is wave_extreme AND DELILAH faces left
@pause for a beat
@DELILAH walks to spot 1.075 179 9 in 2

@DELILAH is take_object_neutral

@pause for a beat

@DELILAH is transition_stand_to_squat_neutral

@DELILAH spot 0.985 68 -28 AND DELILAH faces right AND DELILAH is dustoff_neutral_loop

@pause for a beat

    ALICE (talk_agree_happy)
Ready to go?

    DELILAH (talk_agree_happy)
Yup!

@ALICE is take_object_neutral
sound car_breakdown
@pause for a beat
@overlay CAR SIDE BROWN shifts to -1 -8 in 3.8 in zone 3 AND ALICE walks to spot 1.086 447 -82 in 3.8 AND DELILAH walks to spot 0.985 386 -24 in 3.8
@overlay CAR SIDE BROWN scales to 1.000 1.000

EXT. MANHATTAN SKYLINE CAR LOOP - DAY with CAR SIDE BROWN

sound car_running_lp
@overlay CAR SIDE BROWN shifts to -355 -4
@overlay CAR SIDE BROWN scales to 1.180 1.180
@DELILAH spot 1.280 100 -136 AND ALICE spot 1.280 174 -137 AND DELILAH faces right AND ALICE faces right
@pause for 3
sound car_enginerev

@overlay CAR SIDE BROWN shifts to -2 -3 in 3 AND DELILAH walks to spot 1.280 404 -124 in 2.8 AND ALICE walks to spot 1.280 464 -116 in 2.8 AND DELILAH is idle AND ALICE is idle
@overlay CAR SIDE BROWN scales to 1.180 1.180

music juvie_radiosong

EXT. CITY HIGHWAY LOOP - DAY with CAR SIDE BROWN

sound car_running_lp

@DELILAH spot 1.280 -65 -127
@ALICE spot 1.280 -31 -133

@overlay CAR SIDE BROWN scales to 1.180 1.180
@overlay CAR SIDE BROWN shifts to -514 -9

@overlay CAR SIDE BROWN shifts to -1 -5 in 5 AND DELILAH walks to spot 1.280 404 -124 in 4.7 AND ALICE walks to spot 1.280 387 -126 in 3.8 AND DELILAH is idle AND ALICE is idle

EXT. MANTUA STREETS - DAY with CAR SIDE BROWN

@overlay CAR SIDE BROWN shifts to -912 -6
@overlay CAR SIDE BROWN scales to 1.000 1.000

@ALICE spot 1.086 -421 -89
@DELILAH spot 1.086 -399 -73

@overlay CAR SIDE BROWN shifts to -226 -2 in 5 AND ALICE walks to spot 1.086 216 -72 in 5 AND DELILAH walks to spot 1.086 163 -71 in 5 AND ALICE is idle AND DELILAH is idle
&overlay CAR SIDE BROWN scales to 1.000 1.000

@zoom reset

@ALICE is dustoff_neutral_loop
@pause for 1
@ALICE is transition_squat_to_stand_neutral
&overlay CAR SIDE BROWN moves to layer 2 AND DELILAH moves to layer 1
@ALICE spot 1.222 242 -28 AND ALICE is dustoff_neutral_loop AND ALICE moves to layer 3
@ALICE walks to spot 1.222 430 -27
music off
@ALICE moves to layer 1 AND ALICE walks to spot 1.222 242 -28

music ambient-birds

@ALICE faces left AND ALICE is take_object_neutral AND DELILAH is transition_squat_to_stand_neutral
@DELILAH spot 1.162 150 -16 AND DELILAH is dustoff_neutral_loop

    DELILAH (admire_happy)
Thanks!

    ALICE (talk_agree_happy)
Ready to go?

@DELILAH is listen_nod_happy_loop

@follow DELILAH to screen right zone 3 AND ALICE walks to screen right in zone 3
@DELILAH exits right AND ALICE exits right

EXT. ST ANDREWS HIGH SCHOOL - DAY

sound classroom_laughter

@MAC spot 0.507 -44 234 AND MAC walks to spot 0.477 357 242 in 6 AND MADDY spot 0.236 21 334 AND MADDY faces right AND MADDY is laugh_crackup AND MADDY moves to layer 1 AND MARK spot 0.254 64 344 AND MARK faces left AND MARK is idle_sit_leanforward_bobhead_loop AND MARK moves to layer 1 AND MANNY spot 0.578 172 195 AND MANNY faces left AND MANNY is talk_whisper_unsure AND MANNY moves to layer 3 AND pause for 30 AND PIPER spot 0.389 222 296 AND PIPER is talk_apathetic AND PIPER moves to layer 1 AND pause for 30 AND CALEB spot 0.386 248 289 AND CALEB faces left AND CALEB is listen_nod_neutral_loop AND CALEB moves to layer 1 AND MALI spot 0.420 205 279 AND MALI is idle_loop_rear AND MALI moves to layer 1 AND MAX spot 0.578 119 198 AND MAX faces right AND MAX is talk_agree_happy AND MAX moves to layer 3 AND MAYA spot 0.265 298 335 AND MAYA is talk_phone_excited_loop

@zoom on 138 189 to 361% in 0
@MANNY is laugh_chuckle AND MAX is laugh_giggle

@zoom on 242 232 to 533% in 0
@PIPER is eyeroll_sarcastic_atcamera AND CALEB is admire_happy AND MALI is read_phone_loop_rear

}

please help me this is annoying me so much XD and I really need your help because I really want to be able to publish my first story soon :smiley:

Many thanks!!

1 Like

You mean right

1 Like

Hiya! :wave:

The error-finder likes to default to “there is a missing bracket on line __” when there’s a different error inside a bracket, it gets all confused and stuff.

(Jem beat me to finding the error but yeah, let us know if it still doesn’t work haha :+1: )

1 Like

Lol, usually I see the dash lower ( _ )

@Scarlet_Sapphire There’s so much code, I’m still going over it :joy:

2 Likes

Just ignore them, flag, and let them see their consequences =p

2 Likes

ahhah ikr there was actually more! :joy:

1 Like

Sorry, I went somewhere haha…have all errors on this been cleared or do you still need me to look over your whole code?

1 Like

Thank you so much!!! it was this with a combo of me not being able to spell ‘right’!!

thank you so much :joy: you made my day!

1 Like

Glad to hear, good luck with everything :yay:

2 Likes

Thanks! i hope you have a great day!!!

1 Like

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