Im trying to make a rankup system for my server, I cant get it to add 1 to the var {playerrank.%player%}
Code:
Code:
Code:
command /rankup:
trigger:
if {playerrank.%player%} is greater than or equal to "1":
if balance of player is greater than or equal to {cost.%player%}:
set {cost.%player%} to {cost.%player%} / .25
set {playerrank.%player%} to {playerrank.%player%} + 1
make console execute command "/eco take %player% %{cost.%player%}%"
send "&3[&bPrison&3] &7Ranked up to Mine %{playerrank.%player%}%"
else:
send "&3[&bPrison&3] &7Unable to rankup due to insufficient balance"