command /statystyki [<text>]:
trigger:
arg 1 is not set:
open chest with 3 row named "&7[&e&lStatystyki&7]" to player
wait 1 ticks
format slot 13 of player with 1 of diamond named "&c&lTwoje punkty:&a&l %{bloki.%player%}%" with lore "&9Aby zdobyc punkty musisz stawiac oraz niszczyc bloki!" to be unstealable
stop
arg 1 is set:
open chest with 3 row named "&7[&e&lStatystyki&7]" to player
wait 1 ticks
format slot 13 of player with 1 of diamond named "&c&lPunkty %arg 1%:&a&l %{bloki.%arg 1%}%" with lore "&9Aby zdobyc punkty musisz stawiac oraz niszczyc bloki!" to be unstealable
stop
command /top:
trigger:
send "&a=========&c&lTOP"&a========="
#I tutaj potrzebuje TOP 10 wg tego wzoru: send "&a1. nick &cpunkty"
Pytanie
MrSzescianPL 5
Potrzebuje TOP do tego skryptu:
variables:
{bloki.%player%} = 0
top: 10
on place:
add 1 to {bloki.%player%}
on break:
add 1 to {bloki.%player%}
command /statystyki [<text>]:
trigger:
arg 1 is not set:
open chest with 3 row named "&7[&e&lStatystyki&7]" to player
wait 1 ticks
format slot 13 of player with 1 of diamond named "&c&lTwoje punkty:&a&l %{bloki.%player%}%" with lore "&9Aby zdobyc punkty musisz stawiac oraz niszczyc bloki!" to be unstealable
stop
arg 1 is set:
open chest with 3 row named "&7[&e&lStatystyki&7]" to player
wait 1 ticks
format slot 13 of player with 1 of diamond named "&c&lPunkty %arg 1%:&a&l %{bloki.%arg 1%}%" with lore "&9Aby zdobyc punkty musisz stawiac oraz niszczyc bloki!" to be unstealable
stop
command /top:
trigger:
send "&a=========&c&lTOP"&a========="
#I tutaj potrzebuje TOP 10 wg tego wzoru: send "&a1. nick &cpunkty"
Odnośnik do komentarza
Udostępnij na innych stronach
0 odpowiedzi na to pytanie
Rekomendowane odpowiedzi