Skip to main content

How to create a chain ofadd clickEvents withto a tellraw command blocks

spelling, formatted command
Source Link

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"}}]

I'm creating a adventure map and need a dialogue system for the NPCs, 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 ether didn't work or gave a result that I wasn't fond of... 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"}}]

I'm creating an adventure map and need a dialogue system for the NPCs. 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 tried either didn't work or gave a result that I wasn't fond of...

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"}}]
Source Link

How to create a chain of clickEvents with command blocks

I'm creating a adventure map and need a dialogue system for the NPCs, 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 ether didn't work or gave a result that I wasn't fond of... 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"}}]