# Gender attributes change during adventure

**URL:** <https://forum.choiceofgames.com/t/gender-attributes-change-during-adventure/166651>\
**Category:** ChoiceScript Help\
**Tags:** gender\
**Created:** [March 11, 2025, 2:50pm UTC](https://forum.choiceofgames.com/t/gender-attributes-change-during-adventure/166651 "2025-03-11T14:50:46Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![HarrisPS](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/harrisps/32/240120_2.png) [@HarrisPS](https://forum.choiceofgames.com/u/HarrisPS)\
**Post date:** [March 11, 2025, 2:58pm UTC](https://forum.choiceofgames.com/t/gender-attributes-change-during-adventure/166651/3 "2025-03-11T14:58:17Z")

</div>

You can use an exclamation mark to capitalise a variable, like this:

`$!{subject_pronoun}` will print as `He` or `She` or `They` depending on what it’s been set to.

I’d recommend using a variable for pronouns over using multireplace because it removes the risk of typos and means you can edit it a lot more easily.

I made a pronoun template over here which may be helpful to take a look at:

> [@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://cogdemos.ink/play/hpowellsmith/gender-and-pronoun-setting-example) and [view the full txt files here](https://cogdemos.ink/play/hpowellsmith/gender-and-pronoun-setting-example/scenes). There is also a newer version that uses ${npc\_they}, ${npc\_them} etc. It is playable [here](https://cogdemos.ink/play/hpowellsmith/gender-and-pronoun-setting-example-they-default) and the txt files can be [viewed here.](https://cogdemos.ink/play/hpowellsmith/gender-and-pronoun-setting-example-they-default/scenes) Let me know if it’s useful, and if you’ve got any questions!

---

_[View the full topic](https://forum.choiceofgames.com/t/gender-attributes-change-during-adventure/166651)._
