NPC remembers he spoke to PC before

What it does
Some easy functions that can be used for checking and setting if a PC has talked to an NPC before.

The scripts itself
The include file (save this as "include_dialogue"):

The script "_ch_001"
int StartingConditional {   // returns TRUE if this is the first time that the PC speaks with the NPC return (!GetSpokeBefore(GetPCSpeaker)); }
 * 1) include "include_dialogue"

The script "_at_001"
void main {   SetSpokeBefore(GetPCSpeaker); }
 * 1) include "include_dialogue"

The script "_ch_002"
int StartingConditional {   // returns TRUE if this isn't the first time that the PC speaks with the NPC return (GetSpokeBefore(GetPCSpeaker)); }
 * 1) include "include_dialogue"