Script Error Using If/Elif/Else Code


#1

Hey Guys:wave:t2:

So I have been starting creating my first Story on Episode!
And i’m sure every new User is having problems with different codes
on the Writer’s Portal.

I’m having problems using the If/Elif/Else code for knowing past choices between Episodes.

I wanted that the Reader will see their choosed Outfit in the next Episode.
This is what I did:
error

Apparently It said:" ERROR
There is a { on Line 11 that does not have a mathing.}

And I don’t know what to do.
Could anyone please help me here? I would be happy for any Help!:slightly_smiling_face:

Owen


#2

Did you use } after line 13?


#3

No, I wrote:
.{else.}


#4

all in Line 11


#5

Use } after else than it should work.

} else {

@HANNAH changes into HANNAH_outfit3
}


#6

Oh, Okay. Thanks for your Help!:slightly_smiling_face:


#7

You’re welcome :slight_smile: Please tell me if it works


#8

It did! Thanks!:slightly_smiling_face:


#9

Great! :slight_smile:


#10

Hello @episode.owen, this is Sydney the Moderator and we welcome you to the Episode Forums!

This topic has been moved from Writer’s Portal Bug to Creator’s Corner Directing Helps and Tips. If you have any questions, 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:


#11

Dear @Sydney_H , that is alright for me!:grin:

New Users of Episode will see the Mistakes I did and will know
how to fix it incase they will have the same Problems like I did!

Have a nice Day!

@episode.owen