Hello im working on a /rankup skript for a prison server but I dont know why its not working.
It sends an Internal error message each time I do /rankup
Anyone know why its not working?
Heres the code:
command /rankup:
Trigger:
If player has permission "A" or "Default":
If player's >= 25000 and 10000000000000:
execute console command "/pex user %player% BB"
broadcast "&6Rankup &7» &e%player% &6ranked up to &eB"
message "&6Rankup &7» &6You ranked up to &eB"
remove 25000 from player's balance
Else:
message "&6Rankup &7» &cYou don't have enough money to rankup!"
Else:
If player has permission "B":
If player's >= 70000 and 10000000000000:
execute console command "/pex user %player% CC"
broadcast "&6Rankup &7» &e%player% &6ranked up to &eC"
message "&6Rankup &7» &6You ranked up to &eC"
remove 70000 from player's balance
Else:
message "&6Rankup &7» &cYou don't have enough money to rankup!"
Rankup Skript Help
in Discussion
Posted
Hello im working on a /rankup skript for a prison server but I dont know why its not working.
It sends an Internal error message each time I do /rankup
Anyone know why its not working?
Heres the code:
command /rankup: Trigger: If player has permission "A" or "Default": If player's >= 25000 and 10000000000000: execute console command "/pex user %player% BB" broadcast "&6Rankup &7» &e%player% &6ranked up to &eB" message "&6Rankup &7» &6You ranked up to &eB" remove 25000 from player's balance Else: message "&6Rankup &7» &cYou don't have enough money to rankup!" Else: If player has permission "B": If player's >= 70000 and 10000000000000: execute console command "/pex user %player% CC" broadcast "&6Rankup &7» &e%player% &6ranked up to &eC" message "&6Rankup &7» &6You ranked up to &eC" remove 70000 from player's balance Else: message "&6Rankup &7» &cYou don't have enough money to rankup!"