How do i set another players variable with a uuid in it to a number?

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

Aug 18, 2023
18
1
3
so im making a strength smp plugin but im trying to make a setstrength command. The part where it sends something to the player works well but the variable wont change. Heres my code:

command /setstrength [<player>] [<integer>]:
permission: op
trigger:
set {strength::%arg-1's uuid%} to arg-2
send "&cSomeone Set Your Strength To %arg-2%!" to arg-1

Edit: there is proper spacing it just doesnt show. That isnt the error.
edit 2: also it says there isnt an error in minehut
1692339734152.png
 
Last edited:
so im making a strength smp plugin but im trying to make a setstrength command. The part where it sends something to the player works well but the variable wont change. Heres my code:

command /setstrength [<player>] [<integer>]:
permission: op
trigger:
set {strength::%arg-1's uuid%} to arg-2
send "&cSomeone Set Your Strength To %arg-2%!" to arg-1

Edit: there is proper spacing it just doesnt show. That isnt the error.
edit 2: also it says there isnt an error in minehut View attachment 7741
Remove [] between arguments to force the user to fill in the argument
Debug
Use offline player instead of player