Can you help me with an error?!

Okay I keep getting errors to my script latetly…

I have yet another one and once again I cannot see the probleeeem

It’ saying unexpected block end: and something about maybe forgetting a curly branch or maybe forgetting to put choice at the begining. But I believe I have correct amount of curly branches and I have the chpice word. Any help Please ? :heart:
script:
MAX (think_rubchin)
Should I start a conversation?
choice “No” {

    MAX (idle_awkward_uneasy_loop)
(I think it'd be best to just stay quiet for the rest of the ride..)
(He seems a | underline |little| reset | irritated.)

LUCAS +1
}
“Yes” {
MAX (talk_neutral)
Oh yeah hey Lucas.
LUCAS (talk_argument_angry)
| bold , color:red |Shut the fuck up!
&MAX is react_shocked_awe
LUCAS (talk_argue_defensive)
Read the goddamn athmosphere!
LUCAS (idle_exhausted_loop)
(This damn idiot…)
MAX (react_sit_confused)
(Well that didn’t go well…)
(I better stay quiet for now.)
LUCAS -1
}

Old problem which was solved

So I’m trying to make a timed choice but for some reason it says error Unexpected string on the scond choice “Use a knife”.
I don’t understand what it means and how to fix it. I don’t see the problem with the choice.

Can anyone help me?

Here’s the script.
MAX
(The purple haired woman doesn’t seem to be checking her surroundings.)
label choice
MAX
(I should try and…)
choice [timed: 4] “Shoot her”{
MAX (listen_nod_happy_loop)
(I’ll start by trying to shoot her)

{ “Use a knife” {
MAX (listen_nod_happy_loop)
(I’ll start by trying to use a knife on her)
}

Another old solved poblem

I have another error on my script now it says that there isn’t a matching { }. I don’t see how it’s missing
Here’s the script. Error is suposed to be on this choice.

MAX
(…)
choice [timed: 4]
“Shoot” {
sound gunshot
@/MAX is shoot_gun_angry
@pause for 0.3
soound gunshot
@/MAX is shoot_gun_angry
@pause for 0.3
sound gunshot
@/MAX is shoot_gun_angry
@BODYGUARD2 is faint AND BODYGUARD3 is faint
}“Use a knife”{
@overlay DAGGER create

}“Kick”{
goto after
}

you put a { when it shall be a } when you end the first choice

1 Like

You have the bracket facing the wrong way before use a knife if you haven’t fixed that :heart:

@line123462 and @Problematic_Patrick Thank you! You were right. I totally missed that tiny problem. It works now

2 Likes

I have another error on my script now it says that there isn’t a matching { }. I don’t see how it’s missing
Here’s the script. Error is suposed to be on this choice.

MAX
(…)
choice [timed: 4]
“Shoot” {
sound gunshot
@/MAX is shoot_gun_angry
@pause for 0.3
soound gunshot
@/MAX is shoot_gun_angry
@pause for 0.3
sound gunshot
@/MAX is shoot_gun_angry
@BODYGUARD2 is faint AND BODYGUARD3 is faint
}“Use a knife”{
@overlay DAGGER create

}“Kick”{
goto after
}

sound is misspelled here

Oh yeah you’re right Thank you I didn’t see that. :heart:

Okay I keep getting errors to my script latetly…

I have yet another one and once again I cannot see the probleeeem

It’ saying unexpected block end: and something about maybe forgetting a curly branch or maybe forgetting to put choice at the begining. But I believe I have correct amount of curly branches and I have the chpice word. Any help Please ? :heart:
script:
MAX (think_rubchin)
Should I start a conversation?
choice “No” {

    MAX (idle_awkward_uneasy_loop)
(I think it'd be best to just stay quiet for the rest of the ride..)
(He seems a | underline |little| reset | irritated.)

LUCAS +1
}
“Yes” {
MAX (talk_neutral)
Oh yeah hey Lucas.
LUCAS (talk_argument_angry)
| bold , color:red |Shut the fuck up!
&MAX is react_shocked_awe
LUCAS (talk_argue_defensive)
Read the goddamn athmosphere!
LUCAS (idle_exhausted_loop)
(This damn idiot…)
MAX (react_sit_confused)
(Well that didn’t go well…)
(I better stay quiet for now.)
LUCAS -1
}

Anyonee? :no_mouth:

@lanafrazer_episode @Problematic_Patrick @line123462 @Dara.Amarie @JemU776

Can any of you help?

1 Like

OK so first of all, add an @ to LUCAS gaining and losing points.

@LUCAS +1

@LUCAS -1

Thanks that removed the error. :heart:

These errors are messing with my head when they just give a wrong error or something that dos not really have anything to do with the real issue :dizzy_face:

1 Like

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