# \*input text name Command

**URL:** <https://forum.choiceofgames.com/t/input-text-name-command/505>\
**Category:** ChoiceScript Help\
**Created:** [May 30, 2012, 10:49pm UTC](https://forum.choiceofgames.com/t/input-text-name-command/505 "2012-05-30T22:49:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mert](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Mert](https://forum.choiceofgames.com/u/Mert)\
**Post date:** [May 30, 2012, 10:49pm UTC](https://forum.choiceofgames.com/t/input-text-name-command/505/1 "2012-05-30T22:49:31Z")

</div>

Hi!

I want player to choose his/her own name.  
With \*input text name command.  
But here is the problem.

The game has it’s own characters (NPCs) and they all got names.  
Example: Gom (a unique name)

So, the player can choose the name “Gom”.  
And so, i think, if the player does this, the npc should response this similarity about the names.  
Or, how can I “forbid” choosing this name (Gom).  
Just tried so many combinations. Combinations of the cases. İt was like this:

\*label nameselect

\*input\_text name

“Your name is $!{name}”

\_\_\*if isim = “Gom”  
\_\_\_\_“You can’t use this name.”  
\_\_\_\_\*page\_break  
\_\_\_\_\*goto nameselect  
\_\_\*if isim = “GOm”  
\_\_\_\_“You can’t use this name.”  
\_\_\_\_\*page\_break  
\_\_\_\_\*goto nameselect  
\_\_\*if isim = “GOM”  
\_\_\_\_“You can’t use this name.”  
\_\_\_\_\*page\_break  
\_\_\_\_\*goto nameselect  
\_\_\*if isim = “gom”  
\_\_\_\_“You can’t use this name.”  
\_\_\_\_\*page\_break  
\_\_\_\_\*goto nameselect  
\_\_\*if isim = “gOm”  
\_\_\_\_“You can’t use this name.”  
\_\_\_\_\*page\_break  
\_\_\_\_\*goto nameselect  
\_\_\*if isim = “gOM”  
\_\_\_\_“You can’t use this name.”  
\_\_\_\_\*page\_break  
\_\_\_\_\*goto nameselect  
\_\_\*if isim = “GoM”  
\_\_\_\_“You can’t use this name.”  
\_\_\_\_\*page\_break  
\_\_\_\_\*goto nameselect  
\_\_\*if isim = “goM”  
\_\_\_\_“You can’t use this name.”  
\_\_\_\_\*page\_break  
\_\_\_\_\*goto nameselect

It goes on and on.  
Forbidding all case combinations of that name.  
And there are lots of names by the way.  
How can I solve this?  
Or, is there any solution to this?  
Thanks!

---

<div class="post-metadata">

**Author:** ![CJW](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/cjw/32/111787_2.png) [@CJW](https://forum.choiceofgames.com/u/CJW)\
**Post date:** [May 31, 2012, 1:46am UTC](https://forum.choiceofgames.com/t/input-text-name-command/505/2 "2012-05-31T01:46:22Z")

</div>

Not really… But the chances of someone naming their character GOM is pretty slim, I assure you.

But anyway shouldn’t it be \*if name = “Gom” - where did isim come from??

And I’m not sure if it’s case sensitive.

For the similarity you could just do:

If name = “Gom”  
whatever needs to be said

---

<div class="post-metadata">

**Author:** ![Mert](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Mert](https://forum.choiceofgames.com/u/Mert)\
**Post date:** [May 31, 2012, 9:33am UTC](https://forum.choiceofgames.com/t/input-text-name-command/505/3 "2012-05-31T09:33:30Z")

</div>

isim means name in my language, i think i forgot to change it to “name”. anyway, thank you =)

---

<div class="post-metadata">

**Author:** ![ScarletGeisha](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/scarletgeisha/32/444_2.png) [@ScarletGeisha](https://forum.choiceofgames.com/u/ScarletGeisha)\
**Post date:** [May 31, 2012, 10:34am UTC](https://forum.choiceofgames.com/t/input-text-name-command/505/4 "2012-05-31T10:34:18Z")

</div>

I also think names aren’t case sensitive.

---

<div class="post-metadata">

**Author:** ![Mert](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Mert](https://forum.choiceofgames.com/u/Mert)\
**Post date:** [May 31, 2012, 11:39am UTC](https://forum.choiceofgames.com/t/input-text-name-command/505/5 "2012-05-31T11:39:12Z")

</div>

I’ve tested this.  
For example, there is a character named Gom in the story. He is an npc. So in the beginning, if you type “Gom” to your name selection bar, the game will give an error message like “You can’t use this name.” But if I write “GOM”, game accepts this name. But the name is still the same.

---

<div class="post-metadata">

**Author:** ![Vendetta](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/vendetta/32/533_2.png) [@Vendetta](https://forum.choiceofgames.com/u/Vendetta)\
**Post date:** [May 31, 2012, 11:50am UTC](https://forum.choiceofgames.com/t/input-text-name-command/505/6 "2012-05-31T11:50:11Z")

</div>

The alternative might be to give the player a selection of names from which to choose (none of which are used for NPCs in the story) with a final option to enter their own name if they prefer–and simply not worry too much about the player choosing to call himself “Gom”. Most players would probably be content with picking a name from the list provided.

---

<div class="post-metadata">

**Author:** ![Mert](https://avatars.discourse-cdn.com/v4/letter/m/ed655f/32.png) [@Mert](https://forum.choiceofgames.com/u/Mert)\
**Post date:** [May 31, 2012, 1:36pm UTC](https://forum.choiceofgames.com/t/input-text-name-command/505/7 "2012-05-31T13:36:54Z")

</div>

@Vendetta Yes you are right. Choosing a name from the list is the best. Thank you.
