Strings and Tokens
A list of usable tokens (IWD1). Other tokens are available, however they are set by the engine directly before use and are unreliable in general circumstances.
| <BROTHERSISTER> | Returns "brother" or "sister" depending on the gender of the person being spoken to. |
| <CHARNAME> | Returns the name of the PC. |
| <DAY> | Returns the current numerical day. |
| <DAYANDMONTH> | Returns the current numerical day as well as the month. (Example: It is <DAYANDMONTH>, would produce: It is 24 Mirtul...or whatever the current day and month happens to be.) |
| <DURATION> | Returns the number of days and hours since the start of the game. |
| <DURATIONNOAND> | Returns the number of days and hours since the start of the game. |
| <GABBER> | Returns the name of the current speaker. (Example: If I use Jaheira and click-talk her on a creature rather than using the PC, this would return Jaheira if used in a dialogue.) |
| <GAMEDAY> | Returns the current game day. (Starts at 1 for a new game.) |
| <GAMEDAYS> | Returns the number of game days that have elapsed since the start of the game. (Starts at 0 for a new game.) |
| <GIRLBOY> | Returns "girl" or "boy" depending on the gender of the person being spoken to. |
| <HESHE> | Returns "he" or "she" depending on the gender of the person being spoken to. |
| <HIMHER> | Returns "him" or "her" depending on the gender of the person being spoken to. |
| <HISHER> | Returns "his" or "her" depending on the gender of the person being spoken to. |
| <HOUR> | Returns the current hour of the game day. |
| <LADYLORD> | Returns "Lady" or "Lord" depending on the gender of the person being spoken to. |
| <MALEFEMALE> | Returns "male" or "female" depending on the gender of the person being spoken to. |
| <MANWOMAN> | Returns "man" or "woman" depending on the gender of the person being spoken to. |
| <MINUTE> | Returns the current minute of the game hour. |
| <MONTH> | Returns the current game month as a number. |
| <MONTHNAME> | Returns the current month's name. (Example: It is <MONTHNAME>, would produce: It is Mirtul...or whatever the current month is in your game.) |
| <PROTAGONIST_BROTHERSISTER> | Returns "brother" or "sister" depending on the main character's gender. |
| <PROTAGONIST_GIRLBOY> | Returns "girl" or "boy" depending on the main character's gender. |
| <PROTAGONIST_HESHE> | Returns "he" or "she" depending on the main character's gender. |
| <PROTAGONIST_HIMHER> | Returns "him" or "her" depending on the main character's gender. |
| <PROTAGONIST_HISHER> | Returns "his" or "her" depending on the main character's gender. |
| <PROTAGONIST_LADYLORD> | Returns "Lady" or "Lord" depending on the main character's gender. |
| <PROTAGONIST_MALEFEMALE> | Returns "male" or "female" depending on the main character's gender. |
| <PROTAGONIST_MANWOMAN> | Returns "man" or "woman" depending on the main character's gender. |
| <PROTAGONIST_RACE> | Returns the main character's race. |
| <PROTAGONIST_SIRMAAM> | Returns "sir" or "ma'am" depending on the main character's gender. |
| <SIRMAAM> | Returns "sir" or "ma'am" depending on the gender of the person being spoken to. |
| <YEAR> | Returns the current year in numerical format. (Example: It is <YEAR> currently, would produce: It is 1281 currently...or whatever year it is in your game. |