Unexpected CHOICEPARAMS


#1

2630

What’s the problem here?


#2

You’re using straight brackets [ ] when you should be using curly brackets { }


#3

I’ve never had a problem with straight brackets before but I switched to curly and I still get an error


#4

Straight brackets are only used for dialogue purposes. Curly brackets should always be used for if/elif/else statements and choices.

What error are you getting now?


#5


#6

same error, posted pic
except this time it’s for the second option


#7

Try using “else” in place of “elif” and use “AND” instead of “and”


#8

else created more errors, I’ve published a story using “and” everywhere with no errors


#9

elif doesn’t cause errors like that. You can have AND or “and” either one works.


#10

Try capitalizing male and female.


#11

I don’t know as I have only used AND and whenever I used “and” it gave me an error saying…
“It is not a valid directing command”


#12

Have you tried refreshing the page? I just tested your code out word for word and I’m not getting any errors.


#13

I clicked save again and got CHOICEPARAMS error on a different section. I can’t tell what the problem is :confused:


#14

Which section is it at now?


#15

edited wrong comment, don’t remember what this said


#16

Make sure to change those straight brackets to curly brackets. I tested your code again but changed the curly brackets to straight brackets and I got the exact same error.


#17

in the process of doing so


#18

It worked! Thank you so much! I was under the impression the brackets were interchangeable


#19