Skocz do zawartości
  • 0

Pytanie


JaJkO

Pytanie

[skript] 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. (eventhe.sk, line 74: chance of 55%:')

Odnośnik do komentarza
https://skript.pl/temat/3722-pytanie/
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0
variables:	{event.hehe} = falsecommand /heheon [<text&gt]:	permission: eventon.on	trigger:		if arg 1 is "he":			if {event.hehe} is false:				set {event.hehe} to true				broadcast "&2[&aHeheheszki.PL&2] &eEvent Heheheszk'owy zostal rozpoczety!"				wait 1 second				broadcast "&2[&aHeheheszki.PL&2] &eDrop z mobow wlaczony leca Heheheszkowe Jajka!"					stopcommand /heheoff [<text&gt]:	permission: eventon.off	trigger:		if arg 1 is "he":			if {event.hehe} is true:				set {event.hehe} to false				broadcast "&2[&aHeheheszki.PL&2] &eEvent Heheheszkowy zostal zakonczony!"				wait 1 second				broadcast "&2[&aHeheheszki.PL&2] &eDrop jaj z mobow wylaczony !"				stopoptions:	mshehe: &aGratulacje,&9 otrzymales nagrodę!	prezent1: none  	prezent2: Stone  	prezent3: diamond  	prezent4: cobblestone  	prezent5: blaze rod  	prezent6: egg  	prezent7: egg  on death of zombie:	if {event.exp} is true:			set drops to 1 egg named "&6Jajko Heheheszk'owe" and 2 rotten fleshon death of skeleton:	if {event.exp} is true:				set drops to 1 egg named "&6Jajko Heheheszk'owe" and 2 boneon death of creeper:	if {event.exp} is true:				set drops to 2 egg named "&6Jajko Heheheszk'owe" and 2 gunpowderon death of spider:	if {event.exp} is true:				set drops to 1 egg named "&6Jajko Heheheszk'owe" and 2 spider eyeon death of enderman:	if {event.exp} is true:				set drops to 3 egg named "&6Jajko Heheheszk'owe" and 1 ender pearlon rightclick with egg:	if name of player's tool is "&6Jajko Heheheszk'owe":		if {event.exp} is true:			cancel event			remove 1 egg from player's tool			chance of 100%:			give {@prezent1} to player			send "{@mshehe}"			chance of 100%:			give {@prezent2} to player			send "{@mshehe}"			chance of 100%:			give {@prezent3} to player			send "{@mshehe}"			chance of 100%:			give {@prezent4} to player			send "{@mshehe}"			chance of 55%:			give {@prezent5} to player			send "{@mshehe}"			chance of 55%:			give {@prezent6} to player			send "{@mshehe}"			chance of 55%:			give {@prezent7} to player			send "{@mshehe}"		else:			cancel event			send "&cW tej chwili nie trwa event Heheheszk'owy"

prosze

Edytowane przez JaJkO
Odnośnik do komentarza
https://skript.pl/temat/3722-pytanie/#findComment-32198
Udostępnij na innych stronach

  • 0

ok skrypt działa nie ma błędów ale nie dropi tych jajek co mam zrobić tutaj jest kod

variables:	{event.hehe} = falsecommand /heheon [<text&gt]:	permission: eventon.on	trigger:		if arg 1 is "he":			if {event.hehe} is false:				set {event.hehe} to true				broadcast "&2[&aHeheheszki.PL&2] &eEvent Heheheszk'owy zostal rozpoczety!"				wait 1 second				broadcast "&2[&aHeheheszki.PL&2] &eDrop z mobow wlaczony leca Heheheszkowe Jajka!"					stopcommand /heheoff [<text&gt]:	permission: eventon.off	trigger:		if arg 1 is "he":			if {event.hehe} is true:				set {event.hehe} to false				broadcast "&2[&aHeheheszki.PL&2] &eEvent Heheheszkowy zostal zakonczony!"				wait 1 second				broadcast "&2[&aHeheheszki.PL&2] &eDrop jaj z mobow wylaczony !"				stopoptions:	mshehe: &aGratulacje,&9 otrzymales nagrodę!	prezent1: none  	prezent2: Stone  	prezent3: diamond  	prezent4: cobblestone  	prezent5: blaze rod  	prezent6: egg  	prezent7: egg  on death of zombie:	if {event.exp} is true:			set drops to 1 egg named "&6Jajko Heheheszk'owe" and 2 rotten fleshon death of skeleton:	if {event.exp} is true:				set drops to 1 egg named "&6Jajko Heheheszk'owe" and 2 boneon death of creeper:	if {event.exp} is true:				set drops to 2 egg named "&6Jajko Heheheszk'owe" and 2 gunpowderon death of spider:	if {event.exp} is true:				set drops to 1 egg named "&6Jajko Heheheszk'owe" and 2 spider eyeon death of enderman:	if {event.exp} is true:				set drops to 3 egg named "&6Jajko Heheheszk'owe" and 1 ender pearlon rightclick with egg:	if name of player's tool is "&6Jajko Heheheszk'owe":		if {event.exp} is true:			cancel event			remove 1 egg from player's tool			chance of 100%:				give {@prezent1} to player				send "{@mshehe}"			chance of 100%:				give {@prezent2} to player				send "{@mshehe}"			chance of 100%:				give {@prezent3} to player				send "{@mshehe}"			chance of 100%:				give {@prezent4} to player				send "{@mshehe}"			chance of 55%:				give {@prezent5} to player				send "{@mshehe}"			chance of 55%:				give {@prezent6} to player				send "{@mshehe}"			chance of 55%:				give {@prezent7} to player				send "{@mshehe}"		else:			cancel event			send "&cW tej chwili nie trwa event Heheheszk'owy"
Odnośnik do komentarza
https://skript.pl/temat/3722-pytanie/#findComment-32408
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ę...