Context;
I’ve made custom ranks I’d like people to purchase with ingame money once they’ve reached the highest rank.
I got the permission node to work, but I can’t figure out how to check if the players balance is equal or greater to the desired price.
Here’s the code I used;
Command: /alchemist
Permission: special.rankup
Permission message: &cYou lack the knowledge or funds for this rankup!
if player’s balance is greater than or equal to 800000:
make console execute command “Lp user %player% parent set alchemist”
else:
Send “&cYou don’t have enough money!”
Apparently line 4 is the issue
Side note: this is my first time writing code so please go easy on me 🙏🏽😅