Basic Posted March 27, 2020 Share Posted March 27, 2020 command /test: add 1 to {test} send "%{test}%" Trigger: If {test} is 0 or 1: If player's balance is between 2500 and 1000000: message "&aYour rank is raised to B!" remove 25000 from player's balance Else: message "&cThe requirement is not met!" Else: If {test} is 1: If player's balance is between 5000 and 1000000: message "&aYour rank is raised to C!"" remove 5000 from player's balance Else: message "&cThe requirement is not met" Else: If {test} is 2: If player's balance is between 150000 and 1000000: message "&aYour rank is raised to D!" remove 10000 from player's balance Else: message "&cThe requirement is not met" Help me with my script, it doesn't work Link to comment Share on other sites More sharing options...
Migins Posted May 4, 2020 Share Posted May 4, 2020 (edited) Error? What's the issue? * Sorry, I just realised I necroposted. Edited May 4, 2020 by Migqy ► Support July 29, 2020 → November 3, 2020 ► Helper November 3, 2020 → February 22, 2021 ► Moderator February 22, 2021 → May 17, 2021 ► I might not always respond to forum dms, however I am always contactable on discord (mig#0069) Link to comment Share on other sites More sharing options...
zKoro Posted May 6, 2020 Share Posted May 6, 2020 You have code before "trigger:", all code has to be after it ⮞ Junior Mod (01/04/2020) - Resigned ⮜ ⮞ Discord » Koronotchi#0001 ⮜⮞ Minecraft Username » Koronotchi ⮜ Link to comment Share on other sites More sharing options...
_TaZePUg Posted May 6, 2020 Share Posted May 6, 2020 command /test: trigger: add 1 to {test} send "%{test}%" if {test} is 0 or 1: if player's balance is between 2500 and 1000000: message "&aYour rank is raised to B!" remove 25000 from player's balance else: message "&cThe requirement is not met!" else: if {test} is 1: if player's balance is between 5000 and 1000000: message "&aYour rank is raised to C!"" remove 5000 from player's balance else: message "&cThe requirement is not met" else: if {test} is 2: if player's balance is between 150000 and 1000000: message "&aYour rank is raised to D!" remove 10000 from player's balance else: message "&cThe requirement is not met" No need for all the caps aswell Developer Skript, HTML, CSS, PHP, Java, JavaScript, Python, Lua 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