Launch command by clicking words at the chat
//ads -- adsterra.com -- native banner
?>
In the map I am currently working on, there is a part where the player can choose [Yes] / [No] from chat, where The [Yes] is in green and the [No] is in red. Then a command would be run when the player clicks on either the Yes or the No. Are there any commands that can do that?
Pictures about "Launch command by clicking words at the chat"



How do you make a command say something in chat?
How to Enter the CommandCommand Block Tutorial #38: Simple Clickable Chat Commands in Minecraft (1.14+)
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: SHVETS production, Karolina Grabowska, Karolina Grabowska, Karolina Grabowska
