I will add the error screenshot here is the code:
Skript version 2.2 Snapshot
I have vault and SkQuery
Skript version 2.2 Snapshot
I have vault and SkQuery
Code:
command rankup:
trigger:
if player's group is "Farmer":
if %vault_eco_balance% is more than or equal to 50000:
execute console command "/manuadd %player% miner"
broadcast "&a%player% &8has leveled up to &8[&2Miner&8]"
else:
send "&8<&c!&8> &7You do not have enough money to rankup"
send "&8<&c!&8> &7Your current balance is &a%vault_eco_balance%"