Is there a way to /tellraw the output of a command?
//ads -- adsterra.com -- native banner
?>
I want to /tellraw
everyone the result of /team list teamA
, which by itself would list the team members on teamA.
is there a way I can broadcast that to all players with a command block?
execute as @a at @s run team list blue
doesn't work, it only says the result in the command block's previous output bar
Using /say
or /tellraw
instead of /execute
doesn't help either
There also isn't any NBT data with a player's team, or I am just unable to find it
I am fine if any type of command works as long as it says the /team list
output in chat.
Pictures about "Is there a way to /tellraw the output of a command?"
How do you make a Tellraw command?
How to Enter the CommandHow does Tellraw command work?
ExamplesMinecraft Tellraw Command [1.19] Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Milada Vigerova, Rachel Claire, Tim Samuel, Maria Orlova