# Lost "Adult" Child in the "Character Customization Code" Isle

**URL:** <https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960>\
**Category:** ChoiceScript Help\
**Created:** [September 25, 2019, 7:24pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960 "2019-09-25T19:24:14Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DPerna](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dperna/32/100932_2.png) [@DPerna](https://forum.choiceofgames.com/u/DPerna)\
**Post date:** [September 25, 2019, 7:24pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960/1 "2019-09-25T19:24:14Z")

</div>

I’m having trouble with coding. I am someone who loves to write, but the last time I coded anything was chatting in the late 90s by typing text format codes into java chat site.

I have spent 3 hours trying to create a character creation page. I am open to any suggestions, or if someone wants to do a collaboration for a game so I can get back to actually writing a story again.

😭

I am lost and need help adult supervision on this.

The error I’m getting is: 0character line 16: Non-existent variable ‘n1’

My code looks like this:

```
Would you like to customize your character?

*choice
	#No
		*finish
	#Yes
		What is your character's name?
		*choice
			#Ryan (M)
				*set n1 to Ryan
			#Kyro (M)
				*set n1 to Kyro
			#Eva (F)
				*set n1 to Eva
			#Lyse (F)
				*set n1 to Lyse
			#July (NB)
				*set n1 to July
```

---

<div class="post-metadata">

**Author:** ![malinryden](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/malinryden/32/272913_2.png) [@malinryden](https://forum.choiceofgames.com/u/malinryden)\
**Post date:** [September 25, 2019, 7:26pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960/2 "2019-09-25T19:26:27Z")

</div>

Need

\*create n1 “” (in the startup file).

Then use the code

\*set n1 “Eva” (or whatever name it is).

---

<div class="post-metadata">

**Author:** ![trevers17](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/trevers17/32/127415_2.png) [@trevers17](https://forum.choiceofgames.com/u/trevers17)\
**Post date:** [September 25, 2019, 7:30pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960/3 "2019-09-25T19:30:14Z")

</div>

This might be of help if you’re unfamiliar with Choicescript.

> **[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…

While this is more a style recommendation that you don’t necessarily need to adhere to, common practice at the moment is to allow players to set their name and gender separately. 🙂

---

<div class="post-metadata">

**Author:** ![DPerna](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dperna/32/100932_2.png) [@DPerna](https://forum.choiceofgames.com/u/DPerna)\
**Post date:** [September 25, 2019, 7:35pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960/4 "2019-09-25T19:35:08Z")

</div>

Thank you guys so much. I have gotten past the information. 🙂

I was able to complete getting the name recognized. I guess my issue is I didn’t know the proper code and I didn’t want to put “\*finish” because I wanted a series of questions under one file. It is going to be so much easier just putting a series of 5-7 questions as individual files.

Thank you for all your help.

---

<div class="post-metadata">

**Author:** ![trevers17](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/trevers17/32/127415_2.png) [@trevers17](https://forum.choiceofgames.com/u/trevers17)\
**Post date:** [September 25, 2019, 7:52pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960/5 "2019-09-25T19:52:11Z")

</div>

Are you talking about putting individual choices in separate scene files? You don’t need to do that. You can just put all the choices in one scene file. 🙂

---

<div class="post-metadata">

**Author:** ![hustlertwo](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/hustlertwo/32/34230_2.png) [@hustlertwo](https://forum.choiceofgames.com/u/hustlertwo)\
**Post date:** [September 25, 2019, 7:52pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960/6 "2019-09-25T19:52:39Z")

</div>

I often suggest that code rookies try this thread where a bunch of this forum’s finest coached me up from being the titular ultimate noob into a proud and published moderate noob.

> [@Ultimate Noob Coding](https://forum.choiceofgames.com/t/ultimate-noob-coding/28655):
>
> I struggle to thing of someone more noobish than myself when it comes to coding anything. So I figured one thread may be best to contain all my inane queries. First up: I decided to try and code the first little intro chapter I have, but I literally have gotten stuck on the first line. I’ve never used Notepad++ before, and the line I’m typing seems to go on forever. Should I hit return to jump to the next, and if so, how often?

---

<div class="post-metadata">

**Author:** ![DPerna](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/dperna/32/100932_2.png) [@DPerna](https://forum.choiceofgames.com/u/DPerna)\
**Post date:** [September 25, 2019, 8:18pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960/7 "2019-09-25T20:18:47Z")

</div>

thank you, I thought \*finish, finished the scene, not the question.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/choiceofgames/original/3X/e/f/efe1497a762edecdb6d569a1c4abee87508bf002.png) [@system](https://forum.choiceofgames.com/u/system)\
**Post date:** [September 26, 2019, 8:18pm UTC](https://forum.choiceofgames.com/t/lost-adult-child-in-the-character-customization-code-isle/65960/8 "2019-09-26T20:18:48Z")

</div>

Closed on September 26, 2019, 8:18pm UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
