---
name: "kbWasSaid"
type: command
status: ok
groups: ["Conversations"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/kbWasSaid
revid: 330038
updated: 2022-08-15T15:23:07Z
---

# kbWasSaid

*Command · Conversations · Arma 3 v0.50 · introduced in Arma 2 v1.00*

Locality: arguments **global**

## Description

Check if given item was said by person to someone. See Conversations for more details.

## Syntax

```sqf
person kbWasSaid [receiver, topic, sentenceID, maxAge]
```

**Parameters:**

- `person`: [Object](../topics/Object.md) - who said the item
- `receiver`: [Object](../topics/Object.md) - receiver of the sentence
- `topic`: [String](../topics/String.md) - name of the topic used in [kbAddTopic](../commands/kbAddTopic.md)
- `sentenceID`: [String](../topics/String.md) - id of sentence that we want to check
- `maxAge`: [Number](../topics/Number.md) - time in seconds. [kbWasSaid](../commands/kbWasSaid.md) will check whether the sentence was said in last **max. age** seconds

**Returns:** [Boolean](../topics/Boolean.md)

## Examples

### Example 1

```sqf
player kbWasSaid [otherUnit, "myTopic", "mySentenceID", 3];
```

## See also

Conversations · [kbAddTopic](../commands/kbAddTopic.md) · [kbHasTopic](../commands/kbHasTopic.md) · [kbTell](../commands/kbTell.md) · [kbReact](../commands/kbReact.md) · [kbRemoveTopic](../commands/kbRemoveTopic.md) · [kbAddDatabase](../commands/kbAddDatabase.md) · [kbAddDatabaseTargets](../commands/kbAddDatabaseTargets.md) · FSM · FSM Editor

<sub>Source: [BI Community Wiki — kbWasSaid](https://community.bistudio.com/wiki/kbWasSaid) (revision 330038).</sub>
