Skocz do zawartości
  • 0

Ogłoszenie na środku


Pytanie

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Trzeba SkRayFall.

command /message [<text>] [<text>]:
  	trigger:
  		arg 1 is not set:
  			send "&cError 404 (title/subtitle)"
  		arg 1 is set:
  			arg 2 is not set:
  				send "&cPodaj wiadomosc."
  			arg 2 is set:
  				arg 1 is "title":
  					send player title "%arg 2%" with subtitle "" for 5 seconds
  				arg 1 is "subtitle":
  					send player title "" with subtitle "%arg 2%" for 5 seconds

https://www.spigotmc.org/resources/skrayfall.10012/

Edytowane przez Rejszpat
Odnośnik do komentarza
https://skript.pl/temat/25393-og%C5%82oszenie-na-%C5%9Brodku/#findComment-168211
Udostępnij na innych stronach

  • 0

[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 2: trigger:')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 3: arg 1 is not set:')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 4: send "&cError 404 (title/subtitle)"')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 5: arg 1 is set:')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 6: arg 2 is not set:')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 7: send "&cPodaj wiadomosc."')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 8: arg 2 is set:')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 9: arg 1 is "title":')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 10: send player title "%arg 2%" with subtitle "" for 5 seconds')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 11: arg 1 is "subtitle":')
[20:48:37] [Client thread/INFO]: [CHAT] indentation error: indent must only consist of either spaces or tabs, but not mixed (found '__->->->->->' [-> = tab, _ = space, ? = other whitespace]) (bc.sk, line 12: send player title "%arg 2%" with subtitle "" for 5 seconds')
[20:48:37] [Client thread/INFO]: [CHAT] An internal error occurred while attempting to perform this command

@Rejszpat

Odnośnik do komentarza
https://skript.pl/temat/25393-og%C5%82oszenie-na-%C5%9Brodku/#findComment-168215
Udostępnij na innych stronach

  • 0
Gość ZiemniaQ

To nie są błędy w pewnym sensie, tylko złe wytabowanie, spróbuj to:

	command /bcs [<text>]:
	    permission: bcs.admin
	    trigger:
	        arg 1 is set:
	            loop all players:
	                send loop-player title "%arg 1%" with subtitle "" for 7 seconds
	        else:
	            send "&cPodaj wiadomość do wysłania!"
	

Odnośnik do komentarza
https://skript.pl/temat/25393-og%C5%82oszenie-na-%C5%9Brodku/#findComment-168223
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ę...