Skocz do zawartości
  • 0

Problem ze skryptem


Wakal

Pytanie

Spoiler

command /ItemShop:
    trigger:
        open chest with 3 rows named "&b&lItemShop" to player
        wait 2 ticks
        format slot 0 of player with 1 of black stained glass pane named "&0" to close
        format slot 1 of player with 1 of black stained glass pane named "&0" to close
        format slot 2 of player with 1 of black stained glass pane named "&0" to close
        format slot 3 of player with 1 of black stained glass pane named "&0" to close
        format slot 4 of player with 1 of black stained glass pane named "&0" to close
        format slot 5 of player with 1 of black stained glass pane named "&0" to close
        format slot 6 of player with 1 of black stained glass pane named "&0" to close
        format slot 7 of player with 1 of black stained glass pane named "&0" to close
        format slot 8 of player with 1 of black stained glass pane named "&0" to close
        format slot 9 of player with 1 of black stained glass pane named "&0" to close
        format slot 18 of player with 1 of black stained glass pane named "&0" to close
        format slot 20 of player with 1 of black stained glass pane named "&0" to close
        format slot 19 of player with 1 of black stained glass pane named "&0" to close
        format slot 21 of player with 1 of black stained glass pane named "&0" to close
        format slot 22 of player with 1 of black stained glass pane named "&0" to close
        format slot 23 of player with 1 of black stained glass pane named "&0" to close
        format slot 24 of player with 1 of black stained glass pane named "&0" to close
        format slot 25 of player with 1 of black stained glass pane named "&0" to close
        format slot 26 of player with 1 of black stained glass pane named "&0" to close
        format slot 17 of player with 1 of black stained glass pane named "&0" to close
        format slot 11 of player with gold ingot to close then run [give @player 32 diamond]

Otóż mam problem,

Spoiler

format slot 11 of player with gold ingot to close then run [give @player 32 diamond]

Nie działa to, i nie potrafię zrozumieć tego błędu, powinno dawac 32 diamenty do eq, prosze o szybą pomoc.

Z góry dzieki.

Odnośnik do komentarza
https://skript.pl/temat/22064-problem-ze-skryptem/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Spoiler

        format slot 11 of player with 1 diamond named "&b&lKrystaliczne Diamenty" with lore "&2Bardzo cenny przedmiot..." to close then run [execute console command "/give %player% 1 diamond"]

Nie działa ;( A chce jeszcze zeby dawało diamenty z nazwą i opisem ;) I żeby zabierało z eq 32 takie i takie itemy o takiej i takiej nazwie, jak to zrobić? Pomoże ktoś? :D A jeżeli nie będzie tego i tego itemu, to nie daje, i pisze taki i taki tekst.

Edytowane przez Wakal
Odnośnik do komentarza
https://skript.pl/temat/22064-problem-ze-skryptem/#findComment-150522
Udostępnij na innych stronach

  • 0

Osobiście polecam funkcję, posiadasz Skript w wersji 2.2?

Tutaj taki przykład, korzystaj z tego, bądź funkcji :)

format slot 11 of player with gold ingot to close then run [give 32 diamonds named "tutaj nazwa" with lore "lore 1 linia||lore 2 linia" to player] -> [remove 32 diamonds from player]

 

Odnośnik do komentarza
https://skript.pl/temat/22064-problem-ze-skryptem/#findComment-150546
Udostępnij na innych stronach

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ę...