*if and *elseif not working

For some reason while using *if and *elseif isn’t working when it was before. Is there a problem with my code?

*if alignment "evil"
    text
    *choice

*elseif alignment "good"
    text
    *choice

*else
    text
    *choice

I cant figure out why it’s giving me an error.

What error are you seeing?

Well, it at least should be

*if alignment = "evil"
    text
    *choice

*elseif alignment = "good"
    text
    *choice

*else
    text
    *choice

You need the boolean operator.

On top of that, if you have a *choice there needs to actually be choices under it.

1 Like

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.