# Is it just me or is ChoiceScript a whole mystery?

**URL:** <https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942>\
**Category:** ChoiceScript Help\
**Created:** [November 17, 2014, 7:06pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942 "2014-11-17T19:06:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lil\_astronaut](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lil\_astronaut](https://forum.choiceofgames.com/u/lil_astronaut)\
**Post date:** [November 17, 2014, 7:06pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/1 "2014-11-17T19:06:56Z")

</div>

Yesterday, I spent five hours trying to make my first page. That didn’t go well so I abandoned it and turned to more simpler cyoa game makers. I managed to make a ‘gamebook’ on TextAdventures (pretty nifty website) and it’s really simple.

Gamebooks on the website aren’t as good as the ones at CoG (although, I mainly play the demos since my mom doesn’t let my buy the full games) and don’t give you much choice (like names, age, gender and orientation). I really like the style of CoG and TextAdventure gamebooks tend to lag.

Today, I took another look at ChoiceScript and it seems simple too. The trouble is, HTML is my kryptonite. I don’t know if I’m the only one in the whole world that can’t wrap her head around all the coding.

Does anyone else have trouble using ChoiceScript to make games?

edit —

when i say html i mean coding in general i guess. sorry for not making it clear. i’ll have another go tomorrow. i swear, i’m thicker than a brick wall 😄

---

<div class="post-metadata">

**Author:** ![Cecilia\_Rosewood](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cecilia_rosewood/32/253835_2.png) [@Cecilia\_Rosewood](https://forum.choiceofgames.com/u/Cecilia_Rosewood)\
**Post date:** [November 17, 2014, 7:16pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/2 "2014-11-17T19:16:13Z")

</div>

@lil_astronaut  
It’s just you.

But now on a more serious note. You don’t need to know how to code in HTML to code in ChoiceScript.  
ChoiceScript is basically just typing text and a few simple commands in a .txt file and dumping it in the right folder.  
Take a look at this and then just follow the instructions:

> **[Introduction to ChoiceScript](https://www.choiceofgames.com/make-your-own-games/choicescript-intro/)**
>
> ChoiceScript is a simple programming language for writing multiple-choice games (MCGs) like Choice of the Dragon. Writing games with ChoiceScript is easy and fun, even for authors with no programm…

  
That should help you along quite nicely.  
And if more questions pop up, feel free to ask.  
That’s what this whole community is for.

\*edit  
An other useful source of information for coding in ChoiceScript is:

> **[ChoiceScript Wiki](https://choicescriptdev.fandom.com/wiki/ChoiceScript_Wiki)**
>
> Welcome to the ChoiceScript Wiki The wiki about ChoiceScript, a simple scripting language developed by Adam Strong-Morse and Dan Fabulich of Choice of Games LLC for writing text-based, multiple-choice games. This Wiki is a ChoiceScript Game...

  
and the following is a nice tool to check your code:  
[https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/IDE/main.html](https://dl.dropboxusercontent.com/u/7840892/CJW/choicescript/tools/IDE/main.html)

---

<div class="post-metadata">

**Author:** ![FairyGodfeather](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fairygodfeather/32/16709_2.png) [@FairyGodfeather](https://forum.choiceofgames.com/u/FairyGodfeather)\
**Post date:** [November 17, 2014, 7:42pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/3 "2014-11-17T19:42:09Z")

</div>

There’s no HTML around.

Choicescript does have a rather steep learning curve if you’re not used to coding at all. I know when I started I was completely lost with it and it took a while for it to click into place. It’s worth it though since once you learn how to use it it’s a lot more versatile than those gamebooks. It’s also code designed for those without any coding knowledge.

I’d say take your gamebook on TextAdventures and try and translate it into choicescript. If you need help on how to just ask and we’ll help. (Or perhaps you can point us at it.)

I’ve found that by far the best way to learn to write games in choicescript is to start by reading their code.

[https://www.choiceofgames.com/dragon/scenes/startup.txt](https://www.choiceofgames.com/dragon/scenes/startup.txt) is Choice of the Dragon and since it’s a simple game I’ve found it good to start.

Once you’ve got a bit of a start I’ve a short tutorial I wrote to try and help people out with some of the basics. [A Basic Tutorial on Name, Relationship and Gender Variables](https://forum.choiceofgames.com/t/a-basic-tutorial-on-name-relationship-and-gender-variables/2060)

Also it’s of vital importance that you use a text editor (like notepad or notepad++) and not a word processor (like word) in order to write your choicescript games.

---

<div class="post-metadata">

**Author:** ![nmjjmn](https://avatars.discourse-cdn.com/v4/letter/n/f05b48/32.png) [@nmjjmn](https://forum.choiceofgames.com/u/nmjjmn)\
**Post date:** [November 17, 2014, 8:03pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/4 "2014-11-17T20:03:54Z")

</div>

Yeah choice script can be kind of hard to wrap your head around. But here’s a website I used to figure it out.

> **[Index](https://choicescriptdev.fandom.com/wiki/Index)**
>
> Special commands are commands that are not included in the official ChoiceOfGames Tutorial and aren't described in the scene.js file either (where all the commands are made). Latest New Additions Implicit Control Flow, Multireplace

---

<div class="post-metadata">

**Author:** ![SamLienhard](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/samlienhard/32/3736_2.png) [@SamLienhard](https://forum.choiceofgames.com/u/SamLienhard)\
**Post date:** [November 18, 2014, 5:30pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/5 "2014-11-18T17:30:56Z")

</div>

I struggled when I first started using ChoiceScript, but the more I tried things and saw what happened, the easier it got. One thing that really helped me was when I realized that when people say the program _reads_ code, it really does. It sounds like a simple concept, but that’s what really helped me figure out how I needed to arrange commands so they’d be read in the right way.

---

<div class="post-metadata">

**Author:** ![FoxalypticWorld](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/foxalypticworld/32/264486_2.png) [@FoxalypticWorld](https://forum.choiceofgames.com/u/FoxalypticWorld)\
**Post date:** [November 19, 2014, 7:24pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/6 "2014-11-19T19:24:41Z")

</div>

It might be worth checking out how others code, I know that’s what helped me a lot. That and searching through the help forum looking all manners of things up. I got the hang of it pretty quickly after that ☀ though there are times where certain parts of the code still frustrate the heck outta me.

---

<div class="post-metadata">

**Author:** ![Eric\_Moser](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/eric_moser/32/259257_2.png) [@Eric\_Moser](https://forum.choiceofgames.com/u/Eric_Moser)\
**Post date:** [November 19, 2014, 8:08pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/7 "2014-11-19T20:08:49Z")

</div>

Don’t feel bad, @lil_astronaut, it took me a good 2 months to get comfortable with CS. For me, it was overwhelming and I almost quit a few times.

My advice (which I should have but didnt follow) would be to keep it simple at first. As the tutorial points out, you can write a fun game with just choices and gotos.

---

<div class="post-metadata">

**Author:** ![Zanity](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/zanity/32/2727_2.png) [@Zanity](https://forum.choiceofgames.com/u/Zanity)\
**Post date:** [November 19, 2014, 8:35pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/8 "2014-11-19T20:35:19Z")

</div>

Ya, sorry, it is just you… I find ChoiceScript is the most simple text game program out there.

---

<div class="post-metadata">

**Author:** ![jasonstevanhill](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/jasonstevanhill/32/198375_2.png) [@jasonstevanhill](https://forum.choiceofgames.com/u/jasonstevanhill)\
**Post date:** [November 20, 2014, 12:41am UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/9 "2014-11-20T00:41:11Z")

</div>

Uh…pls try to be more supportive, @Zanity.

---

<div class="post-metadata">

**Author:** ![Zanity](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/zanity/32/2727_2.png) [@Zanity](https://forum.choiceofgames.com/u/Zanity)\
**Post date:** [November 20, 2014, 9:28am UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/10 "2014-11-20T09:28:52Z")

</div>

im not sure how to be more supportive, other than pointing her to the wiki maybe? which people already did, i mean, its not like theres a specific question i can answer or help with… i dont mean to not be supportive, and sorry if it seemed that way.

---

<div class="post-metadata">

**Author:** ![FairyGodfeather](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fairygodfeather/32/16709_2.png) [@FairyGodfeather](https://forum.choiceofgames.com/u/FairyGodfeather)\
**Post date:** [November 20, 2014, 3:57pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/11 "2014-11-20T15:57:17Z")

</div>

If your post is not going to contribute anything to the discussion, then it’s better not to post anything at all.

Personally I think choicescript isn’t the easiest method of making choice based games. There’s a number of methods of making text-based games that are a lot simpler. However they’ve also got a bunch of limitations and once you get over that initial bump of learning choicescript there’s a lot of benefits to it. It’s a great language for writing interactive stories in, where the focus is on pushing the plot forward, but where you also have stats. It’s not overly complicated and it makes sense. Also, once you’ve finished a game in choicescript you get to sell it, whereas the other formats have you giving away all of your hard work for free. I love how Choice of Games tells people that their hobby, writing something they love, is actually worth something. I love how it doesn’t just give a voice to authors from all walks of life and experiences, but that it also offers them a method of earning money from telling their stories.

---

<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:** [November 20, 2014, 7:37pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/12 "2014-11-20T19:37:32Z")

</div>

Indeed the learning curve can be daunting, but CS is extremely versatile and once you’ve gotten over that curve it’s truly amazing what CS is capable of doing with some creative combinations of commands. And it’s not like you’ll be facing that curve alone. There’s a small army of fellow CS coders that are more than willing to help.

---

<div class="post-metadata">

**Author:** ![lil\_astronaut](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lil\_astronaut](https://forum.choiceofgames.com/u/lil_astronaut)\
**Post date:** [November 20, 2014, 7:57pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/13 "2014-11-20T19:57:33Z")

</div>

I’ve started using Choicescript IDE. I think I’m doing okay so far XD

Thanks to Cecilia\_Rosewood!

Although, if another character says “Oh, he/she (referring to player) isn’t coming to the party” do I have to manually change the pronouns?  
Sorry for all the questions!

---

<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:** [November 20, 2014, 8:02pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/14 "2014-11-20T20:02:48Z")

</div>

No. You can use ${ } to show the value of a variable in your game. Play around with the code below in the IDE and you’ll get the idea…

```
*create heshe "he"
*set heshe "she"
${heshe}
```

---

<div class="post-metadata">

**Author:** ![lil\_astronaut](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lil\_astronaut](https://forum.choiceofgames.com/u/lil_astronaut)\
**Post date:** [November 20, 2014, 8:05pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/15 "2014-11-20T20:05:29Z")

</div>

Okay, I’ll have a go. Thanks 😄

---

<div class="post-metadata">

**Author:** ![Cecilia\_Rosewood](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cecilia_rosewood/32/253835_2.png) [@Cecilia\_Rosewood](https://forum.choiceofgames.com/u/Cecilia_Rosewood)\
**Post date:** [November 20, 2014, 8:12pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/16 "2014-11-20T20:12:16Z")

</div>

@lil_astronaut  
You’re welcome.

And as an added bonus 😜  
On the forum you can point out that a certain message is ment for a certain person by putting a @ in front of their name. It will also open some sort of nifty little menu from which you can just select the name of the person you are looking for. It helps a lot against misspelling and is just a lot easier. Especially if they have names as long as mine.

---

<div class="post-metadata">

**Author:** ![lil\_astronaut](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lil\_astronaut](https://forum.choiceofgames.com/u/lil_astronaut)\
**Post date:** [November 20, 2014, 8:19pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/17 "2014-11-20T20:19:45Z")

</div>

@Cecilia_Rosewood Okay, I’ll keep that in mind next time.

Another question

I just got the “bad label” pop up. I’ve rewritten the command but it won’t go away. I wrote this :

```
*goto gender

```

“gender” Is spelled the same as the scene and the other commands to go to “gender” is okay. Please help 😊

---

<div class="post-metadata">

**Author:** ![Cecilia\_Rosewood](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cecilia_rosewood/32/253835_2.png) [@Cecilia\_Rosewood](https://forum.choiceofgames.com/u/Cecilia_Rosewood)\
**Post date:** [November 20, 2014, 8:24pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/18 "2014-11-20T20:24:06Z")

</div>

@lil_astronaut  
\*goto is a command to go to a \*label.  
So \*goto gender will take you to \*label gender  
I guess that’s not your intention here.  
“bad label” if the message that pops up if you don’t have a label named like that.

---

<div class="post-metadata">

**Author:** ![lil\_astronaut](https://avatars.discourse-cdn.com/v4/letter/l/7c8e57/32.png) [@lil\_astronaut](https://forum.choiceofgames.com/u/lil_astronaut)\
**Post date:** [November 20, 2014, 8:25pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/19 "2014-11-20T20:25:55Z")

</div>

Oh.

_Oh_. I’ll go dig in choicescript wiki then. Thanks!

---

<div class="post-metadata">

**Author:** ![MutonElite](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@MutonElite](https://forum.choiceofgames.com/u/MutonElite)\
**Post date:** [November 20, 2014, 9:23pm UTC](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942/20 "2014-11-20T21:23:19Z")

</div>

Perhaps this could be of interest as well, since you’re seemingly at that point.

> [@Tutorial : Basic Choice of Genders in Games](https://forum.choiceofgames.com/t/tutorial-basic-choice-of-genders-in-games/2609/1):
>
> This simple tutorial will show you the basics of a binary gender selection, male or female. If there is interest for it, I could make an advanced version detailing a third or no gender option as well, but this should still be enough to give you an idea how to proceed on your own. What you need in your startup file; \*create mc\_isfemale false \*create mc\_malefemale "" \*create mc\_manwoman "" \*create mc\_menwomen "" \*create mc\_boygirl "" \*create mc\_fathermother "" \*create mc\_brothersister "" \*creat…

[Next page](https://forum.choiceofgames.com/t/is-it-just-me-or-is-choicescript-a-whole-mystery/5942.md?page=2)
