Error: Unexpected junk


#1

I tried doing a past choice today. I made two choices and put brackets, the word gain and everything. Yet when I update it and preview it gives me the error: unexpected junk but ONLY for the first choice. I even switched the choices up, and it was the same thing for the top choice.


#2

Let’s see your code


#3

Hello @jessy.writes, this is Sydney the Moderator!

This topic has been moved to Directing Helps and Tips since it involves coding/scriptin. If you have questions about anything, feel free to PM me and make sure to check out our Forum Tutorial for more info about where to correctly create topics. :wink:

Thanks for reading and have a good day :sunglasses:


#4

choice
“Keep it to yourself.” {
gain keep it to yourself
GEMMA (talk_unsure)
I can’t tell you…yet
}
“Tell her.” {
gain tell her
GEMMA (talk_sit_sheepish)
Honestly I need to get this off my chest…


#5

You can’t use spaces in gains. Use underscores instead. You should make it “gain keep_it_to_yourself” and “gain tell_her”.


#6

Thank you so much!