Skocz do zawartości
  • 0

Gdzie jest błąd?!


YaPaczeq
 Udostępnij

Pytanie

cześć, ostatnio napisałem taki oto skrypt:

options:l:&7[&6Loteria&7] command /loteria [<text&gt]:trigger:if arg 1 is not set:send "&6&l[*]&7=============&a&lL&b&lot&3&ler&c&li&6&la&7=============&6&l[*]"send "&3Loteria to gra, w której za 1 koxa mozesz wygrać:"send "&3diamentowe itemy enchant, wiecej koxow, VIP'a"send "&3nether star(0.5 proc), obsydian."send "&3/loteria - &bpomoc"send "&3/loteria los - &blosowanie nagrody"send "&3Za spamienie komenda tylko tracisz koxy :)"send "&3jest 10 proc szansy ze nic nie wylosujesz!"send "&7===============================&6&l[*]"stopif arg 1 is "los":if player has 1 322:1:remove 1 322:1 from playerchance of 5%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6WTF? Wygrales &6&lVIP'a &6na 2 godziny!"execute console command "/setrank %player% VIP 2h"broadcast "{@l} Brawo! &e%player% &6Wygral &6&lVIP'a &6na 2 godziny!"stopchance of 0.5%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6WTF?! Wygrales &6&l1 Nether Star&6!"give 1 299 to the playerbroadcast "{&l} Brawo! &e%player% &6Wygral 1 Nether Star!"stopchance of 4.5%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Brawo! Wygrales 3 Enchanted golden apple!"give 3 322:1 to the playerstopchance of 2%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Wow! Wygrales mieczyk &eSharpness 3, looting 4, fire 2&6!"give a 276 of sharpness 3 and looting 4 and fire aspect 2 named "&5Mieczyk z Loterii" to the playerstopchance of 2%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Wow! Wygrales mieczyk &eSharpness 4, knockback 4, looting 1"give a 276 of sharpness 4 and knockback 4 and looting 1 named "&2Mieczyk z Loterii" to the playerstopchance of 1%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Brawo! Wygrales 5 Enchanted golden apple!"give 5 322:1 to the playerstopchance of 15%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Wygrales 3 stacki obsydianu!"give 192 49 to the player stopchance of 10%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Ciesz sie! Wygrales chelm &eProtection 4, unbreaking 4&6!"give a 310 of protection 4 and unbreaking 4 named "&1Chelm z Loterii" to the playerstopchance of 10%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Ciesz sie! Wygrales buty &eProtection 3, unbreaking 2, Feather Falling 7&6!"give a 313 of protection 3 and unbreaking 2 and feather falling 7 named "&1Buty z Loterii" to the playerstopchance of 10%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Ciesz sie! Wygrales spodnie &eProtection 4, unbreaking 2, thorns 2&6!"give a 312 of protection 4 and unbreaking 2 and thorns 2 named "&1Spodnie z Loterii" to the playerstopchance of 10%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Ciesz sie! Wygrales klate &eProtection 4, unbreaking 1, thorns 3, fire protection 7&6!"give a 311 of protection 4 and unbreaking 1 and fire protection 7 and thorns 3 named "&2Klata z Loterii" to the playerstopchance of 20%:send "{@l} &6Losuje nagrode..."wait 3 secondsend "{@l} &6Wygrales 6 blokow diamentu!"give 6 57 to the playerstopchance of 10%:send "{@l} &t6Losuje nagrode..."wait 3 secondsend "{@l} &6Niestety nic nie wygrales. Spróbuj ponownie! :)"stopelse:send "{@l} &6Nie masz 1 Enchanted golden apple - nie mozesz grac."cancel event

i nie wiem w czym jest błąd, bo jak wpisuje /loteria los, to pierwsze kilka "losowań" jest normalnie, a potem sie nie losuje, poznaje to po tym ze sie nie wyświetla "[Losowanie] Losuje nagrode...", koxa zabiera a nie daje nagrody, ani sie nie wyswietla ze losuje... pomoże ktoś?
Wytabowane: 
Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!Zarejestruj się lub zaloguj, aby zobaczyć ukrytą treść!  <--- ten sam problem...

Edytowane przez Ewald
Odnośnik do komentarza
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

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