variables: {PostawioneBloki::%player%} = 0 {ZniszczoneBloki::%player%} = 0 {Smierci::%player%} = 0 {zabojstwa::%player%} = 0 on death: if victim is a player: add 1 to {Smierci::%victim%} if attacker is a player: add 1 to {Zabojstwa::%attacker%} on place: add 1 to balance of player add 1 to {PostawioneBloki::%player%} if {PostawioneBloki::%player%} is 1000: execute console command "eco give %player% 10" else if {PostawioneBloki::%player%} is 2000: execute console command "eco give %player% 20" else if {PostawioneBloki::%player%} is 3000: execute console command "eco give %player% 30" on mine: add 1 to balance of player add 1 to {ZniszczoneBloki::%player%} if {ZnisczoneBloki::%player%} is 1000: execute console command "eco give %player% 10" else if {ZniszczoneBloki::%player%} is 2000: execute console command "eco give %player% 20" else if {ZniszczoneBloki::%player%} is 3000: execute console command "eco give %player% 30" command /statystyki: trigger: send "&4&l >> Statystyki <<" send " &7Postawione Bloki: &c%{PostawioneBloki::%player%}%" send " &7Znisczone Bloki: &c%{ZniszczoneBloki::%player%}%" send " &7Twoje Smierci: &c%{Smierci::%player%}%" send " &7Twoje Zabojstwa: &c%{Smierci::%player%}%" send "&4&l >> Statystyki <<" command /topPostawione: trigger: send "&4&l-------[ &b&lPostawione Bloki &4&l]-------" to sender set {_topka::*} to createTop("PostawioneBloki", 5, "&e&l[I]. &7[P] &7- &c[V]") loop {_topka::*}: send "%loop-value%" to sender command /topZniszczone: trigger: send "&4&l-------[ &b&lZniszczone Bloki &4&l]-------" to sender set {_topka::*} to createTop("ZniszczoneBloki", 5, "&e&l[I]. &7[P] &7- &c[V]") loop {_topka::*}: send "%loop-value%" to sender