Skocz do zawartości

Wyloteq

Użytkownik
  • Ilość zawartości

    1
  • Rejestracja

  • Ostatnia wizyta

Ostatnie wizyty

Blok z ostatnimi odwiedzającymi dany profil jest wyłączony i nie jest wyświetlany użytkownikom.

Osiągnięcia Wyloteq

Świeżak

Świeżak (1/13)

0

Reputacja

  1. command /sklepzawalute: trigger: set {_gui} to chest inventory with 5 rows named "&7Sklep" set slot 21 of {_gui} to lime concrete named "&aKupno przedmiotow" set slot 23 of {_gui} to red concrete named "&cSprzedaz przedmiotow" open {_gui} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&7Sklep": cancel event if clicked slot is 21: execute player command "/|sklep-kupno" if clicked slot is 23: execute player command "/|sklep-sprzedaz" command /|sklep-kupno: trigger: set {_gui1} to chest inventory with 6 rows named "&8Wybierz sklep (&7&lKUPNO&8)" set slot 49 of {_gui1} to barrier named "&cPowrot" set slot 10 of {_gui1} to cow spawn egg with lore "&8>> &7Koszt Produktu: &f200$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 11 of {_gui1} to lapis lazuli with lore "&8>> &7Koszt Produktu: &f0.62$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 12 of {_gui1} to sugar cane with lore "&8>> &7Koszt Produktu: &f15$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 13 of {_gui1} to bookshelf with lore "&8>> &7Koszt Produktu: &f30$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 14 of {_gui1} to ender chest with lore "&8>> &7Koszt Produktu: &f150$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 15 of {_gui1} to villager spawn egg with lore "&8>> &7Koszt Produktu: &f500$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 16 of {_gui1} to enchanting table with lore "&8>> &7Koszt Produktu: &f150$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 20 of {_gui1} to oak log with lore "&8>> &7Koszt Produktu: &f5$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 21 of {_gui1} to apple with lore "&8>> &7Koszt Produktu: &f15$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 22 of {_gui1} to chorus fruit with lore "&8>> &7Koszt Produktu: &f10000$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 23 of {_gui1} to emerald with lore "&8>> &7Koszt Produktu: &f15$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 24 of {_gui1} to gunpowder with lore "&8>> &7Koszt Produktu: &f468.75$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 30 of {_gui1} to name tag with lore "&8>> &7Koszt Produktu: &f50$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 31 of {_gui1} to enchanted book of curse of vanishing with lore "&8>> &7Koszt Produktu: &f500$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" set slot 32 of {_gui1} to cobweb with lore "&8>> &7Koszt Produktu: &f50$" and "" and "&aKliknij &2LEWYM&a, aby zakupic!" open {_gui1} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&8Wybierz sklep (&7&lKUPNO&8)": cancel event if clicked slot is 49: execute player command "/sklepzawalute" if clicked slot is 10: execute player command "/|sklep-kupno-cow-spawn-egg" if clicked slot is 11: execute player command "/|sklep-kupno-lapis-lazuli" if clicked slot is 12: execute player command "/|sklep-kupno-sugar-cane" if clicked slot is 13: execute player command "/|sklep-kupno-bookshelf" if clicked slot is 14: execute player command "/|sklep-kupno-ender-chest" if clicked slot is 15: execute player command "/|sklep-kupno-villager-spawn-egg" if clicked slot is 16: execute player command "/|sklep-kupno-enchanting-table" if clicked slot is 20: execute player command "/|sklep-kupno-oak-log" if clicked slot is 21: execute player command "/|sklep-kupno-apple" if clicked slot is 22: execute player command "/|sklep-kupno-chorus-fruit" if clicked slot is 23: execute player command "/|sklep-kupno-emerald" if clicked slot is 24: execute player command "/|sklep-kupno-gunpowder" if clicked slot is 30: execute player command "/|sklep-kupno-name-tag" if clicked slot is 31: execute player command "/|sklep-kupno-enchanted-book" if clicked slot is 32: execute player command "/|sklep-kupno-cobweb" command /|sklep-kupno-cow-spawn-egg: trigger: set {_gui2} to chest inventory with 5 rows named "&8Wybierz sklep (&7&lKUPNO&8) | Cow spawn egg" set slot 40 of {_gui2} to barrier named "&cPowrot" set slot 31 of {_gui2} to lime dye named "&aZatwierdz Zakup" with lore "&7Kliknij aby zatwierdzic ten zakup." set slot 32 of {_gui2} to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" set slot 23 of {_gui2} to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" set slot 14 of {_gui2} to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 19 of {_gui2} to cow spawn egg named "&eJajo Krowy" with lore "&8>> &7Cena kupna: &f200$" open {_gui2} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&8Wybierz sklep (&7&lKUPNO&8) | Cow spawn egg": set {_item} to slot 19 of event-inventory cancel event if clicked slot is 40: execute player command "/|sklep-Kupno" if clicked slot is 32: add 1 of {_item} to slot 19 of event-inventory if amount of {_item} in event-inventory is more than 53: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is 64: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 23: if amount of {_item} in event-inventory is less than 55: add 10 of {_item} to slot 19 of event-inventory else: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is more than 63: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 14: add 64 of {_item} to slot 19 of event-inventory if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 53: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is more than 63: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 30: if slot 30 of event-inventory is air: cancel event if slot 30 of event-inventory is red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke": remove 1 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 2: set slot 30 of event-inventory to air if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is less than 10: set slot 21 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 21: if slot 21 of event-inventory is air: cancel event if slot 21 of event-inventory is red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk": if amount of {_item} in event-inventory is 10: remove 9 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is more than 10: remove 10 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 2: set slot 30 of event-inventory to air if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is less than 10: set slot 21 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 12: if slot 12 of event-inventory is air: cancel event if slot 12 of event-inventory is red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk": if amount of {_item} in event-inventory is 64: remove 63 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 31: set {_cow} to amount of {_item} in event-inventory if player's balance is more than or equal to {_cow} * 200: set {_cowcost} to {_cow} * 200 remove {_cowcost} from player's balance give {_cow} of cow spawn egg to player close player's inventory send message "&7Pomyslnie wykonano transakcje!" else: send message "&cNie stac cie na ten przedmiot!" command /|sklep-kupno-lapis-lazuli: trigger: set {_gui2} to chest inventory with 5 rows named "&8Wybierz sklep (&7&lKUPNO&8) | Lapis Lazuli" set slot 40 of {_gui2} to barrier named "&cPowrot" set slot 31 of {_gui2} to lime dye named "&aZatwierdz Zakup" with lore "&7Kliknij aby zatwierdzic ten zakup." set slot 32 of {_gui2} to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" set slot 23 of {_gui2} to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" set slot 14 of {_gui2} to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 19 of {_gui2} to lapis lazuli named "&eLapis Lazuli" with lore "&8>> &7Cena kupna: &f0.62$" open {_gui2} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&8Wybierz sklep (&7&lKUPNO&8) | Lapis Lazuli": set {_item} to slot 19 of event-inventory cancel event if clicked slot is 40: execute player command "/|sklep-Kupno" if clicked slot is 32: add 1 of {_item} to slot 19 of event-inventory if amount of {_item} in event-inventory is more than 53: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is 64: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 23: if amount of {_item} in event-inventory is less than 55: add 10 of {_item} to slot 19 of event-inventory else: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is more than 63: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 14: add 64 of {_item} to slot 19 of event-inventory if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 53: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is more than 63: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 30: if slot 30 of event-inventory is air: cancel event if slot 30 of event-inventory is red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke": remove 1 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 2: set slot 30 of event-inventory to air if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is less than 10: set slot 21 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 21: if slot 21 of event-inventory is air: cancel event if slot 21 of event-inventory is red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk": if amount of {_item} in event-inventory is 10: remove 9 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is more than 10: remove 10 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 2: set slot 30 of event-inventory to air if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is less than 10: set slot 21 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 12: if slot 12 of event-inventory is air: cancel event if slot 12 of event-inventory is red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk": if amount of {_item} in event-inventory is 64: remove 63 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 31: set {_lapis} to amount of {_item} in event-inventory if player's balance is more than or equal to {_lapis} * 0.62: set {_lapiscost} to {_lapis} * 0.62 remove {_lapiscost} from player's balance give {_lapis} of lapis lazuli to player close player's inventory send message "&7Pomyslnie wykonano transakcje!" else: send message "&cNie stac cie na ten przedmiot!" command /|sklep-kupno-sugar-cane: trigger: set {_gui2} to chest inventory with 5 rows named "&8Wybierz sklep (&7&lKUPNO&8) | sugar cane" set slot 40 of {_gui2} to barrier named "&cPowrot" set slot 31 of {_gui2} to lime dye named "&aZatwierdz Zakup" with lore "&7Kliknij aby zatwierdzic ten zakup." set slot 32 of {_gui2} to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" set slot 23 of {_gui2} to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" set slot 14 of {_gui2} to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 19 of {_gui2} to sugar cane named "&eTrzcina cukrowa" with lore "&8>> &7Cena kupna: &f15$" open {_gui2} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&8Wybierz sklep (&7&lKUPNO&8) | sugar cane": set {_item} to slot 19 of event-inventory cancel event if clicked slot is 40: execute player command "/|sklep-Kupno" if clicked slot is 32: add 1 of {_item} to slot 19 of event-inventory if amount of {_item} in event-inventory is more than 53: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is 64: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 23: if amount of {_item} in event-inventory is less than 55: add 10 of {_item} to slot 19 of event-inventory else: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is more than 63: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 14: add 64 of {_item} to slot 19 of event-inventory if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 53: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is more than 63: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 30: if slot 30 of event-inventory is air: cancel event if slot 30 of event-inventory is red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke": remove 1 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 2: set slot 30 of event-inventory to air if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is less than 10: set slot 21 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 21: if slot 21 of event-inventory is air: cancel event if slot 21 of event-inventory is red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk": if amount of {_item} in event-inventory is 10: remove 9 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is more than 10: remove 10 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 2: set slot 30 of event-inventory to air if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is less than 10: set slot 21 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 12: if slot 12 of event-inventory is air: cancel event if slot 12 of event-inventory is red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk": if amount of {_item} in event-inventory is 64: remove 63 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 31: set {_sugarcane} to amount of {_item} in event-inventory if player's balance is more than or equal to {_sugarcane} * 15: set {_sugarcanecost} to {_sugarcane} * 15 remove {_sugarcanecost} from player's balance give {_sugarcane} of sugar cane to player close player's inventory send message "&7Pomyslnie wykonano transakcje!" else: send message "&cNie stac cie na ten przedmiot!" command /|sklep-kupno-bookshelf: trigger: set {_gui2} to chest inventory with 5 rows named "&8Wybierz sklep (&7&lKUPNO&8) | bookshelf" set slot 40 of {_gui2} to barrier named "&cPowrot" set slot 31 of {_gui2} to lime dye named "&aZatwierdz Zakup" with lore "&7Kliknij aby zatwierdzic ten zakup." set slot 32 of {_gui2} to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" set slot 23 of {_gui2} to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" set slot 14 of {_gui2} to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 19 of {_gui2} to bookshelf named "&ePolka z ksiazkami" with lore "&8>> &7Cena kupna: &f30$" open {_gui2} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&8Wybierz sklep (&7&lKUPNO&8) | bookshelf": set {_item} to slot 19 of event-inventory cancel event if clicked slot is 40: execute player command "/|sklep-Kupno" if clicked slot is 32: add 1 of {_item} to slot 19 of event-inventory if amount of {_item} in event-inventory is more than 53: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is 64: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 23: if amount of {_item} in event-inventory is less than 55: add 10 of {_item} to slot 19 of event-inventory else: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is more than 63: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 14: add 64 of {_item} to slot 19 of event-inventory if amount of {_item} in event-inventory is 64: set slot 14 of event-inventory to air set slot 32 of event-inventory to air if amount of {_item} in event-inventory is more than 53: set slot 23 of event-inventory to air if amount of {_item} in event-inventory is more than 1: set slot 30 of event-inventory to red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke" if amount of {_item} in event-inventory is more than 9: set slot 21 of event-inventory to red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk" if amount of {_item} in event-inventory is more than 63: set slot 12 of event-inventory to red stained glass pane named "&cusun 64 sztuk" with lore "&7Kliknij, aby usunac 64 sztuk" if clicked slot is 30: if slot 30 of event-inventory is air: cancel event if slot 30 of event-inventory is red stained glass pane named "&cusun 1 sztuke" with lore "&7Kliknij, aby usunac 1 sztuke": remove 1 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less than 2: set slot 30 of event-inventory to air if amount of {_item} in event-inventory is less than 64: set slot 12 of event-inventory to air if amount of {_item} in event-inventory is less than 10: set slot 21 of event-inventory to air if amount of {_item} in event-inventory is 1: set slot 14 of event-inventory to lime stained glass pane named "&aDodaj 64 sztuk" with lore "&8>> &7Kliknij, aby dodac 64 sztuk" set slot 30 of event-inventory to air set slot 21 of event-inventory to air if amount of {_item} in event-inventory is less than 55: set slot 23 of event-inventory to lime stained glass pane named "&aDodaj 10 sztuk" with lore "&8>> &7Kliknij, aby dodac 10 sztuk" if amount of {_item} in event-inventory is less than 64: set slot 32 of event-inventory to lime stained glass pane named "&aDodaj 1 sztuke" with lore "&8>> &7Kliknij, aby dodac 1 sztuke" if clicked slot is 21: if slot 21 of event-inventory is air: cancel event if slot 21 of event-inventory is red stained glass pane named "&cusun 10 sztuk" with lore "&7Kliknij, aby usunac 10 sztuk": if amount of {_item} in event-inventory is 10: remove 9 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is more than 10: remove 10 of {_item} from slot 19 of event-inventory if amount of {_item} in event-inventory is less tha 2 Macie tutaj skrypt na sklep z anarchia.gg /sklepanarchia
×
×
  • Dodaj nową pozycję...