Skocz do zawartości
  • 0

Problem z wykonywaniem komendy po kliknięciu na item w menu


RikoDEV
 Udostępnij

Pytanie

Kawałek skryptu:



command /crafting [<text>]:
trigger:
  if arg 1 is not set:
   open chest with 1 rows named "   &8** &cCRAFTINGI &8**" to player
   wait 1 tick
   format slot 2 of player with 1 of end stone named "&8** &cCRAFTING STONIARKI &8**" to run "run %player% /crafting stoniarka"
   format slot 6 of player with 1 of ender portal frame named "&8** &cCRAFTING BOYFARMERA &8**" to run "run %player% /crafting boyFarmer"

Na początku chce napisać że skrypt nie jest mojego autorstwa...


Chce aby po kliknięciu w itemek wywołała się komenda /crafting stoniarka jako gracz który to kliknoł. W skrypcie zastosowano run które nie działa (nic się nie dzieje, a powinno otworzyć 2 menu z komendy /crafting stoniarka)


Edytowane przez PolskiRiko
Odnośnik do komentarza
Udostępnij na innych stronach

5 odpowiedzi na to pytanie

Rekomendowane odpowiedzi

  • 0

command /crafting [<text>]:

trigger:

  if arg 1 is not set:

   open chest with 1 rows named "   &8** &cCRAFTINGI &8**" to player

   wait 1 tick

   format slot 2 of player with 1 of end stone named "&8** &cCRAFTING STONIARKI &8**" to run [execute player command "crafting stoniarka"]

   format slot 6 of player with 1 of ender portal frame named "&8** &cCRAFTING BOYFARMERA &8**" to run [execute player command "crafting boyfarmer"]

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

 

command /crafting [<text>]:

trigger:

  if arg 1 is not set:

   open chest with 1 rows named "   &8** &cCRAFTINGI &8**" to player

   wait 1 tick

   format slot 2 of player with 1 of end stone named "&8** &cCRAFTING STONIARKI &8**" to run [execute player command "crafting stoniarka"]

   format slot 6 of player with 1 of ender portal frame named "&8** &cCRAFTING BOYFARMERA &8**" to run [execute player command "crafting boyfarmer"]

 

pomoc.png

Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

command /crafting [<text>]:

trigger:

  if arg 1 is not set:

   open chest with 1 rows named "   &8** &cCRAFTINGI &8**" to player

   wait 1 tick

   format slot 2 of player with 1 of end stone named "&8** &cCRAFTING STONIARKI &8**" to run [execute player command "crafting stoniarka" ]

   format slot 6 of player with 1 of ender portal frame named "&8** &cCRAFTING BOYFARMERA &8**" to run [execute player command "crafting boyfarmer" ]

edit:

dalem poprawione- spacja przed ] dodana a tak to nwm co moze dalej byc zle... napewno ten sam error?

Edytowane przez WooMBO - CooMBO
Odnośnik do komentarza
Udostępnij na innych stronach

  • 0

 

command /crafting [<text>]:

trigger:

  if arg 1 is not set:

   open chest with 1 rows named "   &8** &cCRAFTINGI &8**" to player

   wait 1 tick

   format slot 2 of player with 1 of end stone named "&8** &cCRAFTING STONIARKI &8**" to run [execute player command "crafting stoniarka" ]

   format slot 6 of player with 1 of ender portal frame named "&8** &cCRAFTING BOYFARMERA &8**" to run [execute player command "crafting boyfarmer" ]

 

Ty sobie jaja robisz? Dajesz mi to samo.... Poza tym nadal nie działa (ten sam błąd)

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