{"name":"customChat","title":"customChat","type":"command","url":"https://community.bistudio.com/wiki/customChat","revid":376773,"updated":"2025-11-17T00:04:58Z","groups":["Radio and Chat","Custom Radio and Chat"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"argument":"global","effect":"local"},"description":"Sends the chat message to the custom radio channel. The radio channel needs to be created on the server before hand, with radioChannelCreate command. Use clearRadio to clear chat history\n\n> [!IMPORTANT]\n> The unit must have an assigned radio item (such as ***\"ItemRadio\"***) to see or transmit the messages. A radio item must have the property `simulation = \"ItemRadio\";` in its CfgWeapons config.","syntaxes":[{"syntax":"unit customChat [customChannelID, message]","params":[{"name":"unit","type":"Object","description":"sender","type_expr":"Object"},{"name":"customChannelID","type":"Number","description":"Custom channel ID returned by radioChannelCreate command","type_expr":"Number"},{"name":"message","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"[customChannelID, message]"}}],"examples":[{"code":["_unit customChat [1, \"Hi, I am a custom chat message\"];"]},{"code":["driver vehicle player sideChat \"sideChat\";\ndriver vehicle player globalChat \"globalChat\";\ndriver vehicle player groupChat \"groupChat\";\nvehicle player vehicleChat \"vehicleChat\";\ndriver vehicle player commandChat \"commandChat\";\ndriver vehicle player customChat [1, \"customChat\"];\nsystemChat \"systemChat\";"]}],"see_also":["globalChat","groupChat","vehicleChat","commandChat","sideChat","systemChat","radioChannelCreate","customRadio"]}