command /sprzedajitem: trigger: set {_} to type of player's tool set {_i} to player's tool set {_name} to to name of player's tool set {_lore} to "%line 1 of lore of player's tool%" if {_} is air: send "&8>> &cW rece musisz trzymac przedmiot!" stop if {item::%{_i}%.%{_name}%.%{_lore}%} is not set: send "&8>> &cTego przedmiotu nie da sie sprzedac!" stop set {_xx} to {item::%{_i}%.%{_name}%.%{_lore}%} parsed as number give {_xx} of gold ingot to player remove {_} from player's inventory send "&8>> &aSprzedales &7%{_}% &aza &7%{item::%{_}%}% zlota&a!" stop command /itemusun: permission: item.usun trigger: set {_} to type of player's tool set {_i} to player's tool set {_name} to name of player's tool set {_lore} to "%line 1 of lore of player's tool%" if {_} is air: send "&8>> &cW rece musisz trzymac przedmiot!" stop if {item::%{_i}%.%{_name}%.%{_lore}%} is not set: send "&8>> &cTen przedmiot nie jest dodany do sprzedawania!" stop delete {item::%{_i}%.%{_name}%.%{_lore}%} send "&8>> &aUsunales &7%{_}%&a!" command /itemdodaj []: permission: item.dodaj trigger: set {_} to type of player's tool set {_i} to player's tool set {_name} to name of player's tool set {_lore} to "%line 1 of lore of player's tool%" if {_} is air: send "&8>> &cW rece musisz trzymac przedmiot!" stop if arg 1 is not set: send "&8>> &cWpisz cene w zlocie!" stop set {item::%{_i}%.%{_name}%.%{_lore}%} to "%arg 1%" send "&8>> &aOd teraz &7%{_i}% %{_name}% %{_lore}% &akosztuje &7%arg 1% zlota&a!" stop