[Skript] convert items to blocks!

Discussion in 'Bukkit Help' started by xCrillez, Jan 24, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    xCrillez

    This is the code i got so far!


    [​IMG]


    It almost works as intended, it takes 9 iron ingots and replaces them with 1 iron block.
    But whenever i have less than 9 iron ingot it just takes them and replace them with an iron block aswell.
    So if i mine 1 piece of iron ore i will get 1 iron block.
    How can i code so it will only take my iron ingot and convert them into blocks if i have at least 9 iron ingots?
    Hope you understand what i was trying to tell!
    I am new to using Skript so dont be to hard on me :)
     
  2. Offline

    timtower Administrator Administrator Moderator

    Moved to Bukkit help
     
Thread Status:
Not open for further replies.

Share This Page