# Non-existent variable error, need help

**URL:** <https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326>\
**Category:** ChoiceScript Help\
**Created:** [July 4, 2017, 7:19pm UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326 "2017-07-04T19:19:42Z")\
**Posts on this page:** 9\
**Page:** 2

<div class="post-metadata">

**Author:** ![N1GHTMAR3](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/n1ghtmar3/32/142049_2.png) [@N1GHTMAR3](https://forum.choiceofgames.com/u/N1GHTMAR3)\
**Post date:** [July 4, 2017, 7:59pm UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/21 "2017-07-04T19:59:00Z")

</div>

Yeah, did some messing around, looks like \*selectable\_if is not the problem here. The game, for some reason, doesn’t want to see owner\_info as a variable.  
😃

---

<div class="post-metadata">

**Author:** ![seabean](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/seabean/32/96835_2.png) [@seabean](https://forum.choiceofgames.com/u/seabean)\
**Post date:** [July 4, 2017, 7:59pm UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/22 "2017-07-04T19:59:41Z")

</div>

If clearing your cache doesn’t work, I would suggest deconstructing the choice, maybe making it a \*goto or to a fresh label, and putting the stat changes in there. At this point, it may just work.

((not gosub that’s dumb))

---

<div class="post-metadata">

**Author:** ![N1GHTMAR3](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/n1ghtmar3/32/142049_2.png) [@N1GHTMAR3](https://forum.choiceofgames.com/u/N1GHTMAR3)\
**Post date:** [July 4, 2017, 8:02pm UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/23 "2017-07-04T20:02:22Z")

</div>

Worked, closed all files and did everything you asked.  
You’re the best. \<3  
😃

---

<div class="post-metadata">

**Author:** ![Twiger\_Fluff](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/twiger_fluff/32/138484_2.png) [@Twiger\_Fluff](https://forum.choiceofgames.com/u/Twiger_Fluff)\
**Post date:** [July 14, 2017, 3:10am UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/24 "2017-07-14T03:10:00Z")

</div>

@N1GHTMAR3 woah. What program are you doing your writing in? It’s not programmer’s notepad, is it? If it is, how do you get it to color commands? I thought you can only do that with supported languages.

---

<div class="post-metadata">

**Author:** ![Twiger\_Fluff](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/twiger_fluff/32/138484_2.png) [@Twiger\_Fluff](https://forum.choiceofgames.com/u/Twiger_Fluff)\
**Post date:** [July 14, 2017, 3:23am UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/25 "2017-07-14T03:23:08Z")

</div>

I have the same problem, but your solution did not work for me. saved+closed+private window (also deleted the cache).

It’s a temp variable called antler\_length

```
*temp antler_legnth 0
*comment antler legnth based on this https://goo.gl/C6vHGi
*image images/header1.svg
You watched as Maelyn got... a whole bunch of text

```

and, several hundred lines later,

```
*label alpha
and your..
*set Mylist Mylist & ("^" & {antler_length})
*choice
 #pale skin
  *set Mylist Mylist & "^pale"

```

---

<div class="post-metadata">

**Author:** ![Fiogan](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/fiogan/32/215832_2.png) [@Fiogan](https://forum.choiceofgames.com/u/Fiogan)\
**Post date:** [July 14, 2017, 3:24am UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/26 "2017-07-14T03:24:10Z")

</div>

I think it might be a typo in the first ‘antler\_length’; the ‘g’ and the ‘n’ are transposed.

---

<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:** [July 14, 2017, 4:36am UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/27 "2017-07-14T04:36:31Z")

</div>

I’ll signify your typo so it will embarrass you more 😈

> [@Twiger\_Fluff](#):
>
> `*temp antler_legnth 0`

* * *

About the program that can do syntax highlighting, it’s Notepad++  
Yes. It can highlight CScript codes (you can create custom lang for it). Heck, it pretty much highlight everything and the program can be modified to the ground.

Or just use [CSIDE](https://forum.choiceofgames.com/t/cside-the-choicescript-ide/27622/). It’s basically Notepad++ built specifically for CScript.

---

<div class="post-metadata">

**Author:** ![N1GHTMAR3](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/n1ghtmar3/32/142049_2.png) [@N1GHTMAR3](https://forum.choiceofgames.com/u/N1GHTMAR3)\
**Post date:** [July 14, 2017, 7:51am UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/28 "2017-07-14T07:51:57Z")

</div>

Nope, it’s choicescript IDE, the web version.  
😃  
Edit: I’m using choicescript IDE currently, but I think you were remarking about the notepad++, sorry got confused there.

---

<div class="post-metadata">

**Author:** ![Twiger\_Fluff](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/twiger_fluff/32/138484_2.png) [@Twiger\_Fluff](https://forum.choiceofgames.com/u/Twiger_Fluff)\
**Post date:** [July 14, 2017, 11:11am UTC](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326/29 "2017-07-14T11:11:41Z")

</div>

@Fiogan @Szaal wow… after fixing 30 crazy complicated bugs by myself, I can’t learn to spell.  
_shakes head_  
Thanks for the help. My brain wasn’t working today… I mean yesterday. It’s not working today either…

[Previous page](https://forum.choiceofgames.com/t/non-existent-variable-error-need-help/28326.md?page=1)
