When I try and use the <command:command> format in text with Skript, it only shows in chat and is not clickable like how I want it to be. In the file I linked, I showed how it doesnt seem to want to be in the normal format and shows the whole <command> statement thats supposed to be clickable text.
My code:
If you need the rest of my code, I can hand it over. If I could get some help on this, that would be great. I've never had this issue so I don't really know what to do. Much gratitude.
(Edit: It works without the %player% in the command so it's because of the %player% thats needed in the <command> part)
My code:
Code:
command /tpa <player>:
trigger:
add arg-1 to {tpreqgive::%player%::*}
add player to {tpreqrec::%arg-1%::*}
send "&6[&eTPA&6] &6You have sent a teleportation request to &c%arg-1%"
send "&6[&eTPA&6] &6You have received a teleportation request from &c%player%"
send "&6[&eTPA&6] <command:/tpaccept %player%>&aAccept<reset><command:/tpadeny %player%>&cDeny<reset>" to arg-1
(Edit: It works without the %player% in the command so it's because of the %player% thats needed in the <command> part)
Attachments
Last edited: