Skocz do zawartości
  • 0

Błąd w Skrypcie


Pytanie

Cześć! Pobrałem skrypt na drop, ale nie wiem, gdzie jest błąd, jest 6 błędów, próbowałem je naprawić, ale potem wychodziło jeszcze więcej błędów, mógłby mi ktoś pomóc? Chodzi o to, że jak piszę /drop to wyskakuje mi GUI na dwie linijki, a 4 przedmioty (slimeball, proch, kość, strzała) znajdują się na trzeciej linijce której nie ma i trafiają do EQ!

Screenhttp://imgur.com/RmvriCH
Jeśli ktoś rozwiązałby problem proszę o skopiowanie tego skryptu i poprawienie błędów i napisanie go ponownie, ja sam nie dam rady, dopiero się uczę pisać skrypty, pluginy itp.


 

Spoiler

 


command /Drop:
    trigger:
        if player has permission "Itachi.drop.gracz":
            open chest with 2 rows named "&4&lDrop Ze Stone" to player
            wait 2 tick
            format slot 0 of player with 1 of gold ingot named "&4&lZLOTO" with lore " &8» &eSzansa: &6{@gold}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{goldtext::%player%}%" to run [execute console command "/ikhdrop gold %player%"]
            format slot 1 of player with 1 of diamond named "&4&lDIAMENT" with lore " &8» &eSzansa: &6{@diax}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{diaxtext::%player%}%" to run [execute console command "/ikhdrop diax %player%"]
            format slot 2 of player with 1 of iron ingot named "&4&lZELAZO" with lore " &8» &eSzansa: &6{@iron}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{irontext::%player%}%" to run [execute console command "/ikhdrop iron %player%"]
            format slot 3 of player with 1 of emerald named "&4&lSZMARAGD" with lore " &8» &eSzansa: &6{@emerald}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{emeraldtext::%player%}%" to run [execute console command "/ikhdrop emerald %player%"]
            format slot 4 of player with 1 of book named "&4&lKSIAZKA" with lore " &8» &eSzansa: &6{@book}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{booktext::%player%}%" to run [execute console command "/ikhdrop book %player%"]
            format slot 5 of player with 1 of ender pearl named "&4&lPERLA" with lore " &8» &eSzansa: &6{@pearl}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{pearltext::%player%}%" to run [execute console command "/ikhdrop pearl %player%"]
            format slot 6 of player with 1 of obsidian named "&4&lOBSIDIAN" with lore " &8» &eSzansa: &6{@obs}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{obstext::%player%}%" to run [execute console command "/ikhdrop obs %player%"]
            format slot 7 of player with 1 of apple named "&4&lJABLKO" with lore " &8» &eSzansa: &6{@apple}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{appletext::%player%}%" to run [execute console command "/ikhdrop apple %player%"]
            format slot 8 of player with 1 of redstone named "&4&lREDSTONE" with lore " &8» &eSzansa: &6{@redstone}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{redstonetext::%player%}%" to run [execute console command "/ikhdrop redstone %player%"]
            format slot 9 of player with 1 of sand named "&4&lPIASEK" with lore " &8» &eSzansa: &6{@sand}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{sandtext::%player%}%" to run [execute console command "/ikhdrop sand %player%"]
            format slot 10 of player with 1 of coal named "&4&lWEGIEL" with lore " &8» &eSzansa: &6{@coal}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{coaltext::%player%}%" to run [execute console command "/ikhdrop coal %player%"]
            format slot 16 of player with 1 of paper named "&4&lTURBO" with lore " &c&lEXP:||  &8» &eAktywny: %{turboexp.all.status::*}%||  &8» &eOd: &a%{czastuboexp.all1}%||  &8» &eDo: &a%{czastuboexp.all}%|| &c&lDROP:||  &8» &eAktywny: %{turbodrop.all.status::*}%||  &8» &eOd: &a%{czastubodrop.all1}%||  &8» &eDo: &a%{czastubodrop.all}%" to run [execute player command "/Drop"]
            format slot 17 of player with 1 of bottle of enchanting named "&4&lDOSWIADCZENIE" with lore " &8» &cObsydian: &6{@ObsExp}|| &8» &cKamien: &6{@Exp}" to run [execute player command "/Drop"]
            format slot 18 of player with 1 of slimeball named "&4&lSLIMEBALL" with lore " &8» &eSzansa: &6{@slimeball}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{coaltext::%player%}%" to run [execute console command "/ikhdrop coal %player%"]
            format slot 19 of player with 1 of gunpowder named "&4&lPROCH" with lore " &8» &eSzansa: &6{@gunpowder}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{coaltext::%player%}%" to run [execute console command "/ikhdrop coal %player%"]
            format slot 20 of player with 1 of bone named "&4&lKOSCI" with lore " &8» &eSzansa: &6{@bone}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{coaltext::%player%}%" to run [execute console command "/ikhdrop coal %player%"]
            format slot 21 of player with 1 of arrow named "&4&lSTRZALA" with lore " &8» &eSzansa: &6{@arrow}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{coaltext::%player%}%" to run [execute console command "/ikhdrop coal %player%"]
            format slot 22 of player with 1 of thread named "&4&lNITKI" with lore " &8» &eSzansa: &6{@thread}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{coaltext::%player%}%" to run [execute console command "/ikhdrop coal %player%"]
            stop
        if player has permission "Itachi.drop.vip":
            open chest with 2 rows named "&4&lDrop Ze Stone" to player
            wait 2 tick
            format slot 0 of player with 1 of gold ingot named "&4&lZLOTO" with lore " &8» &eSzansa: &6{@gold_vip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{goldtext::%player%}%" to run [execute console command "/ikhdrop gold %player%"]
            format slot 1 of player with 1 of diamond named "&4&lDIAMENT" with lore " &8» &eSzansa: &6{@diax_vip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{diaxtext::%player%}%" to run [execute console command "/ikhdrop diax %player%"]
            format slot 2 of player with 1 of iron ingot named "&4&lZELAZO" with lore " &8» &eSzansa: &6{@iron_vip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{irontext::%player%}%" to run [execute console command "/ikhdrop iron %player%"]
            format slot 3 of player with 1 of emerald named "&4&lSZMARAGD" with lore " &8» &eSzansa: &6{@emerald_vip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{emeraldtext::%player%}%" to run [execute console command "/ikhdrop emerald %player%"]
            format slot 4 of player with 1 of book named "&4&lKSIAZKA" with lore " &8» &eSzansa: &6{@book_vip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{booktext::%player%}%" to run [execute console command "/ikhdrop book %player%"]
            format slot 5 of player with 1 of ender pearl named "&4&lPERLA" with lore " &8» &eSzansa: &6{@pearl_vip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{pearltext::%player%}%" to run [execute console command "/ikhdrop pearl %player%"]
            format slot 6 of player with 1 of obsidian named "&4&lOBSIDIAN" with lore " &8» &eSzansa: &6{@obs_vip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{obstext::%player%}%" to run [execute console command "/ikhdrop obs %player%"]
            format slot 7 of player with 1 of apple named "&4&lJABLKO" with lore " &8» &eSzansa: &6{@apple_vip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{appletext::%player%}%" to run [execute console command "/ikhdrop apple %player%"]
            format slot 8 of player with 1 of redstone named "&4&lREDSTONE" with lore " &8» &eSzansa: &6{@redstone_vip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{redstonetext::%player%}%" to run [execute console command "/ikhdrop redstone %player%"]
            format slot 9 of player with 1 of sand named "&4&lPIASEK" with lore " &8» &eSzansa: &6{@sand_vip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{sandtext::%player%}%" to run [execute console command "/ikhdrop sand %player%"]
            format slot 10 of player with 1 of coal named "&4&lWEGIEL" with lore " &8» &eSzansa: &6{@coal_vip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{coaltext::%player%}%" to run [execute console command "/ikhdrop coal %player%"]
            format slot 16 of player with 1 of paper named "&4&lTURBO" with lore " &c&lEXP:||  &8» &eAktywny: %{turboexp.all.status::*}%||  &8» &eOd: &a%{czastuboexp.all1}%||  &8» &eDo: &a%{czastuboexp.all}%|| &c&lDROP:||  &8» &eAktywny: %{turbodrop.all.status::*}%||  &8» &eOd: &a%{czastubodrop.all1}%||  &8» &eDo: &a%{czastubodrop.all}%" to run [execute player command "/Drop"]
            format slot 17 of player with 1 of bottle of enchanting named "&4&lDOSWIADCZENIE" with lore " &8» &cObsydian: &6{@ObsExp}|| &8» &cKamien: &6{@Exp}" to run [execute player command "/Drop"]
            stop
        if player has permission "Itachi.drop.svip":
            open chest with 2 rows named "&4&lDrop Ze Stone" to player
            wait 2 tick
            format slot 0 of player with 1 of gold ingot named "&4&lZLOTO" with lore " &8» &eSzansa: &6{@gold_svip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{goldtext::%player%}%" to run [execute console command "/ikhdrop gold %player%"]
            format slot 1 of player with 1 of diamond named "&4&lDIAMENT" with lore " &8» &eSzansa: &6{@diax_svip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{diaxtext::%player%}%" to run [execute console command "/ikhdrop diax %player%"]
            format slot 2 of player with 1 of iron ingot named "&4&lZELAZO" with lore " &8» &eSzansa: &6{@iron_svip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{irontext::%player%}%" to run [execute console command "/ikhdrop iron %player%"]
            format slot 3 of player with 1 of emerald named "&4&lSZMARAGD" with lore " &8» &eSzansa: &6{@emerald_svip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{emeraldtext::%player%}%" to run [execute console command "/ikhdrop emerald %player%"]
            format slot 4 of player with 1 of book named "&4&lKSIAZKA" with lore " &8» &eSzansa: &6{@book_svip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{booktext::%player%}%" to run [execute console command "/ikhdrop book %player%"]
            format slot 5 of player with 1 of ender pearl named "&4&lPERLA" with lore " &8» &eSzansa: &6{@pearl_svip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{pearltext::%player%}%" to run [execute console command "/ikhdrop pearl %player%"]
            format slot 6 of player with 1 of obsidian named "&4&lOBSIDIAN" with lore " &8» &eSzansa: &6{@obs_svip}%%|| &8» &eFortuna: &atak|| &8» &eAktywny: %{obstext::%player%}%" to run [execute console command "/ikhdrop obs %player%"]
            format slot 7 of player with 1 of apple named "&4&lJABLKO" with lore " &8» &eSzansa: &6{@apple_svip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{appletext::%player%}%" to run [execute console command "/ikhdrop apple %player%"]
            format slot 8 of player with 1 of redstone named "&4&lREDSTONE" with lore " &8» &eSzansa: &6{@redstone_svip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{redstonetext::%player%}%" to run [execute console command "/ikhdrop redstone %player%"]
            format slot 9 of player with 1 of sand named "&4&lPIASEK" with lore " &8» &eSzansa: &6{@sand_svip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{sandtext::%player%}%" to run [execute console command "/ikhdrop sand %player%"]
            format slot 10 of player with 1 of coal named "&4&lWEGIEL" with lore " &8» &eSzansa: &6{@coal_svip}%%|| &8» &eFortuna: &cnie|| &8» &eAktywny: %{coaltext::%player%}%" to run [execute console command "/ikhdrop coal %player%"]
            format slot 16 of player with 1 of paper named "&4&lTURBO" with lore " &c&lEXP:||  &8» &eAktywny: %{turboexp.all.status::*}%||  &8» &eOd: &a%{czastuboexp.all1}%||  &8» &eDo: &a%{czastuboexp.all}%|| &c&lDROP:||  &8» &eAktywny: %{turbodrop.all.status::*}%||  &8» &eOd: &a%{czastubodrop.all1}%||  &8» &eDo: &a%{czastubodrop.all}%" to run [execute player command "/Drop"]
            format slot 17 of player with 1 of bottle of enchanting named "&4&lDOSWIADCZENIE" with lore " &8» &cObsydian: &6{@ObsExp}|| &8» &cKamien: &6{@Exp}" to run [execute player command "/Drop"]
            stop

//Czyszczę formatowanie, spoiler ~Ixidi

Edytowane przez Ixidi
Odnośnik do komentarza
https://skript.pl/temat/15997-b%C5%82%C4%85d-w-skrypcie/
Udostępnij na innych stronach

8 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...