HELP! There is a { on line 76 that does not have a matching }


#1

INT. JUVIE WELLES BEDROOM - DAY

@YOU changes into LADY CORDELIA_Sexy

@cut to zone 2
@YOU enters from left to screen center

if (prince_romance) {

@PRINCE enters from right to screen right

    YOU (talk_flirt_coy)
Hey Prince [PRINCE]!

    PRINCE (talk_flirt_charming)
Lady [LASTNAME]!

    PRINCE (talk_flirt_coy)
And looking as hot as ever.

@YOU is blush_shy

sound door_knock

@YOU is react_mortified and PRINCE is react_mortified

YOU (talk_startled_neutral)
Should I answer the door? It could be someone important!

PRINCE (talk_afraid)
I guess…but where should I go?

@YOU faces left and YOU is think_rubchin
@YOU faces right and YOU is think_rubchin

YOU (talk_shrug_concerned)
You could…

choice
“Jump out the window?” {

PRINCE (deepbreath)
Here goes nothing…

@PRINCE exits left and PRINCE is walk_scared_loop

sound crash_2

YOU (talk_sad_exhausted)
I hope he’s okay.

}
“Hide under the bed?” {

YOU (talk_think_neutral)
Why don’t you hide under the bed?

PRINCE (talk_afraid)
I guess I could try that.

@PRINCE walks to spot 0.803 120 276

}
“Hide in the closet?” {

YOU (talk_think_neutral)
Hide in the closet! There’s plenty of room there.

PRINCE (talk_sad_exhausted)
Ok. I’ll hide in the closet…

@PRINCE exits left


#2

You didn’t closed the choice “Hide in the closet?”
Put } after @PRINCE exits left


#3

I have tried that. Because after that part, this code comes…

}elif (casper_romance) {

(another scenario…)

It still says the same error


#4

Can you send a screenshot of the script…


#5

I now know the problem
You just placed one bracket

There should be another one Before elif option as there is a choice in the if option so write like this-
}
}elif (casper_romance){
(Scenerio)


#6

There are a few screenshots. I’ll send them one by one.


#7

See the reply above…


#8

Try it…
And why are you using elif are there three or more choices??


#9

Thank you so much! It worked. And yes there’s a 3rd option too. And theres a new error


#10

}
}elif (nicola_romance) {

@LADY NICOLA enters from right to screen right

    YOU (talk_flirt_coy)
Hey Lady Nicola!

    LADY NICOLA (talk_flirt_charming)
Lady [LASTNAME]!

    LADY NICOLA (talk_flirt_coy)
And looking as hot as ever.

@YOU is blush_shy

sound door_knock

@YOU is react_mortified and LADY NICOLA is react_mortified

    YOU (talk_startled_neutral)
Should I answer the door? It could be someone important!

    LADY NICOLA (talk_afraid)
I guess...but where should I go?

@YOU faces left and YOU is think_rubchin
@YOU faces right and YOU is think_rubchin

    YOU (talk_shrug_concerned)
You could...

choice
“Jump out the window?” {

    LADY NICOLA (deepbreath)
Here goes nothing...

@LADY NICOLA exits left and LADY NICOLA is walk_scared_loop

sound crash_2

    YOU (talk_sad_exhausted)
I hope she's okay.

}
“Hide under the bed?” {

    YOU (talk_think_neutral)
Why don't you hide under the bed?

    LADY NICOLA (talk_afraid)
I guess I could try that.

@LADY NICOLA walks to spot 0.803 120 276

}
“Hide in the closet?” {

    YOU (talk_think_neutral)
Hide in the closet! There's plenty of room there.

    LADY NICOLA (talk_sad_exhausted)
Ok. I'll hide in the closet...

@LADY NICOLA exits left
}


#11

What is the error??


#12

Is it the same?


#13

It says that there is a { on 218 with no matching }. The line 218 is … “}elif (nicola_romance) {”


#14

I have also put the bracket before that so there’s no problem before that part.


#15

Can you show a little bit after that??


#16

ok


#17

}
}elif (nicola_romance) {

@LADY NICOLA enters from right to screen right

    YOU (talk_flirt_coy)
Hey Lady Nicola!

    LADY NICOLA (talk_flirt_charming)
Lady [LASTNAME]!

    LADY NICOLA (talk_flirt_coy)
And looking as hot as ever.

@YOU is blush_shy

sound door_knock

@YOU is react_mortified and LADY NICOLA is react_mortified

    YOU (talk_startled_neutral)
Should I answer the door? It could be someone important!

    LADY NICOLA (talk_afraid)
I guess...but where should I go?

@YOU faces left and YOU is think_rubchin
@YOU faces right and YOU is think_rubchin

    YOU (talk_shrug_concerned)
You could...

choice
“Jump out the window?” {

    LADY NICOLA (deepbreath)
Here goes nothing...

@LADY NICOLA exits left and LADY NICOLA is walk_scared_loop

sound crash_2

    YOU (talk_sad_exhausted)
I hope she's okay.

}
“Hide under the bed?” {

    YOU (talk_think_neutral)
Why don't you hide under the bed?

    LADY NICOLA (talk_afraid)
I guess I could try that.

@LADY NICOLA walks to spot 0.803 120 276

}
“Hide in the closet?” {

    YOU (talk_think_neutral)
Hide in the closet! There's plenty of room there.

    LADY NICOLA (talk_sad_exhausted)
Ok. I'll hide in the closet...

@LADY NICOLA exits left
}

@pan to zone 3

@YOU enters from left to screen center

    YOU (callout_neutral)
Come in!

@LADY THEODORA enters from right to screen right

    YOU (talk_excited_happy)
Lady Theodora! It's such a pleasure to meet again!

    LADY THEODORA (talk_agree_happy)
Indeed!

    YOU (talk_holdfist_happy_loop)
So, what brings you here?

&YOU is idle_happy_loop

    LADY THEODORA (talk_sad_exhausted)
It's regarding the tantrum I had yesterday.

#18

Sorry I got caught up in something…


#19

Its fine :slight_smile:


#20

Have you did the same thing for else choice as well
I mean 2 brackets??