I need help with advanced choices!

I tried to use this code in my story

if (HELP_HENRY_YES) {

goto HELP_HENRY_YES

} elif (HELP_HENRY_NO) {

goto HELP_HENRY_NO

}

(HELP_HENRY_YES) {

but it says that I have an error and I’m not sure if I’m doing it right

1 Like

HOW TO: Remember Past Choices (if/elif/else) :rose:

And this: Tara explains: Ifs, elses, gains, labels, gotos and the points system! :cake2:

Also, this thread contains helpful resources:

"List" of Helpful Threads :candy:

4 Likes

You don’t have to put “elif” if you just have 2 options. The first one must be “if”, the last one must be “else”.
So you just have to put else where you wrote elif :blush:

2 Likes

Thanks sooooo much, you guys!!! You saved my story, by the way, my story is called “Let it Shine” I know it’s kinda rude to say but I’ve been so depressed since no one has read it. Thank you!!!
xoxoxxo

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