Solved Tellraw and send "<run command:/command> not working

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

hh07

Member
Jan 22, 2023
10
0
1
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

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%}%"}}]"
 
not working its sending <cmd:/home e> e <remove>
e is the value of the variable

without the variable its working (send "<run command:/say Hi> Click <remove>")
 
Are you sure you are using it correctly?

send formatted "<cmd:/mycommand>blah<reset>" to player
 
Its working now but it still sends the <reset> Can I just remove it from the code?
btw In my code is a color code so maybe its because of the color code.