Error: Unexpected junk

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.

Let’s see your code

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:

“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…

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

Thank you so much!

1 Like