Recognize third person pronouns as the player

This is untested, having been mostly quickly copy-pasted from some existing code, but (for 10.1) this should let you

  • make ‘me’, ‘myself’', ‘self’ not refer to the player
  • make ‘her’, ‘herself’ refer to the player
  • allow you to change the above at will during play
Include (-
Constant InvalidToken = ' ';
Constant MeText        = 'me';
Constant MyselfText   = 'myself';
Constant SelfText    = 'self';
-)

Include (- Global ME1__WD        = MeText; -) replacing ME1__WD.
Include (-  Global ME2__WD        = MyselfText; -) replacing ME2__WD.
Include (-  Global ME3__WD        = SelfText; -) replacing ME3__WD.

Include (-
Constant HerToken = 'her ';
Constant HerselfToken = 'herself ';
ME1__WD  = HerToken;
ME2__WD = HerselfToken;
ME3__WD = InvalidToken;
-)
2 Likes