"if diffrence between {zmienna} and now is (less/more) than (czas):"
jest potrzebny dodatkowy plugin? Mam w skrypcie zawarte te wyrażenie i podczas ładowania, skrypt pisze że nie zna takiego wyrażenia/akcji.
Mój kod:
Spoiler
on rightclick on player:
if name of clicked player is "&btest1":
wait 1 tick
if diffrence between {cd.ID1.%player%} and now is more than 3 days:
open chest with 1 row named "&6test" to player
format slot 4 of player with yellow wool named "&6test" to close then run [make console execute command "/misja10start1 %player%"]
if diffrence between {cd.ID1.%player%} and now is less than 3 days:
open chest with 1 row named "&6Wyzwanie Marcusa" to player
format slot 4 of player with green wool named "&6test" with lore "&aOdczekaj: %diffrence between {cd.ID1.%player%} and now%" to close
Pytanie
MineKox 0
Witam,
Czy do działania wyrażenia
"if diffrence between {zmienna} and now is (less/more) than (czas):"
jest potrzebny dodatkowy plugin? Mam w skrypcie zawarte te wyrażenie i podczas ładowania, skrypt pisze że nie zna takiego wyrażenia/akcji.
Mój kod:
on rightclick on player:
if name of clicked player is "&btest1":
wait 1 tick
if diffrence between {cd.ID1.%player%} and now is more than 3 days:
open chest with 1 row named "&6test" to player
format slot 4 of player with yellow wool named "&6test" to close then run [make console execute command "/misja10start1 %player%"]
if diffrence between {cd.ID1.%player%} and now is less than 3 days:
open chest with 1 row named "&6Wyzwanie Marcusa" to player
format slot 4 of player with green wool named "&6test" with lore "&aOdczekaj: %diffrence between {cd.ID1.%player%} and now%" to close
Odnośnik do komentarza
https://skript.pl/temat/23475-skript-diffrence-between/Udostępnij na innych stronach
4 odpowiedzi na to pytanie
Rekomendowane odpowiedzi