variables: {zycia.%player%} = 3 command /zycia []: trigger: send "&4&lMasz %{zycia.%player%}% &4&lżyć!" on death of player: send "&4&lStraciłeś 1 życie!" to player remove 1 from {zycia.%player%} if {zycia.%player%} is 0: ban player due to "&4&lSkończyły ci się życia!" send "&4&lGraczowi 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 diamentów" stop unban %arg 1% remove 20 diamond from player send "&4&lGracz %player% wskrzesił 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&lZresetowałeś zycia!" set {zycia.%player%} to 3 command /zyciadodaj []: permission: km.* trigger: send "&4&lDodałeś sobie 1 życie!" add 1 to {zycia.%player%} command /zycie kup []: trigger: if argument 1 is "1": add 1 to {zycia.%player%} send "&4&lZakupiłeś 1 życie" to player remove 20 from player's balance if argument 1 is "2": add 2 to {zycia.%player%} send "&4&lZakupiłeś 2 życia" to player remove 50 from player's balance if argument 1 is "3": add 3 to {zycia.%player%} send "&4&lZakupiłeś 3 życia" to player remove 100 from player's balance