Skray Posted May 17, 2021 Share Posted May 17, 2021 (edited) Command /rankup trigger: if player's {group} is stone if player's inventory contains 5 stone named "Compressed Stone" execute command /pex user %player% group set iron delete 5 stone named "Compressed Stone" from player's inventory else: send "You can't afford that" else: if player's {group} is iron if player's inventory contains 5 iron block named "Compressed Iron" delete 5 iron block named "Compressed Iron" from player's inventory execute command /pet user %player% group set diamond else: send "You can't afford that" else: send "You are on the max level" (For the ranks I am using Permission Ex) (Other plugins I use: Skript, Skbee, Tuske, Vault) Edited May 17, 2021 by Skray My message vanished Link to comment Share on other sites More sharing options...
Encrypt Posted May 17, 2021 Share Posted May 17, 2021 What is the issue? Is it getting errors or just not working? Owner/Developer of WWWings Skript Developer "WWWings is epic" -Trent Feel free to give me a like if I have helped you Link to comment Share on other sites More sharing options...
Skray Posted May 17, 2021 Author Share Posted May 17, 2021 4 minutes ago, Encrypt said: What is the issue? Is it getting errors or just not working? Idk, haven't tested it. Just want to know if someone can see something that wouldn't work. Link to comment Share on other sites More sharing options...
Encrypt Posted May 17, 2021 Share Posted May 17, 2021 At a quick glance it looks fine, its better to test it than asking on the forums though. Owner/Developer of WWWings Skript Developer "WWWings is epic" -Trent Feel free to give me a like if I have helped you Link to comment Share on other sites More sharing options...
Skray Posted May 17, 2021 Author Share Posted May 17, 2021 1 minute ago, Encrypt said: At a quick glance it looks fine, its better to test it than asking on the forums though. Okay! I will test it! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now