command /at [<text>][<text>][<text>]:
trigger:
player has permission "at.admin":if arg 1isnot set:if{attoggle.%player%}is set:if{attoggle.%player%}is false:
set {attoggle.%player%} to true
send "&7&l[&4&la&6&lT&7&l] &aPo kliknieciu na item, dodasz go do antiThrow!" to the player
send "&7&l[&4&la&6&lT&7&l] &aChcesz to anulowac? Wpisz ponownie /at!" to the player
else:
set {attoggle.%player%} to false
send "&7&l[&4&la&6&lT&7&l] &cWylaczyles antiThrow!" to the player
send "&7&l[&4&la&6&lT&7&l] &cAby to wlaczyc, wpisz ponownie /at!" to the player
else:
set {attoggle.%player%} to false
elseif arg 1is"edytuj":
open chest with6 rows named "&7&l[&4&la&6&lT&7&l] &c&lKliknij na item aby usunac" to the player
set {_count} to 0
loop {atlist::*}:
format slot {_count} of player with loop-value to close then run "adelete %id of the loop-value% %name of the loop-value%"
add 1 to {_count}elseif arg 1is"clear":
delete {atlist::*}
send "&7&l[&4&la&6&lT&7&l] &aWyczyszczono baze danych!" to the player
else:
send "&7&l[&4&la&6&lT&7&l] &cNie mozesz tego uzyc!" to the player
on right click:if{attoggle.%player%}is set:if{attoggle.%player%}is true:if event-item is set:if{atlist::*}is set:
loop {atlist::*}:if loop-value is event-item:
send "&7&l[&4&la&6&lT&7&l] &cTen przedmiot juz jest w bazie danych!" to the player
stop
add event-item to {atlist::*}
send "&7&l[&4&la&6&lT&7&l] &aDodano %event-item% do bazy AT!" to the player
on place:if{attoggle.%player%}is set:if{attoggle.%player%}is true:
cancel event
command /adelete [<text>][<text>]:
trigger:if arg 1is set:if arg 2is set:
loop {atlist::*}:if"%id of the loop-value%"is arg 1:if"%name of the loop-value%"is arg 2:
remove loop-value from{atlist::*}
stop
on drop:
loop {atlist::*}:if name of the loop-value is name of the event-item:if lore of the loop-value is lore of the event-item:
cancel event
stop
Chodzi tutaj o moment on drop oraz tworzenia skrzynki z itemami, gdyz po jakims czasie itemy traca wartosci i w skrzynce pokazuja sie puste sloty. Nie wiem co jest zle, dlatego prosze o pomoc
Pytanie
TerQ 0
Witam! Mam ten skrypt:
Chodzi tutaj o moment on drop oraz tworzenia skrzynki z itemami, gdyz po jakims czasie itemy traca wartosci i w skrzynce pokazuja sie puste sloty. Nie wiem co jest zle, dlatego prosze o pomoc
Odnośnik do komentarza
Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi