Skocz do zawartości
  • 0

Napisałem skrypt na drop


Pytanie

napisałem skrypt na drop ale wyskakują errory kod: https://code.skript.pl/toWxgGK9

Errory:

[12:09:55 ERROR]: [Skript] indentation error: expected 1 tab, but found 4 spaces (guidrop1.sk, line 60: delete block') [12:09:55 ERROR]: [Skript] indentation error: expected 1 tab, but found 4 spaces (guidrop1.sk, line 61: send "{@tag}&7 &bDiamenty &7wypadają tylko z stona!"') [12:09:55 ERROR]: [Skript] indentation error: expected 48 spaces, but found 7 spaces (guidrop1.sk, line 133: if player's tool is pickaxe of fortune 0:') [12:09:55 ERROR]: [Skript] indentation error: expected 48 spaces, but found 7 spaces (guidrop1.sk, line 156: if player's tool is pickaxe of fortune 0:') [12:09:55 ERROR]: [Skript] indentation error: expected 48 spaces, but found 7 spaces (guidrop1.sk, line 179: if player's tool is pickaxe of fortune 0:') [12:09:55 ERROR]: [Skript] indentation error: expected 48 spaces, but found 7 spaces (guidrop1.sk, line 202: if player's tool is pickaxe of fortune 0:') [12:09:55 ERROR]: [Skript] indentation error: expected 48 spaces, but found 7 spaces (guidrop1.sk, line 225: if player's tool is pickaxe of fortune 0:') [12:09:55 ERROR]: [Skript] indentation error: expected 48 spaces, but found 7 spaces (guidrop1.sk, line 248: if player's tool is pickaxe of fortune 0:') [12:09:55 ERROR]: [Skript] undefined option {@diament} (guidrop1.sk, line 65: chance of {@diament}:') [12:09:55 ERROR]: [Skript] undefined option {@diament1} (guidrop1.sk, line 71: chance of {@diament1}:') [12:09:55 ERROR]: [Skript] undefined option {@diament2} (guidrop1.sk, line 77: chance of {@diament2}:') [12:09:55 ERROR]: [Skript] undefined option {@diament3} (guidrop1.sk, line 83: chance of {@diament3}:') [12:09:55 ERROR]: [Skript] undefined option {@szmaragd} (guidrop1.sk, line 88: chance of {@szmaragd}:') [12:09:55 ERROR]: [Skript] undefined option {@szmaragd1} (guidrop1.sk, line 94: chance of {@szmaragd1}:') [12:09:55 ERROR]: [Skript] undefined option {@szmaragd2} (guidrop1.sk, line 100: chance of {@szmaragd2}:') [12:09:55 ERROR]: [Skript] undefined option {@szmaragd3} (guidrop1.sk, line 106: chance of {@szmaragd3}:') [12:09:55 ERROR]: [Skript] undefined option {@zelazo3} (guidrop1.sk, line 129: chance of {@zelazo3}:') [12:09:55 ERROR]: [Skript] undefined option {@zelazo} (guidrop1.sk, line 134: chance of {@zelazo}:') [12:09:55 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else if' section (guidrop1.sk, line 138: else:') [12:09:55 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else if' section (guidrop1.sk, line 161: else:') [12:09:55 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else if' section (guidrop1.sk, line 184: else:') [12:09:55 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else if' section (guidrop1.sk, line 207: else:') [12:09:55 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else if' section (guidrop1.sk, line 230: else:') [12:09:55 ERROR]: [Skript] 'else' has to be placed just after an 'if' or 'else if' section (guidrop1.sk, line 253: else:')
Edytowane przez ThatsVylence
Nieaktywny

Wstawiam w CODE.

Odnośnik do komentarza
https://skript.pl/temat/27324-napisa%C5%82em-skrypt-na-drop/
Udostępnij na innych stronach

6 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

Powiem Ci błędy, które popełniasz, ponieważ edytowanie tego zajęło by mi długi czas.

  • Else Else przeważnie stawiamy tylko pod ifa'mi.
  • Taby Taby dajemy po każdym ":".  
Cytat

Przykład:

command /lol [<text>]:
    trigger: 
        if player has permission "Lol.hc":
            loop all players:
                if loop-player has permission "lol.sk":
                    send "LOl"
                    stop

 

➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖➖

 

Edytowane przez nicku1
Nicku

Poprawiam formatowanie.

Notatka dodana przez Nicku

Odnośnik do komentarza
https://skript.pl/temat/27324-napisa%C5%82em-skrypt-na-drop/#findComment-180578
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ę...