Sometimes Bracket "Error " is readerM(m)essage Error!

Hope this helps! If someone made this post already then sorry!

I had an “error” message : ERROR There is { on line (whatever # line it is) that does not have a matching }
Turns out the issue was the readerMessage within my choices. I had readermesssage when it needed to be readerMessage with an uppercase ‘M’!
This isn’t always the case! It can actually be that you’re missing a bracket lol
But if you have a readerMessage within your brackets, double check and see :slight_smile:

Sidenotes:
Hope episode creates an appropriate error message for readerMessage.
I spent an hour suffering, dramatically groaning, and mumble cursing.
Don’t be like me :sob: :sob: :sob:

1 Like

When you get the error message that says you have a missing bracket, it usually means that you have a missing bracket.

But if you checked and all brackets are there, then it means that you have an error somewhere inside those brackets. In some cases it’s the misspelled “readerMessage” like you said above. Other times it’s a completely different error that you have to look closely to find.

1 Like

Okay, I do not have a readerMessage but this keeps popping up for some reason. It was perfectly fine a short time ago. Please help…

1 Like

Hmmm . . . take out the bracket from line 1300? Don’t think it belongs there :thinking:

That bracket belongs to the “to_class” choice. I tried that only to have the error move up a line

1 Like

Gotcha try putting the ifs beside the last }s

}if (choice description)

Also, if you have 3 choices I think it’s supposed to be if, elif, else. Could be that too?

I tried that…did not work either :sweat:

if(told_truth){

}elif(to_class){

}else{
Script for run_like_a_coward here
}

I don’t see any other error :grimacing:

Odd :thinking: Not sure what I else I can do :sob: I hope it gets fixed soon!

May god bless you, your family, your stories and everything you touch. You, my ladies, just saved my bacon.

2 Likes

May god bless you, your family, your stories and everything you touch. You, my ladies, just saved my bacon.

(I did not understood what you meant until Jade was very kind to show me how it worked. Thank you guys SOOOOOOOOOOOOOOOO MUCH!!!)

2 Likes

Oh okay! Lol. I’m sorry I didn’t do the while code :joy: Glad it’s working now!!!