variables: {zycia.%player%} = 3 command /zycia []: trigger: send "&4&lMasz %{zycia.%player%}% &4&lżyć!" on death of player: send "&4&lStraciles 1 zycie!" to player remove 1 from {zycia.%player%} if {zycia.%player%} is 0: ban player due to "&4&lskonczyly ci sie zycia!" send "&4&lGraczu o nazwie %player% skonczyly sie zycia! i zostal zbanowany..." to players command /wskrzes []: trigger: if player don't have 20 diamonds: send "nie posiadasz 20 diamentow" stop execute console command "pardon %arg 1%" remove 20 diamond from player send "&4&lGracz %player% wskrzesil gracza %arg 1%" to all players stop command /zyciasprawdz []: trigger: send "&4&lGracz %arg-1% &4&lposiada %{zycia.%arg-1%}% &4&lżyć" 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 remove 20 from player's balance if argument 1 is "2": add 2 to {zycia.%player%} send "&4&lZakupiles 2 zycia" to player remove 50 from player's balance if argument 1 is "3": add 3 to {zycia.%player%} send "&4&lZakupiles 3 zycia" to player remove 100 from player's balance