command /kit:
trigger:
open chest with 3 rows named "&8» &cKity" to player
wait 3 ticks
set {i::%player%} to 0
loop 10 times:
format slot {i::%player%} of player with 1 Blue Stained Glass Pane named "&4KITY" to close
add 1 to {i::%player%}
format slot 13 of player with 1 364 named "&8Kit &7Mieso" to close then run [execute console command "give 64 364 %player%"]
set {i::%player%} to 17
loop 10 times:
format slot {i::%player%} of player with 1 Light Blue Stained Glass Pane named "&4KITY" to close
add 1 to {i::%player%}
Chciałbym żeby w linijce z: format slot 13 of player with 1 364 named "&8Kit &7Mieso" to close then run [execute console command "give 64 364 %player%"]
po "close" wysyłały się kolejno takie komendy:
[execute console command "pex user %player% add Enzzo.Give"]
[execute player command "give 64 364 %player%"]
[execute console command "pex user %player% remove Enzzo.Give"]
Pytanie
Enzzo 5
Treść skryptu:
command /kit: trigger: open chest with 3 rows named "&8» &cKity" to player wait 3 ticks set {i::%player%} to 0 loop 10 times: format slot {i::%player%} of player with 1 Blue Stained Glass Pane named "&4KITY" to close add 1 to {i::%player%} format slot 13 of player with 1 364 named "&8Kit &7Mieso" to close then run [execute console command "give 64 364 %player%"] set {i::%player%} to 17 loop 10 times: format slot {i::%player%} of player with 1 Light Blue Stained Glass Pane named "&4KITY" to close add 1 to {i::%player%}Chciałbym żeby w linijce z: format slot 13 of player with 1 364 named "&8Kit &7Mieso" to close then run [execute console command "give 64 364 %player%"]
po "close" wysyłały się kolejno takie komendy:
Edytowane przez xNightPower_Umieszczam kod w code.
Odnośnik do komentarza
https://skript.pl/temat/44450-skrypt-czy-da-si%C4%99-zrobi%C4%87-%C5%BCeby-wysy%C5%82a%C5%82-3-komendy-na-raz/Udostępnij na innych stronach
3 odpowiedzi na to pytanie
Rekomendowane odpowiedzi