#mEsseAnvil - Nadanie nazwy i opisu itemu! #Autorem mEsseAnvil jest Mati17102 #Wersja Skryptu v1.0 #Data publikacji: 28.02.2018r. | 21: #ZERO-BLEDOW #Regulamin korzystania z skryptu: #1 - Zakaz usuwania tych jak i u gory linijek #2 - Zakaz podszywania sie pod autora #3 - Mozliwosc edytowania ponizszego skryptu #4 - CALKOWITY ZAKAZ PUBLIKOWANIA SKRYPTU NA INNYCH STRONACH JAK I SKRIPT.PL options: tag: &8[&4mEsse&7Anvil&8] &4» autor: &4M&6a&et&ai&21&97&51&d0&72 variables: {lorename.%player%} = false {itemname.%player%} = false command /anvil []: trigger: if arg 1 is not set: open chest with 1 rows named "{@tag} &7Nazwa & Opis" to player format slot 0 of player with 1 Red Glass to close format slot 1 of player with 1 Orange Glass to close format slot 2 of player with 1 Yellow Glass to close format slot 3 of player with 1 anvil named "{@tag} &4Kliknij, &6aby &enadac &anazwe &2dla &bitemu&9!" to close then run [execute player command "anvil nazwa"] format slot 4 of player with 1 Light Green Glass to close format slot 5 of player with 1 anvil named "{@tag} &4Kliknij, &6aby &enadac &aopis &2dla &bitemu&9!" to close then run [execute player command "anvil opis"] format slot 6 of player with 1 Light Blue Glass to close format slot 7 of player with 1 Blue Clay named "{@tag} &4Autor:" with lore "&4» {@autor}" to close format slot 8 of player with 1 Red Clay named "{@tag} &4Wyjscie &6z &emenu&a." to close if arg 1 is not "opis" or "nazwa": execute player command "anvil" if arg 1 is "opis": if player has permission "anvil.opis": set {lorename.%player%} to true send "{@tag} &4Napisz &6na &echacie &aopis &2przedmiotu!" else: if player has 8 diamond: remove 8 diamond from player set {lorename.%player%} to true send "{@tag} &4Napisz &6na &echacie &aopis &2przedmiotu!" else: send "{@tag} &4Nie &6posiadasz &e(...)&a!" if arg 1 is "nazwa": if player has permission "anvil.nazwa": set {itemname.%player%} to true send "{@tag} &4Napisz &6na &echacie &anazwe &2przedmiotu!" else: if player has 8 diamond: remove 8 diamond from player set {lorename.%player%} to true send "{@tag} &4Napisz &6na &echacie &anazwe &2przedmiotu!" else: send "{@tag} &4Nie &6posiadasz &e(...)&a!" on chat: if {itemname.%player%} is true: cancel event if message contains "anuluj" or "stop": set {itemname.%player%} to false send "{@tag} &4Anulowano &6nadawanie &enazwy &aprzedmiotu&2." else: set {itemess.%player%} to "%message%" set the name of player's tool to coloured {itemess.%player%} set {itemname.%player%} to false send "{@tag} &4Nadano &6opis &eitemu&a!" on chat: if {lorename.%player%} is true: cancel event if message contains "anuluj" or "stop": set {lorename.%player%} to false send "{@tag} &4Anulowano &6nadawanie &eopis &aprzedmiotu&2." else: set {loreess.%player%} to "%message%" set the lore of player's tool to coloured {loreess.%player%} set {lorename.%player%} to false send "{@tag} &4Nadano &6opis &eitemu&a!"