command /mob [] [] [] [] [] [] []: trigger: if player have permission "edit.mob": if arg 1 is "edytuj" if arg 2 is set: if arg 2 is not "standard": set {EB.hp.%player%} to arg 2 parsed as integer send "Ustawiono max hp na %arg 2%" else: set {EB.hp.%player%} to "%arg 2%" if arg 3 is set: if arg 3 is "none" or "chainmail" or "lether" or "iron" or "gold" or "diamond": set {EB.helmet.%player%} to arg 3 send "Ustawiono przedmiot na: %arg 3%" else: send "ERROR! Skrypt nie wie co to %arg 3%" if arg 4 is set: if arg 4 is "none" or "chainmail" or "lether" or "iron" or "gold" or "diamond": set {EB.chestplate.%player%} to arg 4 send "Ustawiono przedmiot na: %arg 4%" else: send "ERROR! Skrypt nie wie co to %arg 4%" if arg 5 is set: if arg 5 is "none" or "chainmail" or "lether" or "iron" or "gold" or "diamond": set {EB.pants.%player%} to arg 5 send "Ustawiono przedmiot na: %arg 5%" else: send "ERROR! Skrypt nie wie co to %arg 5%" if arg 6 is set: if arg 6 is "none" or "chainmail" or "lether" or "iron" or "gold" or "diamond": set {EB.shoes.%player%} to arg 6 send "Ustawiono przedmiot na: %arg 6%" else: send "ERROR! Skrypt nie wie co to %arg 6%" if arg 7 is set: if arg 7 is "none" or "wood" or "iron" or "gold" or "diamond" or "bow: set {EB.tool.%player%} to arg 7 send "Ustawiono przedmiot na: %arg 7%" send "Teraz kliknij na jakiegoś moba prawym przyciskiem myszy" set {EM.edycja.%player%} to true else: send "ERROR! Skrypt nie wie co to %arg 7%" else: send "Musisz ustawić przdemiot" else: send "Musisz ustawić buty" else: send "Musisz ustawić spodnie" else: send "Musisz ustawić napierśnik" else: send "Musisz ustawić hełm" else: send "Musisz ustawić ilość HP" else: send "Nie znane polecenie" else: send "Nie masz praw" # on rightclick on creature: if {EM.edycja.%player%} is true: set {_mob.%player%} to clicked creature if {EB.hp.%player%} is not standard: set max health of clicked entity to heal clicked entity if {EB.helmet.%player%} is not "none": set helmet of the {_mob.%player%} to a {EB.helmet.%player%} helmet if {EB.chestplate.%player%} is not "none": set chestplate of the {_mob.%player%} to a {EB.chestplate.%player%} chestplate if {EB.pants.%player%} is not "none": set leggings of the {_mob.%player%} to a {EB.leggins.%player%} leggings if {EB.shoes.%player%} is not "none": set shoes of the {_mob.%player%} to a {EB.shoes.%player%} shoes if {EB.tool.%player%} is not "none": if {EB.tool.%player%} is not "bow": set tool of the {_mob.%player%} to a {EB.tool.%player%} sword else: set tool of the {_mob.%player%} to a bow set {EM.edycja.%player%} to false send "Pomyślnie ustawiono moba!" #