# Autorzy: iiPanda # Skrypt jest chroniony prawami autorskimi # © iiPanda - 2017 # Pomysly i bledy piszcie na skype (kurunio301) lub email (jutuberek007@gmail.com) # Wersja 2.1 options: tag: &8[&4Hero&cItems&8] command /daj [] []: permission: iipanda.heroitems.daj permission message: &aNie masz uprawnien! &f(&4iipanda.heroitems.daj&f) trigger: if arg 1 is not set: send "&cUzycie: /daj []" stop if arg 2 is set: else if "%arg 1%" is "kilof": give arg 2 1 diamond pickaxe of efficiency 6 unbreaking 3 and fortune 3 named "&aKilof &c6&a/&c3&a/&c3" else if "%arg 1%" is "miecz": give arg 2 1 diamond sword of sharpness 7 and fire aspect 2 named "&aMiecz &c7&a/&c2" else if "%arg 1%" is "set": give arg 2 1 diamond helmet of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give arg 2 1 diamond chestplate of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give arg 2 1 diamond leggings of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give arg 2 1 diamond boots of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" else: set {_} to arg 1 parsed as item give {_} to the arg 2 send "{@tag} &aDales %arg 1% graczu %arg 2%!" send "{@tag} &aDostales %arg 1% od gracza %player%!" to arg 2 stop if "%arg 1%" is "kilof": give player 1 diamond pickaxe of efficiency 6 unbreaking 3 and fortune 3 named "&aKilof &c6&a/&c3&a/&c3" else if "%arg 1%" is "miecz": give player 1 diamond sword of sharpness 7 and fire aspect 2 named "&aMiecz &c7&a/&c2" else if "%arg 1%" is "set": give player 1 diamond helmet of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give player 1 diamond chestplate of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give player 1 diamond leggings of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give player 1 diamond boots of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" else: set {_} to arg 1 parsed as item give {_} to the player send "{@tag} &aDostales %arg 1%!" command /all []: permission: iipanda.heroitems.all permission message: &aNie masz uprawnien! &f(&4iipanda.heroitems.all&f) trigger: if "%arg 1%" is "kilof": give all players 1 diamond pickaxe of efficiency 6 unbreaking 3 and fortune 3 named "&aKilof &c6&a/&c3&a/&c3" else if "%arg 1%" is "miecz": give all players 1 diamond sword of sharpness 7 and fire aspect 2 named "&aMiecz &c7&a/&c2" else if "%arg 1%" is "set": give all players 1 diamond helmet of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give all players 1 diamond chestplate of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give all players 1 diamond leggings of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" give all players 1 diamond boots of protection 5 and unbreaking 2 named "&aSet &c5&a/&c2" else: set {_} to arg 1 parsed as item give {_} to the all players send "{@tag} &aDales %arg 1% wszystkim gracza!" broadcast "{@tag} &4&lCaly serwer dostal %arg 1%"