It says i did something wrong but idk what the error is

goto Main
LILIANA (think)
What should I do?
choice (get_ready) “Hair” {
@add Hair Brush to LILIANA
} “Makeup” {
@add Lipstick to LILIANA
} “Clothes”{
continue
}

if (get_ready is “Hair”) {
goto Hair
choice “Beach Waves” {
&add Hair Brush to LILIANA and LILIANA is primp_brush_hair
@LILIANA changes hair into Beach Waves
} “Straight” {
&add Hair Brush to LILIANA and LILIANA is primp_brush_hair
@LILIANA changes hair into Straight
}
NARRATOR
Are you sure?
choice “Yas Gurl” {
&remove Hair Brush from LILIANA
LILIANA (flirt_wink_forward)
Damn, my hair is nice.
goto Main
} “No Bih Go Back” {
&remove Hair Brush from LILIANA
LILIANA (talk_repulsed)
Ew, no go back.
goto Hair
}
}
elif (get_ready “Makeup”) {
goto Makeup
choice “Blush” {
&add Lipstick to LILIANA and LILIANA is apply_lipstick
@LILIANA changes mouthColor into Blush
} “Orange Crush” {
&add Lipstick to LILIANA and LILIANA is apply_lipstick
@LILIANA changes mouthColor into Orange Crush
} “Ruby Red” {
&add Lipstick to LILIANA and LILIANA is apply_lipstick
@LILIANA changes mouthColor into Ruby Red
} “Scarlet” {
&add Lipstick to LILIANA and LILIANA is apply_lipstick
@LILIANA changes mouthColor into Scarlet
}
NARRATOR
Are you sure?
choice “Yes it’s just lips.” {
&remove Lipstick from LILIANA
@LILIANA is blow_kiss
goto Main
} “These lips ain’t cute.” {
&remove Lipstick from LILIANA
LILIANA (talk_repulsed)
What even is this?
goto Makeup
}

}
else {
goto Clothes
NARRATOR
What would you like to wear?
choice “Sweater Time” {
@LILIANA is dustoff_loop
@LILIANA changes into casual_1
}
“Easy Breezy” {
@LILIANA is dustoff_loop
@LILIANA changes into casual_2
}
“Dark Mode” {
@LILIANA is dustoff_loop
@LILIANA changes into casual_3
}
NARRATOR
Are you sure
choice “How much cuter can I get?” {
LILIANA (strike_a_pose)
Damn, I’m cute as hell.
goto Main
} “What even is this” {
LILIANA (talk_repulsed)
This is horrible.
goto Clothes
}
}

What is the error message?

It says that there is { in a certain line and it doesn’t have a matching part to end it.

You have two brackets at the end facing the same way, take out the last one and see if that changes it. If it doesn’t then you have other ones in your script that don’t have closing ones but I don’t think that’s the case. Hope this helps!

If it’s just the way you’ve copy and pasted your script, ignore this.
But the word choice needs to be on its own separate line, without anything else on it.

E.g

choice
“Blah blah”{

I removed the second bracket and it still had the same message

I moved them all onto separate lines but it still said that I had an error with the brackets

If you click on the error message, it will take you to where the error actually is and you’ll likely see if there is an extra bracket or if you are missing a matching one.

I clicked on the error and I pressed all the brackets. They all closed, none of them are missing or have extras

You’re missing a closing bracket after goto Makeup. :tulip:

I added the bracket and I just had an extra bracket. have anymore suggestions as to how I can fix the error that I cant find

I’m still looking :wink: I’ll let ya know if I figure it out. :tulip:

Moved to Directing Helps and Tips since it’s about coding. Make sure to check out our Forum Tutorial for more info about where to correctly create topics, and feel to PM me if there are any questions. :wink:

label Main
LILIANA (think)
What should I do?
choice (get_ready)
“Hair” {
@add Hair Brush to LILIANA
goto hair
} “Makeup” {
@add Lipstick to LILIANA
goto makeup
} “Clothes”{
goto clothes
}

label hair
NARRATOR
Choose a hairstyle
choice
“Beach Waves” {
&LILIANA is primp_brush_hair
@LILIANA changes hair into Beach Waves
}
“Straight” {
&LILIANA is primp_brush_hair
@LILIANA changes hair into Straight
}
NARRATOR
Are you sure?
choice “Yas Gurl” {
@remove Hair Brush from LILIANA
LILIANA (flirt_wink_forward)
Damn, my hair is nice.
goto Main
} “No Bih Go Back” {
@remove Hair Brush from LILIANA
LILIANA (talk_repulsed)
Ew, no go back.
goto hair
}

label makeup
NARRATOR
Choose a lip shade.
choice
“Blush” {
&LILIANA is apply_lipstick
@LILIANA changes mouthColor into Blush
}
“Orange Crush” {
&LILIANA is apply_lipstick
@LILIANA changes mouthColor into Orange Crush
}
“Ruby Red” {
&LILIANA is apply_lipstick
@LILIANA changes mouthColor into Ruby Red
}
“Scarlet” {
&LILIANA is apply_lipstick
@LILIANA changes mouthColor into Scarlet
}
NARRATOR
Are you sure?
choice
“Yes it’s just lips.” {
@remove Lipstick from LILIANA
@LILIANA is blow_kiss
goto Main
}
“These lips ain’t cute.” {
@remove Lipstick from LILIANA
LILIANA (talk_repulsed)
What even is this?
goto makeup
}

label clothes
NARRATOR
What would you like to wear?
choice
“Sweater Time” {
@LILIANA is dustoff_loop
@LILIANA changes into casual_1
}
“Easy Breezy” {
@LILIANA is dustoff_loop
@LILIANA changes into casual_2
}
“Dark Mode” {
@LILIANA is dustoff_loop
@LILIANA changes into casual_3
}
NARRATOR
Are you sure
choice
“How much cuter can I get?” {
LILIANA (strike_a_pose)
Damn, I’m cute as hell.
goto Main
} “What even is this” {
LILIANA (talk_repulsed)
This is horrible.
goto clothes
}
}

This is extremely rushed :point_up: I’ve taken out the if/elif/else and replaced them with labels and gotos. I may have left out s couple of brackets but try this and see if it works :see_no_evil: let me know if any more errors!

Omg it worked thank you so much :pray::heart:

1 Like

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