every minute:
if difference between {licznik} and now is smaller than 1 second:
delete {licznik}
set {licznik} to now
add 7 days to {licznik}
delete {topczas::*}
command /resettygodnia:
permission: op
trigger:
delete {licznik}
set {licznik} to now
add 7 days to {licznik}
delete {topczas::*}
on join:
set {data::%player%} to now
on quit:
set {_d} to difference between {data::%player%} and now
add {_d} to {topczas::%player%}
command /topczas:
trigger:
set {_top::*} to sorted indices of {topczas::*} in descending order
loop 5 times:
add {_top::%loop-value%} to {_top_5::*}
send "&aTopka czasu:"
loop {_top_5::*}:
add 1 to {_m}
send "&%{_m}%. %loop-value%"
Do pierwszego, nie wiem czy to dziala
Chodzi ci o | ?
Najprosciej jest to osiągnąć w taki sposob
command /tp:
trigger:
set {bar::1} to "Teleportacja za ..."
command /sektor:
trigger:
set {bar::2} to "Zblizasz sie do sektora ..."
every second:
send action bar "&a%{bar::1}% &7&l| &a%{bar::2}%" to all players
set {_} to y-loc of location of player
set {_x} to x-loc of location of player
set {_z} to z-loc of location of player
while location({_x}, {_}, {_z}) is in region "jakisregion":
add 1 to {_}
send {_}
A to w zasadzie by dzialalo?
on damage:
victim is a player
damage victim's helmet by 1
damage victim's chestplate by 1
damage victim's leggings by 1
damage victim's boots by 1
Jezeli nie wystarczy to te 1 zamien na np 0.3 czy cos tego typu