The second line (*if (man), etc) is 117, the one that’s showing the error. I can include more of the code if needed, i wasn’t sure how much was relevant.
then the gender choice a bit further down from that in the code sets one of them as true, depending on which you pick.
It was working fine earlier, then I changed something and it stopped working, but I can’t remember what I changed! But I definitely had it working at some point using that setup.
*create man false
*create woman false
*create man "man"
*create firstname "firstname"
*create lastname "lastname"
*create nickname "nickname"
*create him "him"
*create his "his"
*create he "he"
*create himself "himself"
*create guy "guy"
*create sir "sir"
*create bastard "bastard"
and this is the actual choice-
*choice
#...a woman who clearly didn't sleep well last night.
*set woman true
*set man "woman"
*set him "her"
*set his "her"
*set he "she"
*set himself "herself"
*set guy "gal"
*set sir "ma'am"
*set bastard "bitch"
*goto eyes
#...a man who probably doesn't want to be awake right now.
*set man true
*goto eyes
Ah okay, lol. Your use of “combine” plus that example made me think it was some kind of weird multi-replace. I didn’t know you could make the game actually read words like that!
Conditional checks can compare 3 types of variables: text, numeric, and true/false a.k.a. boolean.
It’s in the wiki: If | ChoiceScript Wiki | Fandom which is part of the masterlist thread.
Yeah. I didn’t see that, I did check the wiki but I was just looking for the solution to the specific problem I was having, not browsing. Anyway, thanks to you both!