Skocz do zawartości
  • 0

Błąd ze skryptem.


Pytanie

Pomocy!

Mam skrypt na pomoc ale mi wywala błąd!:

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 74: send "&b&l&m--------&3&lDy&f&lHard&8&M---------"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 75: send " &e&lKomendy Wyspy"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found 8 spaces (pomoc.sk, line 76: send "&e> &a/is create &5- Tworzy wyspe"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 77: send "&e> &a/is delete"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 78: send "&e> &a/is fixhome"'

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 79: send "&e> &a/is sethome"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 80: send "&e> &a/is home"'

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 81: send "&e> &a/is visit"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 82: send "&e> &a/is add"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 83: send "&e> &a/is remove"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 84: send "&e> &a/is leave"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 85: send " &e&lKomendy Wyspy"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 86: send "&b&l&m--------&3&lDy&f&lHard&8&M---------"')

[07:04:52 ERROR]: indentation error: expected 2 tabs, but found '->____' [-> = tab, _ = space, ? = other whitespace] (pomoc.sk, line 87: stop')

A skrypt wygląda tak: https://code.skript.pl/u2K5S3zm/.

Pomozcie pls!

Edytowane przez AntoxPL
Odnośnik do komentarza
https://skript.pl/temat/18593-b%C5%82%C4%85d-ze-skryptem/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
Spoiler

command /pomoc:
	aliases: help,pomoc,p,pom
	trigger:
		send "&8&m-------&3&lHy&f&lHarx&8&m--------"
		send "              &e&LPomoc"
		send "&e> &3/gildia &5- informacje na temat gildi"
		send "&e> &3/regulamin &5- regulamin serwera"
		send "&e> &3/forum &5- forum serwera"
		send "&e> &3/strona &5- strona serwera"
		send "&e> &3/teamspeak3 &5- serwer teamspeak3"
		send "&e> &3/hosting &5- hosting serwera"
		send "&e> &3/vip &5- informacje o randze VIP"
		send "&e> &3/youtuber &5- informacje o randze YouTuber"
		send "&e> &3/sponsor &5- informacje o randze Sponsor"
		send "&e> &3/kit &5- dostepne zestawy"
		send "              &e&lPomoc"
		send "&8&m---------&3&lHy&f&lHarx&8&m--------"
		stop
		
command /gildia:
	aliases: w,wl
	trigger:
		send "&8&m--------&3&lHy&f&lHarx&8&m---------"
		send "         &e&lKomendy Gildi"
		send "&e> &3/is create &5- Tworzy wyspe"
		send "&e> &3/is delete &5- Usuwa wyspe"
		send "&e> &3/is fixhome &5- Poprawia spawn wyspy"
		send "&e> &3/is sethome &5- Ustawia spawn wyspy"
		send "&e> &3/is home &5- Teleportuje na wyspe"
		send "&e> &3/is visit <nick> &5- Odwiedza wyspe gracza"
		send "&e> &3/is add <nick> &5- Dodaje gracza do wyspy"
		send "&e> &3/is remove <nick> &5- Usuwa gracza z wyspy"
		send "&e> &3/is leave &5- Opuszcza wyspe gracza"
		send "         &e&lKomendy Gildi"
		send "&8&m--------&3&lHy&f&lHarx&8&m---------"
		stop
		
command /regulamin:
	aliases: admini,adm
	trigger:
		send "&8&m-------&3&lHy&f&lHarx&8&m--------"
		send "          &e&lRegulamin"
		send "&e> &3Nie pisz wulgaryzmĂłw!"
		send "&e> &3Admin to nie taxi!"
		send "&e> &3Administracja nie rozdaje itemĂłw!"
		send "&e> &3Nie obrazaj graczy oraz administracij!"
		send "&e> &3Nie flooduj!"
		send "&e> &3Nie spam!"
		send "         &e&lRegulamin"
		send "&8&m-------&3&lHy&f&lHarx&8&m--------"
		stop
		
command /forum:
	aliases: forum,f,fora,forum2
	trigger:
		send "&e> &aForum &5www.hyharx.pl/forum"
		stop
		
command /strona:
	aliases: www,strona,str
	trigger:
		send "&4&lStrona: &7&lPrace"
		stop
		
command /teamspeak3:
	aliases: ts3,teamspeak3,teamspeak
	trigger:
		send "&4&lTeamspeak3: &7<s.ipteamspeak3.pl"
		stop
		
command /hosting:
	aliases: host,hosting,
	trigger:
		send "&b&l&m--------&3&lDy&f&lHard&8&M---------"
		send "         &e&lKomendy Wyspy"
		send "&e> &a/is create &5- Tworzy wyspe"
		send "&e> &a/is delete"
		send "&e> &a/is fixhome"
		send "&e> &a/is sethome"
		send "&e> &a/is home"
		send "&e> &a/is visit"
		send "&e> &a/is add"
		send "&e> &a/is remove"
		send "&e> &a/is leave"
		send "        &e&lKomendy Wyspy"
		send "&b&l&m--------&3&lDy&f&lHard&8&M---------"
		stop
		
command /youtuber:
	trigger:
		send "&8&l--------&3&lHy&f&lHarx&8&m-------------"
		send "         &e&lRANGA YOUTUBER"
		send "&e> &3Musisz posiadac 40 subskrybcji aby otrzymac range"
		send "&e> &3Musisz wstawic reklame serwera na swoj kanal"
		send "&e> &3Usuniesz reklame = &LPERM &7oszustow nie lubimy!"
		send "&e> &3Ustawic na prywatny reklame = &lPERM &7oszustow nie lubimy!"
		send "&e> &3Ranga posiada wiele przywilejow!"
		send "&e> &3Zestaw &c&lYouTuber"
		send "&e> &3Kolorowe pisanie na chacie"
		send "&e> &3Respekt u innych graczy!"
		send "&e> &3Prefix na chacie &4&lYou&f&lTuber &e%player% > &7wiadomosc"
		send "         &e&lRanga YOUTUBER"
		send "&8&l--------&3&lHy&f&lHarx&8&m-------------"
		stop
		
command /vip:
	trigger:
		send "&8&m-------&3&lHy&f&lHarx&8&m---------------"
		send "         &e&lRANGA VIP"
		send "&e> &3Czas trwania rangi: &560dni"
		send "&e> &3Koszt rangi: &56,45zl"
		send "&e> &3Zakupisz na: &5http://www.109623.enmc.pl/sklep/"
		send "&e> &3Ranga posiada wiele przywilejow!"
		send "&e> &3Zestaw &eVIP"
		send "&e> &3Kolorowe pisanie na chacie"
		send "&e> &3Respekt u innych graczy!"
		send "&e> &3Prefix na chacie &eVIP &7%player% > &ewiadomosc"
		send "        &e&lRANGA VIP"
		send "&8&m--------&3&lHy&f&lHarx&8&m--------------"
		stop
		
command /svip:
	trigger:
		send "&b&l&m--------&3&LHy&f&LHarx&b&lm---------"
		send "         &e&lKomendy Wyspy"
		send "&e> &a/is create &5- Tworzy wyspe"
		send "&e> &a/is delete"
		send "&e> &a/is fixhome"
		send "&e> &a/is sethome"
		send "&e> &a/is home"
		send "&e> &a/is visit"
		send "&e> &a/is add"
		send "&e> &a/is remove"
		send "&e> &a/is leave"
		send "        &e&lKomendy Wyspy"
		send "&b&l&m--------&f3&lHy&f&Lharx&b&l&m--------"
		stop
		
command /sponsor:
	trigger:
		send "&8&m--------&3&lHy&f&lHarx&8&m---------"
		send "         &e&lKomendy Sponsora"
		send "&e> &3Czas trwania rangi: &560dni"
		send "&e> &3Koszt rangi: &8,45zl"
		send "&e> &3Zakupisz na: &5PRACE"
		send "&e> &3Ranga posiada wiele przywilejow!"
		send "&e> &3Zestaw &eSponsor"
		send "&e> &3Kolorowe pisanie na chacie"
		send "&e> &3Respekt u innych graczy!"
		send "&e> &3Prefix na chacie &6Sponsor &f%player% &8>> &7&Owiadomosc"
		send "         &e&lKomendy Sponsora"
		send "&8&m--------&3&lHy&f&lHarx&8&m---------"
		stop

 

W spojlerze jest rozwiązanie.
Pomogłem? Licze na like ;) 

Odnośnik do komentarza
https://skript.pl/temat/18593-b%C5%82%C4%85d-ze-skryptem/#findComment-127023
Udostępnij na innych stronach

  • 0
12 godzin temu, KrejzolekPRO napisał:

Angielski nie gryzie, wystarczy zmienić 4 spacje, na 1 tab w linijkach: 74, 75, 77, 78, 79, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88.

Dzieki! Pomogles! Dziala bez problemu bo testowalem!

Problem rozwiązany.

Do cls

Formatowanie //xVendrome

Odnośnik do komentarza
https://skript.pl/temat/18593-b%C5%82%C4%85d-ze-skryptem/#findComment-127024
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ę...