# Choicescript help again

**URL:** <https://forum.choiceofgames.com/t/choicescript-help-again/15598>\
**Category:** ChoiceScript Help\
**Created:** [March 12, 2016, 1:23am UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598 "2016-03-12T01:23:33Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Crav\_Stienbak](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/crav_stienbak/32/9323_2.png) [@Crav\_Stienbak](https://forum.choiceofgames.com/u/Crav_Stienbak)\
**Post date:** [March 12, 2016, 1:23am UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/1 "2016-03-12T01:23:33Z")

</div>

how do i make certain options available for example

Hey! stop that filthy pickpocket

you run over and stop him(requires 10 strength)

---

<div class="post-metadata">

**Author:** ![fantom](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fantom/32/8537_2.png) [@fantom](https://forum.choiceofgames.com/u/fantom)\
**Post date:** [March 12, 2016, 2:06am UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/2 "2016-03-12T02:06:20Z")

</div>

This should work.

```
*choice
	#Help! A thief!
		Run away
		*goto run
	*selectable_if (strength > 10) #Hey! Stop that filthy pickpocket!
			You run over and stop him
			*goto stop
```

---

<div class="post-metadata">

**Author:** ![Crav\_Stienbak](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/crav_stienbak/32/9323_2.png) [@Crav\_Stienbak](https://forum.choiceofgames.com/u/Crav_Stienbak)\
**Post date:** [March 12, 2016, 2:51am UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/3 "2016-03-12T02:51:44Z")

</div>

the second option is greyed out

---

<div class="post-metadata">

**Author:** ![fantom](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fantom/32/8537_2.png) [@fantom](https://forum.choiceofgames.com/u/fantom)\
**Post date:** [March 12, 2016, 3:07am UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/4 "2016-03-12T03:07:02Z")

</div>

If you don’t want the option to appear at all if unless they meet the criteria, change \*selectable\_if to just \*if.

---

<div class="post-metadata">

**Author:** ![Havenstone](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/havenstone/32/198451_2.png) [@Havenstone](https://forum.choiceofgames.com/u/Havenstone)\
**Post date:** [March 12, 2016, 4:32am UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/5 "2016-03-12T04:32:55Z")

</div>

> [@Crav\_Stienbak](#):
>
> the second option is greyed out

Because you don’t have 10 strength. You need to create that stat and set it to at least 10 for it to be selectable.

Have you read the into to ChoiceScript and the wiki?

---

<div class="post-metadata">

**Author:** ![Just\_Because](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/just_because/32/8462_2.png) [@Just\_Because](https://forum.choiceofgames.com/u/Just_Because)\
**Post date:** [March 12, 2016, 1:05pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/6 "2016-03-12T13:05:59Z")

</div>

I would recommend reading this:  
[Choicescript Intro](https://www.choiceofgames.com/make-your-own-games/choicescript-intro/) (And what comes next)  
[The Choicescript Wiki](http://choicescriptdev.wikia.com/wiki/ChoiceScript_Wiki) (I was too lazy to find the exact page)  
[And Some Forum Topics](https://forum.choiceofgames.com/t/hiding-choices/11962) (I included one that had some info on greyed out vs. hidden in the comments, not the initial post).

---

<div class="post-metadata">

**Author:** ![liam12361](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/liam12361/32/130010_2.png) [@liam12361](https://forum.choiceofgames.com/u/liam12361)\
**Post date:** [March 16, 2016, 2:40pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/7 "2016-03-16T14:40:53Z")

</div>

I am thinking about making my own game, do i need all that legal stuff at the beginning

---

<div class="post-metadata">

**Author:** ![ToxicDreams](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/toxicdreams/32/79873_2.png) [@ToxicDreams](https://forum.choiceofgames.com/u/ToxicDreams)\
**Post date:** [March 16, 2016, 2:47pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/8 "2016-03-16T14:47:34Z")

</div>

I’m guessing you’re talking about the copyright stuff that appears on the startup page. And if so then firstly it won’t appear in your game either way because of the coding that’s beside it. So truthfully erasing it won’t make much of a difference.

So . . . no you don’t.

---

<div class="post-metadata">

**Author:** ![liam12361](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/liam12361/32/130010_2.png) [@liam12361](https://forum.choiceofgames.com/u/liam12361)\
**Post date:** [March 16, 2016, 2:54pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/9 "2016-03-16T14:54:29Z")

</div>

ok thanks, thats really helpful

---

<div class="post-metadata">

**Author:** ![liam12361](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/liam12361/32/130010_2.png) [@liam12361](https://forum.choiceofgames.com/u/liam12361)\
**Post date:** [March 16, 2016, 7:30pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/10 "2016-03-16T19:30:34Z")

</div>

when you have two choices to make, how do you make sure their separate, for example say u have a choice of taking a shower or eating breakfast, you choose breakfast, how is it possible to separate the 2 choices

sorry for any confusion, this sounded a lot better and a lot simpler in my head

---

<div class="post-metadata">

**Author:** ![fantom](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fantom/32/8537_2.png) [@fantom](https://forum.choiceofgames.com/u/fantom)\
**Post date:** [March 16, 2016, 7:45pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/11 "2016-03-16T19:45:32Z")

</div>

```
*choice
	#Take a shower
		*goto scene1
	#Eat breakfast
		*goto scene2
```

---

<div class="post-metadata">

**Author:** ![liam12361](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/liam12361/32/130010_2.png) [@liam12361](https://forum.choiceofgames.com/u/liam12361)\
**Post date:** [March 16, 2016, 9:05pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/12 "2016-03-16T21:05:04Z")

</div>

> [@fantom](#):
>
> #Take a shower  
> \*goto scene1  
> #Eat breakfast  
> \*goto scene2

I did that, but it came up with an error, am i doing something wrong

---

<div class="post-metadata">

**Author:** ![Just\_Because](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/just_because/32/8462_2.png) [@Just\_Because](https://forum.choiceofgames.com/u/Just_Because)\
**Post date:** [March 16, 2016, 9:20pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/13 "2016-03-16T21:20:38Z")

</div>

Did you create a scene 1 and scene 2 variable and indent properly?

```
Blah, blah.
*choice
  #Take a Shower
    *goto scene1
  #Eat Breakfast
    *goto scene2
*label scene1
You hop in the shower and...
*label scene2
Yummy. You get pancakes with...
```

---

<div class="post-metadata">

**Author:** ![liam12361](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/liam12361/32/130010_2.png) [@liam12361](https://forum.choiceofgames.com/u/liam12361)\
**Post date:** [March 16, 2016, 9:29pm UTC](https://forum.choiceofgames.com/t/choicescript-help-again/15598/14 "2016-03-16T21:29:10Z")

</div>

another error increasing indent was not allowed but thanks for your help
