So I'm working on a points skript for kills, and I want a command that is /pointstop and I'm confused on how to do it. Heres me code:
Code:
on join:
if {points.%player%} is not set:
set {points.%player%} to 0
on death:
if victim is a player:
if attacker is a player:
add 1 to {points.%attacker%}
send "&eYou have been awarded &61 &epoints." to attacker
command /points [<player>]:
trigger:
if arg-1 is not set:
send "&ePoints&7: &f%{points.%player%}%"
if arg-1 is set:
send "&e%arg-1%&e's Points&7: &f%{points.%arg-1%}%"
command /pointstop:
trigger:
???? <------- heres where I need help