Code:
on load:
set {_playerXP} to 0
on death:
if attacker is a player:
set {_playerXP} to {_playerXP} + 1
message "+1"
command /xp:
trigger:
message "%{_playerXP}% is the current xp"
On death isnt getting called, with my test of +1 it doesnt send the message. And messaging the player the current xp shows <none>. How do I fix it so my on death: gets called.