Index  •  2DA  •  Effects  •  File Formats  •  Actions  •  Identifiers  •  Triggers  •  Appendices  •  Site Info  •  Legal

Strings and Tokens

A list of usable tokens (BG1: TotS).

<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 elapsed time from the start of the game in days and hours. (Example: We've been around for <DURATION>, would produce: We've been around for 23 days and 13 hours...or whatever the elapsed time happens to be.)
<DURATIONNOAND> Returns the same thing as <DURATION> except it omits the and. So it would be 23 days 13 hours rather than 23 days and 13 hours.
<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.)
<HOUR> Returns the current hour of the day in numerical 24 hour format.
<MINUTE> Returns the current number of real-time minutes (0-59) that have passed in the last hour.
<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.)
<YEAR> Returns the current year in numerical format. (Example: It is <YEAR> currently, would produce: It is 1369 currently...or whatever year it is in your game.