# Bad label Error

**URL:** <https://forum.choiceofgames.com/t/bad-label-error/98915>\
**Category:** ChoiceScript Help\
**Created:** [April 23, 2021, 3:46pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915 "2021-04-23T15:46:42Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 23, 2021, 3:46pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/1 "2021-04-23T15:46:42Z")

</div>

I’m having trouble with. a error that keeps appearing in my game.

The error I’m getting is ignore line 445: bad label chapter iv

My code looks like this:  
 ![image](https://global.discourse-cdn.com/choiceofgames/original/3X/d/4/d49d90868f3c579f1237f077087ebfcada142f55.png)

```
The line that is mentioned is not even the one for the referenced error.

```

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [April 23, 2021, 3:52pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/2 "2021-04-23T15:52:54Z")

</div>

Do you have any `*label` command nearby?

---

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 23, 2021, 3:53pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/3 "2021-04-23T15:53:29Z")

</div>

No I do not have any nearby label command

---

<div class="post-metadata">

**Author:** ![Szaal](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/szaal/32/112202_2.png) [@Szaal](https://forum.choiceofgames.com/u/Szaal)\
**Post date:** [April 23, 2021, 3:54pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/4 "2021-04-23T15:54:33Z")

</div>

What about the code looks like above the one you posted? Mind posting them here?

---

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 23, 2021, 3:55pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/5 "2021-04-23T15:55:11Z")

</div>

Where? There is no code above that just a story and a choice that is it.

---

<div class="post-metadata">

**Author:** ![Eiwynn](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/eiwynn/32/221334_2.png) [@Eiwynn](https://forum.choiceofgames.com/u/Eiwynn)\
**Post date:** [April 23, 2021, 3:56pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/6 "2021-04-23T15:56:46Z")

</div>

A label should be a single word… try adding a \_ to the label: Chapter\_IV

---

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 23, 2021, 3:57pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/7 "2021-04-23T15:57:27Z")

</div>

All of my chapter titles are like that and this is the only one that has a problem

---

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 23, 2021, 3:58pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/8 "2021-04-23T15:58:12Z")

</div>

![image](https://global.discourse-cdn.com/choiceofgames/original/3X/4/7/47e1e4d3bc6c7a9451ca81215c675bdd42508a8a.png)

![image](https://global.discourse-cdn.com/choiceofgames/original/3X/c/7/c7abebbc80226017a3c194ecbb6f6a834ae2a993.png)

---

<div class="post-metadata">

**Author:** ![SpokesWriter](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/spokeswriter/32/115681_2.png) [@SpokesWriter](https://forum.choiceofgames.com/u/SpokesWriter)\
**Post date:** [April 23, 2021, 4:18pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/9 "2021-04-23T16:18:57Z")

</div>

Right, those aren’t labels or scenes, they’re just page\_break wording changes.

On line 445 of your code, you likely have \*goto chapter iv or \*label chapter iv

a \*label needs to be one word (you can use an underscore if you like)

---

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 24, 2021, 12:41pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/10 "2021-04-24T12:41:21Z")

</div>

No I have neither. Line 445 is three lines below the page break

---

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 24, 2021, 1:03pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/11 "2021-04-24T13:03:56Z")

</div>

![image](https://global.discourse-cdn.com/choiceofgames/original/3X/1/3/13183b4e306610cbb9b0b638f250d8e006a154f0.png)

Any idea what this means?

---

<div class="post-metadata">

**Author:** ![Sinnie](https://avatars.discourse-cdn.com/v4/letter/s/ecd19e/32.png) [@Sinnie](https://forum.choiceofgames.com/u/Sinnie)\
**Post date:** [April 24, 2021, 1:34pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/12 "2021-04-24T13:34:53Z")

</div>

What is line 445? Can you post the few lines of code around line 445?

---

<div class="post-metadata">

**Author:** ![Nocturnal\_Stillness](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/nocturnal_stillness/32/100414_2.png) [@Nocturnal\_Stillness](https://forum.choiceofgames.com/u/Nocturnal_Stillness)\
**Post date:** [April 24, 2021, 4:56pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/13 "2021-04-24T16:56:37Z")

</div>

Just above the code you posted you have

\*goto Chapter IV

That is the line that causes the error. As there is no label Chapter IV.

What you need to do is change it to \*goto chapter\_iv then above the code you posted add \*label chapter\_iv

That should fix the error.

---

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 26, 2021, 2:54pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/14 "2021-04-26T14:54:28Z")

</div>

I am having trouble getting a variable to work. Basically the player decides who is their second and third in command and what their codenames are. I am having trouble getting the chosen names to appear in the game all I keep getting is “no variable error.” I have already created the command and added it into start up but it still does not work.

![image](https://global.discourse-cdn.com/choiceofgames/original/3X/b/3/b3d5c3473a11cad08b874f853690ff2997fbf7ba.png)

![image](https://global.discourse-cdn.com/choiceofgames/original/3X/5/5/5502d4c219e44da790b26cf4305d8dbcc41214a3.png)

---

<div class="post-metadata">

**Author:** ![Nocturnal\_Stillness](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/nocturnal_stillness/32/100414_2.png) [@Nocturnal\_Stillness](https://forum.choiceofgames.com/u/Nocturnal_Stillness)\
**Post date:** [April 26, 2021, 3:02pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/15 "2021-04-26T15:02:54Z")

</div>

You put commader instead of commander

---

<div class="post-metadata">

**Author:** ![AMER1CANN1NJA09](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/amer1cann1nja09/32/96292_2.png) [@AMER1CANN1NJA09](https://forum.choiceofgames.com/u/AMER1CANN1NJA09)\
**Post date:** [April 26, 2021, 3:03pm UTC](https://forum.choiceofgames.com/t/bad-label-error/98915/16 "2021-04-26T15:03:28Z")

</div>

okay thanks
