Solved Click command

  • 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 comminuty!

    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!

Status
Not open for further replies.

notlul

Member
Oct 3, 2022
1
1
3
22
So I wanted to make /duel. Everything works fine but im trying to make to execute command /duelaccept player when clicking a text but I cant get it to work.
Here is the skript im using:

message "&6%player% wants to duel you. Type /duelaccept %player% to accept or click <command: /da %player%>&lhere<reset>" to arg-1

I tried using json but it didnt work(I didnt use any addons for json)
[doublepost=1664810416,1664806312][/doublepost]just had to do this
Send formatted "&6 %player% has dueled you! <command:/da %player%>Click me to accept!<reset> <command:/dd %player%>Click me to decline!<reset>"
 
  • Like
Reactions: RoosSkywalker
Status
Not open for further replies.