# # # <> GUIX <> # # Od razu Wersja POLSKA! # # Wazne Skroty! # # {LINE} - nowa linijka! Wazne do setlore! do addlore nie # {CLOSE} - Zamknij GUI! Napisz /guix setcommand (GUI) (SLOT) {CLOSE} - a gui sie zamknie! # {PLAYER} - Nazwa Gracza # {WORLD} - Nazwa Swiata # # Mozesz stworzyc wlasne jednostki! pod komenda /ph add (Twoja Jednostka) (Variable Skryptu!) - Narazie nie Dostepne! # options: tag: &e[&6&lGUI&5&lX&e] noperm: &cYou don't have Permission for this command! on script load: set {book} to "book" command /guix [] [] [] []: trigger: if arg 1 is not set: send " {@tag} &7- Najlepszy skript na GUI!" send "" send " &b/guix create (NAME) (ROWS) - Stworz!" send " &b/guix setitem (name) (slot) - musisz trzymac ITEM" send " &b/guix setname (name) (slot/gui=-1) {text)" send " &b/guix setlore (name) (slot) (lore)" send " &b/guix addlore (name) (slot) (lore)" send " &b/guix delslot (name) (slot)" send " &b/guix setcommand (name) (slot) (cmd or {CLOSE})" send " &b/guix remove (GUI)" send " &b/guix open (GUI)" send "" send " &3Dokumentacja: &7LINK" send " &7Komenda skrocona gui to bedzie nazwa gui czyli /guix open test1 = /test1" send "" send " {@tag} &7- Najlepszy skript na GUI!" stop if arg 1 is "create": if arg 2 is set: if arg 3 is set: if {guix.%arg 2%::create} is true: send "{@tag} &cTakie Gui juz istnieje!" stop if arg 3 > 5: send "{@tag} &cGui Nie moze byc wieksze nic 5!" stop send "{@tag} &aGui o nazwie &6%arg 2% &azostalo stworzone!" set {guix.%arg 2%::rows} to arg 3 set {guix.%arg 2%::create} to true set {guix.%arg 2%::name} to "&6New &4GUI" set {guix.%arg 2%::slot::0::item} to book set {guix.%arg 2%::slot::0::name} to "&eEdit Item" set {guix.%arg 2%::slot::0::lore} to "&r||&7Please enter command /guix setlore to edit Lore!||&r" set {guix.%arg 2%::slot::0::cmd} to "say %player% &7Please enter command /guix setlore to edit Lore!" set {guix::cmds::%arg 2%} to arg 2 stop send "{@tag} &cPoda ile ma byc Rows w GUI" stop send "{@tag} &cPodaj nazwe GUI" stop if arg 1 is "open": if arg 2 is set: if {guix.%arg 2%::create} is true: open chest with {guix.%arg 2%::rows} rows named "%{guix.%arg 2%::name}%" to player wait 3 ticks format slot 0 of player with {guix.%arg 2%::slot::0::item} named "&7%{guix.%arg 2%::slot::0::name}%" with lore "%{guix.%arg 2%::slot::0::lore}%" to run [execute console command "%{guix.%arg 2%::slot::0::cmd}%"] format slot 1 of player with {guix.%arg 2%::slot::1::item} named "&7%{guix.%arg 2%::slot::1::name}%" with lore "%{guix.%arg 2%::slot::1::lore}%" to run [execute console command "%{guix.%arg 2%::slot::1::cmd}%"] format slot 2 of player with {guix.%arg 2%::slot::2::item} named "&7%{guix.%arg 2%::slot::2::name}%" with lore "%{guix.%arg 2%::slot::2::lore}%" to run [execute console command "%{guix.%arg 2%::slot::2::cmd}%"] format slot 3 of player with {guix.%arg 2%::slot::3::item} named "&7%{guix.%arg 2%::slot::3::name}%" with lore "%{guix.%arg 2%::slot::3::lore}%" to run [execute console command "%{guix.%arg 2%::slot::3::cmd}%"] format slot 4 of player with {guix.%arg 2%::slot::4::item} named "&7%{guix.%arg 2%::slot::4::name}%" with lore "%{guix.%arg 2%::slot::4::lore}%" to run [execute console command "%{guix.%arg 2%::slot::4::cmd}%"] format slot 5 of player with {guix.%arg 2%::slot::5::item} named "&7%{guix.%arg 2%::slot::5::name}%" with lore "%{guix.%arg 2%::slot::5::lore}%" to run [execute console command "%{guix.%arg 2%::slot::5::cmd}%"] format slot 6 of player with {guix.%arg 2%::slot::6::item} named "&7%{guix.%arg 2%::slot::6::name}%" with lore "%{guix.%arg 2%::slot::6::lore}%" to run [execute console command "%{guix.%arg 2%::slot::6::cmd}%"] format slot 7 of player with {guix.%arg 2%::slot::7::item} named "&7%{guix.%arg 2%::slot::7::name}%" with lore "%{guix.%arg 2%::slot::7::lore}%" to run [execute console command "%{guix.%arg 2%::slot::7::cmd}%"] format slot 8 of player with {guix.%arg 2%::slot::8::item} named "&7%{guix.%arg 2%::slot::8::name}%" with lore "%{guix.%arg 2%::slot::8::lore}%" to run [execute console command "%{guix.%arg 2%::slot::8::cmd}%"] format slot 9 of player with {guix.%arg 2%::slot::9::item} named "&7%{guix.%arg 2%::slot::0::name}%" with lore "%{guix.%arg 2%::slot::0::lore}%" to run [execute console command "%{guix.%arg 2%::slot::0::cmd}%"] format slot 10 of player with {guix.%arg 2%::slot::10::item} named "&7%{guix.%arg 2%::slot::10::name}%" with lore "%{guix.%arg 2%::slot::10::lore}%" to run [execute console command "%{guix.%arg 2%::slot::10::cmd}%"] format slot 11 of player with {guix.%arg 2%::slot::11::item} named "&7%{guix.%arg 2%::slot::11::name}%" with lore "%{guix.%arg 2%::slot::11::lore}%" to run [execute console command "%{guix.%arg 2%::slot::11::cmd}%"] format slot 12 of player with {guix.%arg 2%::slot::12::item} named "&7%{guix.%arg 2%::slot::12::name}%" with lore "%{guix.%arg 2%::slot::12::lore}%" to run [execute console command "%{guix.%arg 2%::slot::12::cmd}%"] format slot 13 of player with {guix.%arg 2%::slot::13::item} named "&7%{guix.%arg 2%::slot::13::name}%" with lore "%{guix.%arg 2%::slot::13::lore}%" to run [execute console command "%{guix.%arg 2%::slot::13::cmd}%"] format slot 14 of player with {guix.%arg 2%::slot::14::item} named "&7%{guix.%arg 2%::slot::14::name}%" with lore "%{guix.%arg 2%::slot::14::lore}%" to run [execute console command "%{guix.%arg 2%::slot::14::cmd}%"] format slot 15 of player with {guix.%arg 2%::slot::15::item} named "&7%{guix.%arg 2%::slot::15::name}%" with lore "%{guix.%arg 2%::slot::15::lore}%" to run [execute console command "%{guix.%arg 2%::slot::15::cmd}%"] format slot 16 of player with {guix.%arg 2%::slot::16::item} named "&7%{guix.%arg 2%::slot::16::name}%" with lore "%{guix.%arg 2%::slot::16::lore}%" to run [execute console command "%{guix.%arg 2%::slot::16::cmd}%"] format slot 17 of player with {guix.%arg 2%::slot::17::item} named "&7%{guix.%arg 2%::slot::17::name}%" with lore "%{guix.%arg 2%::slot::17::lore}%" to run [execute console command "%{guix.%arg 2%::slot::17::cmd}%"] format slot 18 of player with {guix.%arg 2%::slot::18::item} named "&7%{guix.%arg 2%::slot::18::name}%" with lore "%{guix.%arg 2%::slot::18::lore}%" to run [execute console command "%{guix.%arg 2%::slot::18::cmd}%"] format slot 19 of player with {guix.%arg 2%::slot::19::item} named "&7%{guix.%arg 2%::slot::19::name}%" with lore "%{guix.%arg 2%::slot::19::lore}%" to run [execute console command "%{guix.%arg 2%::slot::19::cmd}%"] format slot 20 of player with {guix.%arg 2%::slot::20::item} named "&7%{guix.%arg 2%::slot::20::name}%" with lore "%{guix.%arg 2%::slot::20::lore}%" to run [execute console command "%{guix.%arg 2%::slot::20::cmd}%"] format slot 21 of player with {guix.%arg 2%::slot::21::item} named "&7%{guix.%arg 2%::slot::21::name}%" with lore "%{guix.%arg 2%::slot::21::lore}%" to run [execute console command "%{guix.%arg 2%::slot::21::cmd}%"] format slot 22 of player with {guix.%arg 2%::slot::22::item} named "&7%{guix.%arg 2%::slot::22::name}%" with lore "%{guix.%arg 2%::slot::22::lore}%" to run [execute console command "%{guix.%arg 2%::slot::22::cmd}%"] format slot 23 of player with {guix.%arg 2%::slot::23::item} named "&7%{guix.%arg 2%::slot::23::name}%" with lore "%{guix.%arg 2%::slot::23::lore}%" to run [execute console command "%{guix.%arg 2%::slot::23::cmd}%"] format slot 24 of player with {guix.%arg 2%::slot::24::item} named "&7%{guix.%arg 2%::slot::24::name}%" with lore "%{guix.%arg 2%::slot::24::lore}%" to run [execute console command "%{guix.%arg 2%::slot::24::cmd}%"] format slot 25 of player with {guix.%arg 2%::slot::25::item} named "&7%{guix.%arg 2%::slot::25::name}%" with lore "%{guix.%arg 2%::slot::25::lore}%" to run [execute console command "%{guix.%arg 2%::slot::25::cmd}%"] format slot 26 of player with {guix.%arg 2%::slot::26::item} named "&7%{guix.%arg 2%::slot::26::name}%" with lore "%{guix.%arg 2%::slot::26::lore}%" to run [execute console command "%{guix.%arg 2%::slot::26::cmd}%"] format slot 27 of player with {guix.%arg 2%::slot::27::item} named "&7%{guix.%arg 2%::slot::27::name}%" with lore "%{guix.%arg 2%::slot::27::lore}%" to run [execute console command "%{guix.%arg 2%::slot::27::cmd}%"] format slot 28 of player with {guix.%arg 2%::slot::28::item} named "&7%{guix.%arg 2%::slot::28::name}%" with lore "%{guix.%arg 2%::slot::28::lore}%" to run [execute console command "%{guix.%arg 2%::slot::28::cmd}%"] format slot 29 of player with {guix.%arg 2%::slot::29::item} named "&7%{guix.%arg 2%::slot::29::name}%" with lore "%{guix.%arg 2%::slot::29::lore}%" to run [execute console command "%{guix.%arg 2%::slot::29::cmd}%"] format slot 30 of player with {guix.%arg 2%::slot::30::item} named "&7%{guix.%arg 2%::slot::30::name}%" with lore "%{guix.%arg 2%::slot::30::lore}%" to run [execute console command "%{guix.%arg 2%::slot::30::cmd}%"] format slot 31 of player with {guix.%arg 2%::slot::31::item} named "&7%{guix.%arg 2%::slot::31::name}%" with lore "%{guix.%arg 2%::slot::31::lore}%" to run [execute console command "%{guix.%arg 2%::slot::31::cmd}%"] format slot 32 of player with {guix.%arg 2%::slot::32::item} named "&7%{guix.%arg 2%::slot::32::name}%" with lore "%{guix.%arg 2%::slot::32::lore}%" to run [execute console command "%{guix.%arg 2%::slot::32::cmd}%"] format slot 33 of player with {guix.%arg 2%::slot::33::item} named "&7%{guix.%arg 2%::slot::33::name}%" with lore "%{guix.%arg 2%::slot::33::lore}%" to run [execute console command "%{guix.%arg 2%::slot::33::cmd}%"] format slot 34 of player with {guix.%arg 2%::slot::34::item} named "&7%{guix.%arg 2%::slot::34::name}%" with lore "%{guix.%arg 2%::slot::34::lore}%" to run [execute console command "%{guix.%arg 2%::slot::34::cmd}%"] format slot 35 of player with {guix.%arg 2%::slot::35::item} named "&7%{guix.%arg 2%::slot::35::name}%" with lore "%{guix.%arg 2%::slot::35::lore}%" to run [execute console command "%{guix.%arg 2%::slot::35::cmd}%"] format slot 36 of player with {guix.%arg 2%::slot::36::item} named "&7%{guix.%arg 2%::slot::36::name}%" with lore "%{guix.%arg 2%::slot::36::lore}%" to run [execute console command "%{guix.%arg 2%::slot::36::cmd}%"] format slot 37 of player with {guix.%arg 2%::slot::37::item} named "&7%{guix.%arg 2%::slot::37::name}%" with lore "%{guix.%arg 2%::slot::37::lore}%" to run [execute console command "%{guix.%arg 2%::slot::37::cmd}%"] format slot 38 of player with {guix.%arg 2%::slot::38::item} named "&7%{guix.%arg 2%::slot::38::name}%" with lore "%{guix.%arg 2%::slot::38::lore}%" to run [execute console command "%{guix.%arg 2%::slot::38::cmd}%"] format slot 39 of player with {guix.%arg 2%::slot::39::item} named "&7%{guix.%arg 2%::slot::39::name}%" with lore "%{guix.%arg 2%::slot::39::lore}%" to run [execute console command "%{guix.%arg 2%::slot::39::cmd}%"] format slot 40 of player with {guix.%arg 2%::slot::40::item} named "&7%{guix.%arg 2%::slot::40::name}%" with lore "%{guix.%arg 2%::slot::40::lore}%" to run [execute console command "%{guix.%arg 2%::slot::40::cmd}%"] format slot 41 of player with {guix.%arg 2%::slot::41::item} named "&7%{guix.%arg 2%::slot::41::name}%" with lore "%{guix.%arg 2%::slot::41::lore}%" to run [execute console command "%{guix.%arg 2%::slot::41::cmd}%"] format slot 42 of player with {guix.%arg 2%::slot::42::item} named "&7%{guix.%arg 2%::slot::42::name}%" with lore "%{guix.%arg 2%::slot::42::lore}%" to run [execute console command "%{guix.%arg 2%::slot::42::cmd}%"] format slot 43 of player with {guix.%arg 2%::slot::43::item} named "&7%{guix.%arg 2%::slot::43::name}%" with lore "%{guix.%arg 2%::slot::43::lore}%" to run [execute console command "%{guix.%arg 2%::slot::43::cmd}%"] format slot 44 of player with {guix.%arg 2%::slot::44::item} named "&7%{guix.%arg 2%::slot::44::name}%" with lore "%{guix.%arg 2%::slot::44::lore}%" to run [execute console command "%{guix.%arg 2%::slot::44::cmd}%"] stop send "{@tag} &cNie ma takiego GUI" stop send "{@tag} &cPodaj nazwe GUI!" stop if arg 1 is "setname": if arg 2 is set: if arg 3 is set: if arg 4 is set: if {guix.%arg 2%::create} is true: if arg 3 is -1: send "{@tag} &aUstawiles Nazwe Gui na &6%arg 4%" set {guix.%arg 2%::name} to colored arg 4 stop send "{@tag} &cUstawiles nazwe slotu &6%arg 3% &ana &b%arg 4%" set {slots.name::%player%} to colored arg 4 replace all "{PLAYER}" with "%player%" in {slots.name::%player%} replace all "{WORLD}" with "%player's world%" in {slots.name::%player%} set {guix.%arg 2%::slot::%arg 3%::name} to {slots.name::%player%} stop send "{@tag} &cNie ma takiego GUI" stop send "{@tag} &cPodaj TEXT!" stop send "{@tag} &cPodaj Slot lub -1 czyli nazwa GUI!" stop send "{@tag} &cPodaj nazwe GUI!" stop if arg 1 is "setitem": if arg 2 is set: if arg 3 is set: if {guix.%arg 2%::create} is true: if arg 3 > 44: send "{@tag} &cMaxymalna liczba Miejsc to 44!" stop if player's tool is air: send "{@tag} &cNie mozemy ustawic Itemu bo nic nie trzymasz w lapie!" stop if player's tool is set: send "{@tag} &aUstawiono item slotu &6%arg 3% &ana &b%player's tool%" set {guix.%arg 2%::slot::%arg 3%::item} to player's tool stop send "{@tag} &cNie mozesz ustawic itemu bo go nie trzymasz!" stop send "{@tag} &cNie ma takiego GUI" stop send "{@tag} &cPodaj Slot!" stop send "{@tag} &cPodaj nazwe GUI!" stop if arg 1 is "setlore": if arg 2 is set: if arg 3 is set: if arg 4 is set: if arg 3 > 44: send "{@tag} &cMaxymalna liczba Miejsc to 44!" stop if {guix.%arg 2%::create} is true: set {lore::%player%} to colored arg 4 replace all "{LINE}" with "||" in {lore::%player%} replace all "{PLAYER}" with "%player%" in {lore::%player%} replace all "{WORLD}" with "%player's world%" in {lore::%player%} send "{@tag} &aUstawiles nowe lore w gui &c%arg 2% &aw slocie &6%arg 3%" set {guix.%arg 2%::slot::%arg 3%::lore} to {lore::%player%} stop send "{@tag} &cNie ma takiego GUI" stop send "{@tag} &cPodaj Lore! np &r{LINE} ELo {LINE}&r" stop send "{@tag} &cPodaj Slot!" stop send "{@tag} &cPodaj nazwe GUI!" stop if arg 1 is "addlore": if arg 2 is set: if arg 3 is set: if arg 4 is set: if arg 3 > 44: send "{@tag} &cMaxymalna liczba Miejsc to 44!" stop if {guix.%arg 2%::create} is true: set {lore::%player%} to colored arg 4 replace all "{PLAYER}" with "%player%" in {lore::%player%} replace all "{WORLD}" with "%player's world%" in {lore::%player%} send "{@tag} &aDodales Lore w gui &c%arg 2% &a w slocie &6%arg 3%" set {guix.%arg 2%::slot::%arg 3%::lore} to "%{guix.%arg 2%::slot::%arg 3%::lore}%||%{lore::%player%}%" stop send "{@tag} &cNie ma takiego GUI" stop send "{@tag} &cPodaj Lore! np &r{LINE} ELo {LINE}&r" stop send "{@tag} &cPodaj Slot!" stop send "{@tag} &cPodaj nazwe GUI!" stop if arg 1 is "setcommand": if arg 2 is set: if arg 3 is set: if arg 4 is set: if arg 3 > 44: send "{@tag} &cMaxymalna liczba Miejsc to 44!" stop if {guix.%arg 2%::create} is true: set {cmd::%player%} to colored arg 4 replace all "{PLAYER}" with "%player%" in {cmd::%player%} replace all "{WORLD}" with "%player's world%" in {cmd::%player%} send "{@tag} &aUstawlis Komende w gui &c%arg 2% &aw slocie &6%arg 3%" if arg 4 is "{CLOSE}": set {guix.%arg 2%::slot::%arg 3%::cmd} to "closecmd %player%" stop set {guix.%arg 2%::slot::%arg 3%::cmd} to "%{cmd::%player%}%" stop send "{@tag} &cNie ma takiego GUI" stop send "{@tag} &cPodaj komende lub {CLOSE} by zamknac menu!" stop send "{@tag} &cPodaj Slot!" stop send "{@tag} &cPodaj nazwe GUI!" stop if arg 1 is "remove": if arg 2 is set: if {guix.%arg 2%::create} is true: delete {guix::cmds::%arg 2%} delete {guix.%arg 2%::create} set {slots::%player%} to 0 loop 44 times: add 1 to {slots::%player%} delete {guix.%arg 2%::slot::%{slots::%player%}%::item} delete {guix.%arg 2%::slot::%{slots::%player%}%::name} delete {guix.%arg 2%::slot::%{slots::%player%}%::lore} delete {guix.%arg 2%::slot::%{slots::%player%}%::cmd} send "{@tag} &cGUI zostalo usuniete!" stop send "{@tag} &cNie ma takiego GUI" stop send "{@tag} &cPodaj nazwe GUI!" stop if arg 1 is "delslot": if arg 2 is set: if arg 3 is set: if {guix.%arg 2%::create} is true: delete {guix.%arg 2%::slot::%arg 3%::item} delete {guix.%arg 2%::slot::%arg 3%::name} delete {guix.%arg 2%::slot::%arg 3%::lore} delete {guix.%arg 2%::slot::%arg 3%::cmd} send "{@tag} &cSlot &6%arg 3% zostal usuniety!" stop send "{@tag} &cNie ma takiego GUI" stop send "{@tag} &cPodaj Slot" stop send "{@tag} &cPodaj nazwe GUI!" stop send " {@tag} &7- Najlepszy skript na GUI!" send "" send " &b/guix create (NAME) (ROWS) - Stworz!" send " &b/guix setitem (name) (slot) - musisz trzymac ITEM" send " &b/guix setname (name) (slot/gui=-1) {text)" send " &b/guix setlore (name) (slot) (lore)" send " &b/guix addlore (name) (slot) (lore)" send " &b/guix setcommand (name) (slot) (cmd or {CLOSE})" send " &b/guix remove (GUI)" send " &b/guix open (GUI)" send "" send " &3Dokumentacja: &7LINK" send " &7Komenda skrocona gui to bedzie nazwa gui czyli /guix open test1 = /test1" send "" send " {@tag} &7- Najlepszy skript na GUI!" stop command /closecmd []: trigger: close player-arg's inventory on command: if command is "%{guix::cmds::%command%}%": cancel event execute player command "guix open %command%" stop stop