Skocz do zawartości
  • 0

skrypt na tag


SpokocukierkiPL

Pytanie

hej mam skrypt na tag tylko są błędy poprawi ktoś?# Cukierek-TAG #

on chat:
    if {tag::%player%} is set:
        broadcast "%{tag::%player%}% RANGA %colored player's name% %message%"


command /tag-dodaj [<text>]:
      permission: tag
      trigger:
            if length of arg 1 > 20:
                send "&4Za duzo znakow!" to player
            else:
                set {tag::%player%} to arg 1
  
command /tag-usun:
      trigger:
            delete {tag::%player%}
[19:23:43 INFO]: [Skript] Reloading tag.sk...
[19:23:43 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->' [-> = tab, _ = space, ? = other whitespace]) (tag.sk, line 7: permission: tag')
[19:23:43 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->' [-> = tab, _ = space, ? = other whitespace]) (tag.sk, line 8: trigger:')
[19:23:43 ERROR]: indentation error: expected 6 tabs, but found 4 tabs (tag.sk, line 10: send "&4Za duzo znakow!" to player')
[19:23:43 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (tag.sk, line 9: if length of arg 1 > 20:')
[19:23:43 ERROR]: indentation error: expected 6 tabs, but found 4 tabs (tag.sk, line 12: set {tag::%player%} to arg 1')
[19:23:43 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (tag.sk, line 11: else:')
[19:23:43 ERROR]: indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->' [-> = tab, _ = space, ? = other whitespace]) (tag.sk, line 15: trigger:')
[19:23:43 ERROR]: Required entry 'trigger' is missing in 'command /tag-dodaj [<text>]' (tag.sk, starting at line 6) (tag.sk, line 6: command /tag-dodaj [<text>]:')
[19:23:43 ERROR]: Unexpected entry 'if length of arg 1 > 20'. Check whether it's spelled correctly or remove it. (tag.sk, line 9: if length of arg 1 > 20:')
[19:23:43 ERROR]: Unexpected entry 'else'. Check whether it's spelled correctly or remove it. (tag.sk, line 11: else:')
[19:23:43 ERROR]: Required entry 'trigger' is missing in 'command /tag-usun' (tag.sk, starting at line 14) (tag.sk, line 16: delete {tag: :%player%}')
[19:23:43 ERROR]: Unexpected entry 'delete {tag'. Check whether it's spelled correctly or remove it. (tag.sk, line 16: delete {tag: :%player%}')
[19:23:43 INFO]: [Skript] Encountered 10 errors while reloading tag.sk!

 

Edytowane przez Peridot
Peridot

Wstawiam kod i logi w code

Notatka dodana przez Peridot

Odnośnik do komentarza
https://skript.pl/temat/40894-skrypt-na-tag/
Udostępnij na innych stronach

Rekomendowane odpowiedzi

  • 0
8 minut temu, SpokocukierkiPL napisał:

mam pexa i essentials itp 

Jeśli masz pexa, to możesz oprzeć chat format na permisjach, np. 'on chat: if player has permission "chat.vip": if {tag::%player%} is set: set chat format to "%{tag::%player%}% &eVIP [player] [message]"'

Odnośnik do komentarza
https://skript.pl/temat/40894-skrypt-na-tag/#findComment-254920
Udostępnij na innych stronach

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

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

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