Skocz do zawartości
  • 0

End


Vipper
 Udostępnij

Pytanie

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Prosze:

Jeżeli skrypt działa zaznacz moja odpowiedz jako najlepsza

on player portal:
	if {nether} is false:
		cancel event
		send "&6Nether jest wylaczony!"
command /nether [<text>]:
	permission: nether.*
	permission message: &6Nie posiadasz uprawnien!
	trigger:
		if arg 1 is set:
			if arg 1 is "on" or "off" or "wlacz" or "wylacz":
				if arg 1 is "on" or "wlacz":
					set {nether} to true
					send "&6Wlaczono Nether"
				else:
					set {nether} to false
					send "&6Wylaczono Nether"
			else:
				execute player command "nether"
		else:
			if {nether} is true:
				set {nether} false
				send "&6Wylaczono Nether"
			else:
				set {nether} to true
				send "&6Wlaczono Nether

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
19 godzin temu, xAxee napisał:

Prosze:

Jeżeli skrypt działa zaznacz moja odpowiedz jako najlepsza

on player portal:
	if {nether} is false:
		cancel event
		send "&6Nether jest wylaczony!"
command /nether [<text>]:
	permission: nether.*
	permission message: &6Nie posiadasz uprawnien!
	trigger:
		if arg 1 is set:
			if arg 1 is "on" or "off" or "wlacz" or "wylacz":
				if arg 1 is "on" or "wlacz":
					set {nether} to true
					send "&6Wlaczono Nether"
				else:
					set {nether} to false
					send "&6Wylaczono Nether"
			else:
				execute player command "nether"
		else:
			if {nether} is true:
				set {nether} false
				send "&6Wylaczono Nether"
			else:
				set {nether} to true
				send "&6Wlaczono Nether

 

Tylko tak jak w temacie pisałem do ENDU nie do netheru!!

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
on portal enter:
	if block at player isn't 90:
		if {end} is false:
			cancel event
			send "&6End jest wylaczony!" to player

command /nether [<text>]:
	permission: nether.*
	permission message: &6Nie posiadasz uprawnien!
	trigger:
		if arg 1 is set:
			if arg 1 is "on" or "off" or "wlacz" or "wylacz":
				if arg 1 is "on" or "wlacz":
					set {end} to true
					send "&6Wlaczono Nether"
  					stop
				else:
					set {end} to false
					send "&6Wylaczono Nether"
  					stop
			else:
				execute player command "nether"
  				stop
		else:
			if {end} is true:
				set {end} false
				send "&6Wylaczono Nether"
  				stop
			else:
				set {end} to true
				send "&6Wlaczono Nether
  				stop

// Nie testowałem

@Wirus

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
W dniu 15.08.2018 o 16:16, LjayPL789 napisał:
on portal enter:
	if block at player isn't 90:
		if {end} is false:
			cancel event
			send "&6End jest wylaczony!" to player

command /nether [<text>]:
	permission: nether.*
	permission message: &6Nie posiadasz uprawnien!
	trigger:
		if arg 1 is set:
			if arg 1 is "on" or "off" or "wlacz" or "wylacz":
				if arg 1 is "on" or "wlacz":
					set {end} to true
					send "&6Wlaczono Nether"
  					stop
				else:
					set {end} to false
					send "&6Wylaczono Nether"
  					stop
			else:
				execute player command "nether"
  				stop
		else:
			if {end} is true:
				set {end} false
				send "&6Wylaczono Nether"
  				stop
			else:
				set {end} to true
				send "&6Wlaczono Nether
  				stop

// Nie testowałem

@Wirus

Nie działa

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
Spoiler
on teleport:
	if "%new world%" contains "_the_end":
		if {end} is set:
			send "end jest wylaczony!"
			cancel event
command /end [<text>]:
	trigger:
		if player has permission "end":
			if arg 1 is not set:
				if {end} is not set:
					set {end} to false
					send "Wylaczyles end."
					stop
				clear {end}
				send "Wlaczyles end."
				stop
			if arg 1 is "on" or "wlacz":
				clear {end}
				send "Wlaczyles end."
				stop
			if arg 1 is "off" or "wylacz":
				set {end} to false
				send "Wylaczyles end"
				stop

 

Tyle.

Odnośnik do komentarza
Udostępnij na innych stronach

Nieaktywny
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
 Udostępnij

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

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