I'm creating aan adventure map and need a dialogue system for the NPCs, one. One simple way I thought of doing this was having a chain of click events in the chat. Unfortunately I'm still new at commands and all the ones I tryed ethertried either didn't work or gave a result that I wasn't fond of... here
Here is the command I tried: tellraw @p [{"text":"text","color":"green"},{"text":" text","color":"aqua","clickEvent":{"action":"run_command","value":"/say @p"}},{"text":" Click to Continue","clickEvent":{"action":"run_command","value":"/tellraw @p text","color":"aqua"},{"clickEvent":{"action":"run_command","value":"/text"}}]
tellraw @p [{"text":"text","color":"green"},{"text":"text","color":"aqua","clickEvent":{"action":"run_command","value":"/say @p"}},{"text":" Click to Continue","clickEvent":{"action":"run_command","value":"/tellraw @p text","color":"aqua"},{"clickEvent":{"action":"run_command","value":"/text"}}]