command /ranga [<player>]:
permission: *
trigger:
if player's name is "Kristo07":
if player-arg is not set:
send "&a/ranga nick"
else:
wait 2 ticks
open chest with 1 row named "Ranga" to player
wait 1 tick
set slot 0 of player's current inventory to clay item named "&7&lGracz" with lore "&7Ustaw graczowi &8%player-arg%||&7range &lGRACZ"
set slot 1 of player's current inventory to gold ingot named "&e&lVIP" with lore "&7Ustaw graczowi &8%player-arg%||&7range &e&lVIP"
set slot 2 of player's current inventory to diamond named "&6&lsVIP" with lore "&7Ustaw graczowi &8%player-arg%||&7range &6&lsVIP"
set slot 3 of player's current inventory to paper named "&b&lMini&f&lY&4&lT" with lore "&7Ustaw graczowi &8%player-arg%||&7range &b&lMini&f&lY&4&lT"
set slot 4 of player's current inventory to paper named "&f&lY&4&lT" with lore "&7Ustaw graczowi &8%player-arg%||&7range &f&lY&4&lT"
set slot 6 of player's current inventory to cyan dye named "&9&lSupport" with lore "&7Ustaw graczowi &8%player-arg%||&7range &9&lSupport"
set slot 7 of player's current inventory to lime dye named "&2&lModerator" with lore "&7Ustaw graczowi &8%player-arg%||&7range &2&lModerator"
set slot 8 of player's current inventory to red dye named "&c&lAdmin" with lore "&7Ustaw graczowi &8%player-arg%||&7range &c&lAdmin"
Niby wszystko jest dobrze, ale po dopisaniu tej części z menu (open chest i tak dalej) komenda w ogóle jakby nie istnieje. Żadnych błędów nie wywala, dodam też, że to samo dzieje się z moim skryptem na Akcesoria, wczoraj działał, a dziś po małej zmianie tekstu w lore przedmiotów nie działa.
Pytanie
KrisSx 29
Witam, mam taki oto kod:
Niby wszystko jest dobrze, ale po dopisaniu tej części z menu (open chest i tak dalej) komenda w ogóle jakby nie istnieje. Żadnych błędów nie wywala, dodam też, że to samo dzieje się z moim skryptem na Akcesoria, wczoraj działał, a dziś po małej zmianie tekstu w lore przedmiotów nie działa.
Pomoże ktoś? ;/
Odnośnik do komentarza
Udostępnij na innych stronach
8 odpowiedzi na to pytanie
Rekomendowane odpowiedzi