hi, im making a code, but i have this following problem:
Code:
command /test123:
permission: admin.test
trigger:
loop {pvp.elo.*}:
loop-value is greater than 1999
set {seasonglory} to loop-value - 2000
set {seasonglory} to {seasonglory} / 2
if {seasonglory} is not an integer:
remove 0.5 from {seasonglory}
remove {seasonglory} from loop-value
add {seasonglory} to {pvp.glory.%loop-player%} # i want to add seasonglory to {pvp.glory.%whatever the "*" in "loop {pvp.elo.*}" is%}