# Pronoun code question

**URL:** <https://forum.choiceofgames.com/t/pronoun-code-question/134435>\
**Category:** ChoiceScript Help\
**Tags:** gender\
**Created:** [March 24, 2023, 1:04am UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435 "2023-03-24T01:04:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kazuma\_Itsuchi](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kazuma_itsuchi/32/192366_2.png) [@Kazuma\_Itsuchi](https://forum.choiceofgames.com/u/Kazuma_Itsuchi)\
**Post date:** [March 24, 2023, 1:04am UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/1 "2023-03-24T01:04:37Z")

</div>

I’ve set my game up where the character creation is completely player driven, but I couldn’t get the pronouns to work until I coded them specifically to the text inputs. However, this prevents the player from choosing their own pronouns/using neopronouns. Does anyone know a way to fix this? (I’m fairly new to choicescript.)

```plaintext
*label create
First name:
*input_text fName
Last name:
*input_text lName
Gender:
*input_text sex
*if (sex = "Male")
  *set he "He"
  *set him "Him"
  *set his "His"
  *set hes "He's"
  *set plural false
*if (sex = "Female")
  *set he "She"
  *set him "Her
  *set his "Hers"
  *set hes "She's"
  *set plural false
*else
  *set he "They"
  *set him "Them
  *set his "Their"
  *set hes "They're"
  *set plural True
Age:
*input_text age

```

---

<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:** [March 24, 2023, 2:49am UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/2 "2023-03-24T02:49:45Z")

</div>

The following should help you.

Both code and playable sample are listed by @HarrisPS

> [@Gender and Pronoun Sample Code](https://forum.choiceofgames.com/t/gender-and-pronoun-sample-code/78140):
>
> Hey everyone! I’ve made an example startup file for randomising or choosing NPC genders, and PC pronouns including entering pronouns. [You can find a playable version here](https://dashingdon.com/go/5702) and [view the full txt file here](https://dashingdon.com/play/hannahps/gender-setting-example/mygame/scenes/startup.txt). There is also a newer version that uses ${npc\_they}, ${npc\_them} etc. It is playable [here](https://dashingdon.com/play/hannahps/gender-setting-example---they-default/mygame/) and the txt file can be [viewed here.](https://dashingdon.com/play/hannahps/gender-setting-example---they-default/mygame/scenes/startup.txt) Let me know if it’s useful, and if you’ve got any questions!

---

<div class="post-metadata">

**Author:** ![Kazuma\_Itsuchi](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kazuma_itsuchi/32/192366_2.png) [@Kazuma\_Itsuchi](https://forum.choiceofgames.com/u/Kazuma_Itsuchi)\
**Post date:** [March 24, 2023, 1:06pm UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/3 "2023-03-24T13:06:35Z")

</div>

Thanks for the link! I’ll take a look and try it out.

---

<div class="post-metadata">

**Author:** ![quartz](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/quartz/32/174435_2.png) [@quartz](https://forum.choiceofgames.com/u/quartz)\
**Post date:** [March 24, 2023, 3:56pm UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/4 "2023-03-24T15:56:59Z")

</div>

also don’t forget that some verbs end in “s” “es” or nothing depeding on the pronoun. Ex: he see(s) / they see ; she blush(es) / they blush

If you want to host your game on moody rather than dashingdon, you can make use of arrays. The advantage is that you can reuse the pronoun variables for other characters as well:

> [@Efficient solution for managing pronouns + easy support for custom pronouns](https://forum.choiceofgames.com/t/efficient-solution-for-managing-pronouns-easy-support-for-custom-pronouns/126037):
>
> I was trying to find an efficient solution for managing pronouns for a number of characters in the game I’m working on and have decided to share my array-based solution. 
> 
> > **The problem**
> >
> > If you have multiple gender selectable characters (including the player), you will end up declaring multiple variables to store each pronoun for each character: player\_he, plater\_his, npc\_he, npc\_his, npc2\_he, npc2\_his, etc. Which you will set in various parts of the game with things like: \*set player\_he "he&qu…

---

<div class="post-metadata">

**Author:** ![Kazuma\_Itsuchi](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kazuma_itsuchi/32/192366_2.png) [@Kazuma\_Itsuchi](https://forum.choiceofgames.com/u/Kazuma_Itsuchi)\
**Post date:** [March 24, 2023, 4:02pm UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/5 "2023-03-24T16:02:17Z")

</div>

> [@quartz](#):
>
> If you want to host your game on moody rather than dashingdon,

Speaking of which, and I know this is a bit off the topic of the thread, but what is the difference between the two?

---

<div class="post-metadata">

**Author:** ![Leinco](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/leinco/32/246257_2.png) [@Leinco](https://forum.choiceofgames.com/u/Leinco)\
**Post date:** [March 24, 2023, 4:12pm UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/6 "2023-03-24T16:12:53Z")

</div>

There’s basically no difference between the two. Moody.ink is essentially Dashingdon 2.0. It has a built in save system and other features that people want.

The downside is it’s currently quite unstable.

---

<div class="post-metadata">

**Author:** ![quartz](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/quartz/32/174435_2.png) [@quartz](https://forum.choiceofgames.com/u/quartz)\
**Post date:** [March 24, 2023, 4:15pm UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/7 "2023-03-24T16:15:58Z")

</div>

the difference is that moody supports all new versions of choicescript when they appear, whereas dashingdon is no longer updated with new features.

---

<div class="post-metadata">

**Author:** ![Kazuma\_Itsuchi](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/kazuma_itsuchi/32/192366_2.png) [@Kazuma\_Itsuchi](https://forum.choiceofgames.com/u/Kazuma_Itsuchi)\
**Post date:** [March 24, 2023, 4:16pm UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/8 "2023-03-24T16:16:47Z")

</div>

So Dashington doesn’t support arrays?

---

<div class="post-metadata">

**Author:** ![quartz](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/quartz/32/174435_2.png) [@quartz](https://forum.choiceofgames.com/u/quartz)\
**Post date:** [March 24, 2023, 4:29pm UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/9 "2023-03-24T16:29:52Z")

</div>

if i remember correctly, it does support arrays, but you don’t have the \*create\_array and \*temp\_array commands, but you can initialize arrays the old fashion way.

---

<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:** [March 27, 2023, 5:15pm UTC](https://forum.choiceofgames.com/t/pronoun-code-question/134435/11 "2023-03-27T17:15:05Z")

</div>

Closed on March 27, 2023, 5:15pm UTC

This topic was automatically closed 24 hours after the last reply. If you want to reopen your WiP, contact the moderators.
