SO CONFUSED. Help needed

I’m so lost idk where to begin. I’ve been trying to use the gain method but im so lost. Can you tell me what i am doing wrong?31%20AM

@Dara.Amarie @JemU776

On the line of if (Pink Patterned Dress) you are missing a {

okay i added. i also deleted the one by “Pink Patterned Dress”. now i have an error that says unexpected else

How’s your code now?

31%20PM

Are you trying to code an outfit choice? Because if so it’s kinda wrong

It should be
YOU
I think I’ll choose…

Choice “dress 1” {
#scene
} “dress 2” {
#scene
} “dress 3” {
#scene
}
#episode continues

yes an outfit choice and i tried to use gain to make it easier

Easier to do what? Remember it?

yes

Well then the if/elif/else code should be separated from the actual outfit choice

alright i separated them. when should i add in the if/elif/else

Whenever you need the choice to be remembered!

1 Like

Got it thank you so much!

1 Like
YOU (think_rubchin)
(I think I'll choose...)

choice "Pink Patterned Dress" {
#scene
gain pink_patterned_dress
} "Black and White Beauty" {
#scene
gain bw_beauty
} "Burgundy Babe" {
#scene
gain burgundy_babe
}

#the episode goes on

When you want to remember the choice the reader made:

if (pink_patterned_dress) {
#scene
} elif (bw_beauty) {
#scene
} else {
#scene
}

This is more complete lmao

2 Likes

the errors gone thank you so much again. this can be closed :white_heart:

You have to @Sydney_H and ask her to close it

1 Like

@Sydney_H this can be closed :white_heart:

1 Like

Closed by OP request. :smiley: