Hey, I know of two different methods you can do this.
The first and most common way is to assign each pronoun and gender-specific word by making variables that can be chosen in a gender choice ingame. You do this by using *create in startup.txt to make the different pronouns, for example:
*create he_she ""
*create him_her ""
Then, later when you want the player to choose their gender, you can make a choice like this:
*choice
#Male
*set he_she "he"
*set him_her "him"
#Nonbinary
*set he_she "they"
*set him_her "them
#Female
*set he_she "she"
*set him_her "her"
Then when you want to enter those pronouns you can use ${} to enter the variable’s text, like “${he_she} is going to bed.” You can add as many variables for as many gender-specific pronouns as you plan on using in your game.
As for the second more complicated method, you can use the Multireplace @{} command by assigning a number to the variables for potentially more in-depth descriptions according to gender. This would scroll between potential prompts you may want to show. To do this, you first create the variable:
*create gender 1
Then for the choice:
*choice
#Male
*set gender 1
#Nonbinary
*set gender 2
#Female
*set gender 3
And finally, when you want to use this, you can use the @{} command to do something like:
“I don’t know about that. @{gender He is going to bed.|They are going to bed|She is going to bed.}”
And to see that in-game, with a female example, it would look like this:
"I don't know about that. She is going to bed."
Hope that makes sense.