variables: {zycia.%player%} = 3 command /zycia: trigger: send "&4&lMasz %{zycia.%player%}% &4&lżyć!" on death: send "&4&lStraciles 1 zycie!" to player remove 1 from {zycia.%player%} if {zycia.%player%} is 0: execute console command "ban %player% &4&lskonczyly ci sie zycia!" send "&4&lGraczu o nazwie %player% skonczyly sie zycia! i zostal zbanowany..." to players command /wskrzes []: trigger: if player have 20 diamonds: execute console command "pardon %arg 1%" remove 20 diamond from player send "&4&lGracz %player% wskrzesil gracza %arg 1%" else: send "nie posiadasz 20 diamentow" command /zyciareset: permission: km.* trigger: send "&4&lZresetowales zycia!" set {zycia.%player%} to 3 command /zyciadodaj []: permission: km.* trigger: send "&4&lDodales sobie 1 zycie!" add 1 to {zycia.%player%} command /zycie kup []: trigger: if argument 1 is "1": add 1 to {zycia.%player%} send "&4&lZakupiles 1 zycie" to player execute console command "eco take %player% 20" if argument 1 is "2": add 2 to {zycia.%player%} send "&4&lZakupiles 2 zycia" to player execute console command "eco take %player% 50" if argument 1 is "3": add 3 to {zycia.%player%} send "&4&lZakupiles 3 zycia" to player execute console command "eco take %player% 100"