I want a line of text to appear in the chat, that when clicked on will execute a /fill
command.
I have used the following command to no avail: (~ = desired message or command)
/tellraw @a {"text":"~","clickEvent":{"action":run_command","value":"/~"}}
This command seems like it would work, but it says that it needs an "array."
/execute @a ~ ~ ~ tellraw @p {"nbt":"","storage":"Why would I do that?","italic":true,"underlined":true,"color":"yellow","clickEvent":{"action":"run_command","value":"/fill <> <to> <block>"}}