I wanna make a message that you can click on and the command that it runs has Variables in it and its not working with the variable in it and tellraw isn't working at all
the variable is set in another command btw
The problem is when I try /test it sends <run command:/home %{home1::%player%}% Click here to tp instead of just Click here to tp
and I tried tell raw with console command "/tellraw %player% ["",{"text":"click here to tp","clickEvent":{"action":"run_command","value":"/home %{home1::%player%}%"}}]"
Code:
command /test:
trigger:
send "<run command:/home %{home1::%player%}% Click here to tp" to player
the variable is set in another command btw
The problem is when I try /test it sends <run command:/home %{home1::%player%}% Click here to tp instead of just Click here to tp
and I tried tell raw with console command "/tellraw %player% ["",{"text":"click here to tp","clickEvent":{"action":"run_command","value":"/home %{home1::%player%}%"}}]"