---
name: "commandChat"
type: command
status: ok
groups: ["Radio and Chat", "Sounds"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/commandChat
revid: 376776
updated: 2025-11-17T00:05:50Z
---

# commandChat

*Command · Radio and Chat, Sounds · Arma 3 v0.50 · introduced in Arma 2 v1.00*

Locality: arguments **global** · effect **local**

## Description

Types text to the command radio channel. The text will be visible only on the PC where command was executed. If you need the message to show on all computers, you have to execute it globally (see [remoteExec](../commands/remoteExec.md)). Use [clearRadio](../commands/clearRadio.md) to clear chat history

> [!IMPORTANT]
> The unit must have an [assigned](../commands/assignItem.md) radio item (such as ***"ItemRadio"***) to see or transmit the messages. A radio item must have the property `simulation = "ItemRadio";` in its CfgWeapons config.

## Syntax

### Syntax 1

```sqf
unit commandChat chatText
```

**Parameters:**

- `unit`: [Object](../topics/Object.md) - unit transmitting message
- `chatText`: [String](../topics/String.md) - message to transmit

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

### Syntax 2

```sqf
[side, identity] commandChat chatText
```

**Parameters:**

- `side`: [Side](../topics/Side.md) - side to which the message will be seen
- `identity`: [String](../topics/String.md) - class name of one of the identities in CfgHQIdentities. Possible identities in Arma 3 are:
  - "Base"
  - "HQ"
  - "PAPA_BEAR"
  - "AirBase"
  - "BLU"
  - "OPF"
  - "IND"
  - "IND_G"
- `chatText`: [String](../topics/String.md) - message to transmit

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

## Examples

### Example 1

```sqf
_soldierOne commandChat "Show this text";
```

### Example 2

```sqf
[playerSide, "HQ"] commandChat "Do this! That's an order!";
```

### Example 3

```sqf
driver vehicle player sideChat "sideChat";
driver vehicle player globalChat "globalChat";
driver vehicle player groupChat "groupChat";
vehicle player vehicleChat "vehicleChat";
driver vehicle player commandChat "commandChat";
driver vehicle player customChat [1, "customChat"];
systemChat "systemChat";
```

## See also

[globalChat](../commands/globalChat.md) · [groupChat](../commands/groupChat.md) · [vehicleChat](../commands/vehicleChat.md) · [sideChat](../commands/sideChat.md) · [customChat](../commands/customChat.md) · [systemChat](../commands/systemChat.md) · [commandRadio](../commands/commandRadio.md)

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