Sends message to all players in the team of the entity who runs the command.
- Specifies the message to send to team.
- Must be a plain text. Can include spaces as well as target selectors. The game replaces entity selectors in the message with the list of selected entities' names, which is formatted as "name1 and name2" for two entities, or "name1, name2, ... and namen" for n entities.
|any||the arguments are not specified correctly||Unparseable|
|the executor is not an entity|
|the executor is not in any team|
|On success||Send message to only player(s) in the same team.|
|any||Java Edition||On fail||0||0||0|
|On success||1||1||the number of players in the same team|