Having trouble with choice script


#1

I’m having trouble with choice script can anyone tell me what I did wrong here.(the paragraph are structure weird in this paste.)

You were going through your fathers belongings when you saw the news.Gevalle, the sanctuary in
the center of the desert was overrun by Seteks.Gevalle was the stop point between trade routes without it
the sanctuaries are divided.A week later Izolim initiated a lockdown in fear of Seteks entering.There would be
no trading,leaving or entering.All messages from other sanctuaries would be intercepted and blocked.Despite
this you receieved a message saying,"${firstname},I know what happened to your father head to Varas".
*page_break
*if (Oone > 1)
*goto one
 *elseif (Otwo > 2)
 *goto two
  *elseif (Othree > 3)
  *goto three
*label one
You look at your father's old duster gear.You assumed he was killed by seteks....but...just..maybe it was something else.
You had to find out but how would you get past the lock down? You would have to talk to the sanctuary cheif,Kaylon, to
leave.You grab your fathers old gear and one of his signature revolvers then you head out.
*finish
*label two
You look at your fathers old shop.You assumed he was killed by seteks....but...just..maybe it was something else.
Business has been down since he died so you sell the shop for 2000 credits and head out to cheif Kaylon to request
permission to enter the desert.
*finish
*label three
You read through your fathers notes.You always figured he was killed for his research on Dust and if thats true
you need to find who killed him so you can recover your fathers work.You figure you could plead to cheif Kaylon
the possibilty of curing a seteks and be granted acess to the desert.
*finish

#2

I’ve wrapped your post in code tags (please re-paste your code between them if the indentation is still incorrect). Could you also provide the exact error you’re getting? Reports along the lines of “it doesn’t work, help” are far from helpful!

P.S. Welcome to the forums :slight_smile:


#3

Now that its posted it actually looks fine but the error is invalid indent,expected at least one line in if true block


#4

Try this:

*if (Oone > 1)
  *goto one
*elseif (Otwo > 2)
  *goto two
*elseif (Othree > 3)
  *goto three