Description
Check if given item was said by person to someone. See Conversations for more details.
Syntax
person kbWasSaid [receiver, topic, sentenceID, maxAge]
Parameters:
person: Object - who said the itemreceiver: Object - receiver of the sentencetopic: String - name of the topic used in kbAddTopicsentenceID: String - id of sentence that we want to checkmaxAge: Number - time in seconds. kbWasSaid will check whether the sentence was said in last max. age seconds
Returns: Boolean
Examples
Example 1
player kbWasSaid [otherUnit, "myTopic", "mySentenceID", 3];
See also
Conversations · kbAddTopic · kbHasTopic · kbTell · kbReact · kbRemoveTopic · kbAddDatabase · kbAddDatabaseTargets · FSM · FSM Editor