Jump to content

Need help with my skript


Recommended Posts

command /astrokit:
  trigger:
    set {astroDelay} to difference between {astro.%player%} and now
    if {astroDelay} is less than 1 minute:
      send "&bThis kit is on cooldown. You may use it again in &f%difference between {astroDelay} and 1 minute%&b."
      stop
    set {astro.%player%} to now
    wait 1 tick
    equip player with iron helmet
    equip player with iron chestplate
    equip player with chain leggings
    equip player with iron boots
    give player stone axe
    give player feather named "&5&lGravity Feather" with lore "right click while holding this to gain Jump Boost 2"
    give player golden apple
    give player golden apple
    give player golden apple
    give player golden apple
    give player Bow
    give player arrow
    give player arrow
    give player arrow
    give player arrow
    give player arrow
    give player arrow
    give player arrow
    give player arrow
    give player arrow
    give player arrow
    give player beetroot soup
    give player beetroot soup
    give player beetroot soup
    give player beetroot soup
    if player's balance is more or equal to 1000:
          subtract 1000 from player's balance
    else:
            send "Insufficient Funds!"

 

it says this i have no clue what it means ??????
 

2021-04-03_21.58.19.png

Link to comment
Share on other sites

It's hard to explain what it means but I went ahead and just reskripted your skript a bit for you, it's shorter and doesnt use nested variables now 😄 

 

https://pastebin.com/cYpJ8gEg - The skript

 

https://forums.skunity.com/threads/empty-configuration-section.11679/ - Not sure if this will help with your problem but the person on that thread had a similar problem! 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...