I am VERY new to this skripting stuff and I am trying to setup a basic Death counter,
This is the code could anyone explain to me why it isn't working?
variables:
{%player%.deaths} = 0
{%player%.total_deaths} = 0
on join:
broadcast "Welcome %player% to the server!"
set {%player%.deaths} to 0
on death:
if attacker is a player:
add 1 to {%player%.total_deaths}
command /test :
trigger:
send " "
send "&6&lThis is an offical test"
send "You have {%player%.total_deaths} deaths"
command /AddDeath [<number>]:
trigger:
add 1 to {%player%.total_deaths}
This is the code could anyone explain to me why it isn't working?
variables:
{%player%.deaths} = 0
{%player%.total_deaths} = 0
on join:
broadcast "Welcome %player% to the server!"
set {%player%.deaths} to 0
on death:
if attacker is a player:
add 1 to {%player%.total_deaths}
command /test :
trigger:
send " "
send "&6&lThis is an offical test"
send "You have {%player%.total_deaths} deaths"
command /AddDeath [<number>]:
trigger:
add 1 to {%player%.total_deaths}