so i'm still trying to make a strength smp plugin but i'm up to the withdraw command. I want to add an integer to make you able to withdraw more than 1 at a time so it's easier.
Heres My Code:
command /withdrawstrength <integer>:
trigger:
if {strength::%player's uuid%} is set:
subtract arg-1 from {strength::%player's uuid%}
give player knowledge book named "&4&lStrength Book" with amount arg-1
there is proper spacing btw thats not the error ik it doesnt show but i use tabs
Edit: its the with amount arg-1 thats the problem but without it it only gives one and it doesnt work with it
Heres My Code:
command /withdrawstrength <integer>:
trigger:
if {strength::%player's uuid%} is set:
subtract arg-1 from {strength::%player's uuid%}
give player knowledge book named "&4&lStrength Book" with amount arg-1
there is proper spacing btw thats not the error ik it doesnt show but i use tabs
Edit: its the with amount arg-1 thats the problem but without it it only gives one and it doesnt work with it
Last edited: