Skocz do zawartości
  • 0

Pierozek nie działa


xQute
 Udostępnij

Pytanie

CZEMU TEN SKRYPT NA PIEROZEK NIE DZIAŁA

options:
 tag: &8[&4Pierozek]
on place:
 if player's tool is dragon_egg:
  if name of player's tool is "&8[&b&lPierozek]":
   cancel event

on right click:
 if player's tool is dragon_egg:
  if name of player's tool is "&8[&b&lPierozek]":
   broadcast "&8######################################"
   broadcast "&c%player% &7Otworzyl &9&lPierozek &7i wydropil:"
   chance of 70%:
    drop 6 diamond
    broadcast "&7- &c6x Diaxy"
   chance of 40%:
    drop 1 311 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
    broadcast "&7- &c1x Klata 4/3"
   chance of 50%:
    drop 64 emerald
    broadcast "&7- &c64x Emeraldy"
   chance of 50%:
    drop 1 310 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
    broadcast "&7- &c1x Helm 4/3"
   chance of 80%:
    drop 13 gold ingot
    broadcast "&7- &c13x Zelazo"
   chance of 40%:
    drop 1 312 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
    broadcast "&7- &c1x Spodnie 4/3"
   chance of 90%:
    drop 15 gold ingot
    broadcast "&7- &c15x Zloto"
   chance of 40%:
    drop 1 276 of sharpness 5 and fire aspect 2 named "&5&lMiecz 5/2"
    broadcast "&7- &c1x Miecz 5/2"
   chance of 90%:
    drop 3 TNT
    broadcast "&7- &c3x TNT"
   chance of 40%:
    drop 1 278 of efficiency 7 and unbreaking 5 and fortune 5 named "&5&lKilof 7/5/5"
    broadcast "&7- &c1x Kilof 7/5/5"
   remove 1 dragon_egg named "&8[&b&lPierozek]" from player's inventory
   
command /pierozek [<player>] [<text>]:
 permission: rex.pierozek
 trigger:
  if arg 1 is not set:
   if arg 2 is not set:
    send "{@tag} &8/&cpierozek &c[&eNick&8] [&eIlosc&8]"
  if arg 1 is set:
   if arg 2 is set:
    execute console command "give %arg 1% dragon_egg %arg 2%  name:&8[&b&lPierozek]"
    send "{@tag} &a&lOtrzymales &4&lPierozek &7&lx&c&l%arg 2% &a&l!" to player-arg

 

Edytowane przez LjayPL789
bludis

Poprawiam formatowanie; wstawiam w code.

Notatka dodana przez bludis

Odnośnik do komentarza
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

Po prostu dragon egg bez "-" pomiędzy

I wytabowałem

options:
 tag: &8[&4Pierozek]
on place:
	if player is holding dragon egg named "&8[&b&lPierozek]":
		cancel event

on right click:
	if player's tool is dragon egg named "&8[&b&lPierozek]":
		broadcast "&8######################################"
		broadcast "&c%player% &7Otworzyl &9&lPierozek &7i wydropil:"
		chance of 70%:
			drop 6 diamond
			broadcast "&7- &c6x Diaxy"
		chance of 40%:
			drop 1 311 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
			broadcast "&7- &c1x Klata 4/3"
		chance of 50%:
			drop 64 emerald
			broadcast "&7- &c64x Emeraldy"
		chance of 50%:
			drop 1 310 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
			broadcast "&7- &c1x Helm 4/3"
		chance of 80%:
			drop 13 gold ingot
			broadcast "&7- &c13x Zelazo"
		chance of 40%:
			drop 1 312 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
			broadcast "&7- &c1x Spodnie 4/3"
		chance of 90%:
			drop 15 gold ingot
			broadcast "&7- &c15x Zloto"
		chance of 40%:
			drop 1 276 of sharpness 5 and fire aspect 2 named "&5&lMiecz 5/2"
			broadcast "&7- &c1x Miecz 5/2"
		chance of 90%:
			drop 3 TNT
			broadcast "&7- &c3x TNT"
		chance of 40%:
			drop 1 278 of efficiency 7 and unbreaking 5 and fortune 5 named "&5&lKilof 7/5/5"
			broadcast "&7- &c1x Kilof 7/5/5"
			remove 1 dragon egg named "&8[&b&lPierozek]" from player's inventory
   
command /pierozek [<player>] [<text>]:
 permission: rex.pierozek
 trigger:
  if arg 1 is not set:
   if arg 2 is not set:
    send "{@tag} &8/&cpierozek &c[&eNick&8] [&eIlosc&8]"
  if arg 1 is set:
   if arg 2 is set:
    execute console command "give %arg 1% dragon_egg %arg 2%  name:&8[&b&lPierozek]"
    send "{@tag} &a&lOtrzymales &4&lPierozek &7&lx&c&l%arg 2% &a&l!" to player-arg

 

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0
18 minut temu, NeQ34 napisał:

Po prostu dragon egg bez "-" pomiędzy

I wytabowałem

options:
 tag: &8[&4Pierozek]
on place:
	if player is holding dragon egg named "&8[&b&lPierozek]":
		cancel event

on right click:
	if player's tool is dragon egg named "&8[&b&lPierozek]":
		broadcast "&8######################################"
		broadcast "&c%player% &7Otworzyl &9&lPierozek &7i wydropil:"
		chance of 70%:
			drop 6 diamond
			broadcast "&7- &c6x Diaxy"
		chance of 40%:
			drop 1 311 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
			broadcast "&7- &c1x Klata 4/3"
		chance of 50%:
			drop 64 emerald
			broadcast "&7- &c64x Emeraldy"
		chance of 50%:
			drop 1 310 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
			broadcast "&7- &c1x Helm 4/3"
		chance of 80%:
			drop 13 gold ingot
			broadcast "&7- &c13x Zelazo"
		chance of 40%:
			drop 1 312 of protection 4 and unbreaking 3 named "&5&lSet 4/3"
			broadcast "&7- &c1x Spodnie 4/3"
		chance of 90%:
			drop 15 gold ingot
			broadcast "&7- &c15x Zloto"
		chance of 40%:
			drop 1 276 of sharpness 5 and fire aspect 2 named "&5&lMiecz 5/2"
			broadcast "&7- &c1x Miecz 5/2"
		chance of 90%:
			drop 3 TNT
			broadcast "&7- &c3x TNT"
		chance of 40%:
			drop 1 278 of efficiency 7 and unbreaking 5 and fortune 5 named "&5&lKilof 7/5/5"
			broadcast "&7- &c1x Kilof 7/5/5"
			remove 1 dragon egg named "&8[&b&lPierozek]" from player's inventory
   
command /pierozek [<player>] [<text>]:
 permission: rex.pierozek
 trigger:
  if arg 1 is not set:
   if arg 2 is not set:
    send "{@tag} &8/&cpierozek &c[&eNick&8] [&eIlosc&8]"
  if arg 1 is set:
   if arg 2 is set:
    execute console command "give %arg 1% dragon_egg %arg 2%  name:&8[&b&lPierozek]"
    send "{@tag} &a&lOtrzymales &4&lPierozek &7&lx&c&l%arg 2% &a&l!" to player-arg

 

działa?

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ę...