arg not registering

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

battlebond

Member
Mar 30, 2024
2
0
1
14
so basically i have this basic /stats command that was working like two days ago but now when i try to reload the skript it give me an error and after testing a bit i think the arg wont register properly can anyone help with this? thx:
command /stats [<player>]:
trigger:
send " %arg-1%'s stats are:" to player
send "&7kills: &b&l%{playerkills::%arg-1%}%" to player
send "&7deaths: &b&l%{playerdeaths::%arg-1%}%" to player
send "&7kdr: &b&l%({playerkills::%arg-1%}/{playerdeaths::%arg-1%})%" to player
send "&7current killstreak: &b&l%{playerkillstreak::%arg-1%}%" to player
send "&7best killstreak: &b&l%{playerhighestkillstreak::%arg-1%}%" to player
stop trigger
 
What error? I would also recommend you to rewrite "%arg-1% to "%uuid of arg-1%"
 
Okay, Im glad to hear that. Don't forget to mark this post as solved.