Can't do a ClickEvent on a ClickEvent on a ClickEvent, etc..
What I expected to happen was...:
(sorry for my english I'm not english)
I wanted to do a ClickEvent on a ClickEvent on a Clickevent on a tellraw command and plus. Three clickEvent work but more no. This is an exemple of the command :
/tellraw @p [{"text":"Good","color":"green","clickEvent":{"action":"run_command","value":"
/tellraw @p [{\"text\":\"Very Good\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"
/tellraw @p [{\\\"text\\\":\\\"Excellent\\\",\\\"color\\\":\\\"yellow\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"
/say Ok stop the tellraw it's too much..
\\\"}}]
\"}}]
"}}]
But I wanted, for my command to add another /tellraw command. I try (\\\\\"text\\\\\") with five ( \ ) but it doesn't work. I try more ( \ ), I try ( ' ) and other thing but it doesn't work.
Strange thing is that ( \\\\\n ) work but not the tellraw command.
What actually happened was...:
Invalid Json, Unterminated string or other bug report.
Steps to Reproduce:
1. Copy and Paste the command
2. Change the line with the /say command with a /tellraw
Comments 3
/tellraw
(and book) click events force the player to run the command in chat as though they typed it themselves, meaning they are subject to standard chat limits (in this case, the character limit) as well as requiring OP status to run OP-only commands. You will need to use a shorter command such as /scoreboard
(or /trigger
for non-OP'd playesr) to mark the clicking player and run external commands at that player.
You would need 7 \ for the next nested tellraw, but keep in mind that a tellraw run_command is executed by the player, and the command length is limited to 256