You could use an npc, when created a varible is equal to zero. Then use:
NPC Code:
if (playerchats && this.varible == 0){
//rest of script here (recording of players chat text etc)
}
once the player has said something, set the var to one. Therefore
the message isn't over written. Simple.