ERROR unexpected IF:if

Hi everyone! I’m creating a point system for my episode story. However, this error appears in this section of the point system:
07
Saying "error unexpected IF:if
I have been searching through the forums to check for an answer but I haven’t found anything that helps me!!!
I’m desperate to finish the point system as I have spent more than a day trying to get it right and I’m exhausted.
If any of you have any suggestions, please let me know!!
Thank you so much!
-Soul.

1 Like

else needs to be alone.
Take out the romance = 1

And on line 3605, change is to =

1 Like

Thank you so much!

1 Like

Thanks!!

1 Like

It still appears… I don’t know what I’m doing wrong :sweat:

Can you screenshot the error and the script?

else needs to be alone.
Remove the word kindness = 1 and the brackets from line 3615

Try changing line 3604 to

choice “Romance” {

I’m going to go nuts!!! The IF:if error doesn’t appear anymore but then this one appears…

Ok, I think I see what you are trying to do now… Try this for the whole thing…

label points
NARRATOR
What points would you like to check?
choice “Romance” {
if (ROMANCE = 0) {
NARRATOR
You have 0/1 romance points.
} else {
NARRATOR
You have 1/1 romance points.
}
goto points
] “Thief” {
if (THIEF POINTS = 0) {
NARRATOR
You have 0/1 thief points.
} else {
NARRATOR
You have 1/1 thief points.
}
goto points
} “I’m done” {
NARRATOR
Are you sure you’re done?
choice “Yes” {

} “No” {
goto points
}
}

It worked!!! Thank you so much :heart:

1 Like

No worries :blush:

Hello @epi.soul, this is Sydney the moderator. Welcome to the forum. :smiley: Moved to Directing Helps and Tips since this is 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:

1 Like

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