Witam, mam problem z jednym ze skriptów. Jak wpisuje [item] to wiadomość nie powinna zostać wysłana na czat ale jest wysyłana. Dopisywałem już cancel event etc, ale to nie pomaga.
Proszę o szybką pomoc
Kodzik:
on chat:
message contains "[exp]" or "[bao]" or "[eq]" or "[krytyk]" or "[kasa]" or "[czas]" or "[item]":
cancel event
open chest with 1 row named "&7Czym chcesz sie pochwalic?" to player
format slot 0 of player with {czas.%player%} of clock named "&aCzas Gry" with lore "&eKliknij aby pokazac na chacie" to close then run [execute player command "czasgry"]
format slot 1 of player with {stan.%player%} of light green dye named "&aStan Konta" with lore "&eKliknij aby pokazac na chacie" to close then run [execute player command "stankonta"]
format slot 2 of player with {przedmiot.%player%} of chest named "&aTwoj Przedmiot" with lore "&eKliknij aby pokazac na chacie" to close then run [execute player command "twojprzedmiot"]
format slot 3 of player with {totem.%player%} of dandelion yellow named "&aTwoje Bao" with lore "&eKliknij aby pokazac na chacie" to close then run [execute player command "bao"]
format slot 4 of player with {zbroja.%player%} of iron chestplate named "&aTwoje Uzbrojenie" with lore "&eKliknij aby pokazac na chacie" to close then run [execute player command "eq"]
format slot 5 of player with {najkryt.%player%} of gold sword named "&aNajwiekszy Krytyk" with lore "&eKliknij aby pokazac na chacie" to close then run [execute player command "krytyk"]
format slot 6 of player with {exp.%player%} of 384 named "&aTwoje Doswiadczenie" with lore "&eKliknij aby pokazac na chacie" to close then run [execute player command "mojexp"]
format slot 8 of player with {wiadomosc.%player%} of paper named "&aTwoja Wiadomosc:" with lore "&e%message%" to close
else:
stop
Dziękuje