Skocz do zawartości
  • 0

Szybkie sprawdzonko


Pytanie

napisałem skrypt lecz nie chce działać


command /zestaw [<text>]:
	trigger:
		if arg is not set:
			if player is "FRXYZ" or "nietrzezwy_":
				send "&8» &7Poprawne Uzycie: &a/zestaw <nick>"
			else:
				send "&8» &7Nie posiadasz uprawnien do tej komendy"
				loop all players:
					loop-player is op:
						send "&8[&4Powiadomienie OP&8] &7Gracz &c%player% &7probowal uzyc komendy &c/zestaw" to loop-player
		if arg is set:
			if arg is online:
				send "&8» &7Otrzymales Zestaw &cEventowy" to arg
				send "&8» &7Nadano zestaw &ceventowy &&graczowi &c%arg-1%" to player
				set {cel} to %arg-1%
				give a 306 of protection 4 and unbreaking 3 to %arg-1%
				give a 307 of protection 4 and unbreaking 3 to %arg-1%
				give a 308 of protection 4 and unbreaking 3 to %arg-1%
				give a 309 of protectiob 4 and unbreaking 3 to %arg-1%
				give a 261 of power 5 to %arg-1%
				give 4 368 to %arg-1%
				give 64 262 to %arg-1%
				give 5 260 to %arg-1%
				give 8 322 to %arg-1%
				give 1 322:1 to %arg-1%
				give 1 346 to %arg-1%
				loop all players:
					loop-player is op:
						send "&8[&4Powiadomienie OP&8] &7Gracz &c%player% &7otrzymal zestaw &cEventowy" to loop-player
			else:
				send "&8» &7Ten gracz &cnie jest &7online"

 

Odnośnik do komentarza
https://skript.pl/temat/48503-szybkie-sprawdzonko/
Udostępnij na innych stronach

3 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
command /zestaw [<offlineplayer>]:
	trigger:
		if arg is not set:
			if player is "FRXYZ" or "nietrzezwy_":
				send "&8» &7Poprawne Uzycie: &a/zestaw <nick>"
				stop
			send "&8» &7Nie posiadasz uprawnien do tej komendy"
				send "&8[&4Powiadomienie OP&8] &7Gracz &c%player% &7probowal uzyc komendy &c/zestaw" to all ops
  				stop
		if arg is set:
			if arg is online:
				send "&8» &7Otrzymales Zestaw &cEventowy" to player-arg
				send "&8» &7Nadano zestaw &ceventowy &&graczowi &c%arg-1%" to player
				set {cel} to arg-1
				give a 306 of protection 4 and unbreaking 3 to arg-1
				give a 307 of protection 4 and unbreaking 3 to arg-1
				give a 308 of protection 4 and unbreaking 3 to arg-1
				give a 309 of protectiob 4 and unbreaking 3 to arg-1
				give a 261 of power 5 to arg-1
				give 4 368 to arg-1
				give 64 262 to arg-1
				give 5 260 to arg-1
				give 8 322 to arg-1
				give 1 322:1 to arg-1
				give 1 346 to arg-1
				send "&8[&4Powiadomienie OP&8] &7Gracz &c%player% &7otrzymal zestaw &cEventowy" to all ops
                stop
			send "&8» &7Ten gracz &cnie jest &7online"
  			stop	

 

Prosze! teraz Powino Dziala prawidlowo! 

Odnośnik do komentarza
https://skript.pl/temat/48503-szybkie-sprawdzonko/#findComment-302624
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ę...