on first join: set {punkty::%player%} to 500 on join: if {punkty::%player%} is not set: set {punkty::%player%} to 500 on death: if attacker is player: if victim is player: add 1 to {zabicia::%attacker%} add 1 to {smierci::%victim%} if {punkty::%attacker%} is bigger than {punkty::%victim%}: add 10 to {punkty::%attacker%} remove 20 from {punkty::%victim%} broadcast "Gracz %attacker% (+10) zabil gracza %victim% (-20)" else: if {punkty::%victim%} = 0: send "Masz juz 0 pkt" to victim add 1 to {punkty::%attacker%} send "%victim% nie ma juz punktow, dlatego otrzymales 1pkt." else: add 20 to {punkty::%attacker%} remove 40 from {punkty::%victim%} broadcast "Gracz %attacker% (+20) zabil gracza %victim% (-40)" command /punkty []: trigger: if arg 1 is not set: send "Twoje punkty: %{punkty::%player%}%" else: send "Punkty gracza %arg 1%: %{punkty::%arg 1%}%"