Help choice wont show up!

Ok every thing but the last option shows could anyone help?

*label run

*page_break

You began to run, thinking quickly where could you hide?
You notice a tall and secluded tree on the far right
You also notice obvious, abandoned, hard to see mine
*choice
   #Hide in mine (15 Intelligence)
     *if intelligence > 14
         You stay quiet enough to where they don't notice. [i] Relationship with Amanzi increases [/i]
         *goto escapec2
     *else
         They hear you and kill you before you could explain
         *goto realcheckpoint2

   #Climb the tree (15 Agility)
     *if agility > 14
         You stay quiet enough to where they don't notice. [i] Relationship with Amanzi increases [/i]
         *goto escapec2.1
     *else
*if (power = "Earth")
         Anemos wind spirits see you|They kill you before you can explain

*if (power = "Fire")
         Anemos wind spirits see you|They kill you before you can explain

*if (power = "Water")
         Anemos wind spirits see you|They kill you before you can explain

*if (power = "Air")
         Kasai fire spirits see you|They kill you before you can explain
         *goto realcheckpoint2
   #Run(If you run you have to drop something valuable (-5 Skill(s) or items)

    *set agility -5
    *set intelligence -5
    *goto escapec2

*label escapec2

*label escapec2.1

yes I tried seperating it from the other *choice it wont work

Your *if statements fall out of the choice block. I think that’s what’s causing #run not to show up. Where are those *if statements supposed to be printed?

*if agility > 14
         You stay quiet enough to where they don't notice. [i] Relationship with Amanzi increases [/i]
         *goto escapec2.1
     *else
```'

There's nothing after that last *else--should the *if statements be indented under that?

The *if statements are supposed to be there, it’s for the different powers you possibly have.

@Gower the else isn’t indented and this worked last time I used this layout

*page_break

You began to run, thinking quickly where could you hide?
You notice a tall and secluded tree on the far right
You also notice obvious, abandoned, hard to see mine
*choice
   #Hide in mine (15 Intelligence)
     *if intelligence > 14
         You stay quiet enough to where they don't notice. [i] Relationship with Amanzi increases [/i]
         *goto escapec2
     *else
         They hear you and kill you before you could explain
         *goto realcheckpoint2

   #Climb the tree (15 Agility)
     *if agility > 14
         You stay quiet enough to where they don't notice. [i] Relationship with Amanzi increases [/i]
         *goto escapec2.1
     *else
       *if (power = "Earth")
         Anemos wind spirits see you|They kill you before you can explain

       *if (power = "Fire")
         Anemos wind spirits see you|They kill you before you can explain

       *if (power = "Water")
         Anemos wind spirits see you|They kill you before you can explain

       *if (power = "Air")
         Kasai fire spirits see you|They kill you before you can explain
         *goto realcheckpoint2
   #Run(If you run you have to drop something valuable (-5 Skill(s) or items)

    *set agility -5
    *set intelligence -5
    *goto escapec2

*label escapec2

But they need to be properly indented

Edit: I ran this code, and it worked. If you want the *if text to appear in a different place, then you need to put it in a different place, but the way you had it originally “blocked” your #run choice

Edit 2: @Gower is right about your *else. It may not have messed you up yet, but it will. You need to put something in the *else block, including a *goto

1 Like

I’ll run the code to check one second…

Thankyou it worked

1 Like

@sviyagin has got it I believe. It’s similar to the topic you had on this: Im having error choicebody troubles Help! - #7 by Szaal
Remember that whenever you use a #choice, *if, *else or any similar commands, the next line must be indented.
On that note, has the problem in the thread I linked above been solved? :slight_smile:

1 Like

Yeah I always check the indents but always miss the mistake shakes head:blush:

If it helps, you can use CSIDE to code! The program will automatically insert the correct indentations after commands, so it can really help in coding! There’s also colour coding to differentiate when you use different commands (such as #choice of *if).

It’s been my lifesaver :rofl:

I take code to that. :joy:

edit: I meant note