So i have this scripted smp where i want to fix the death messages but i cant make it work can somebody please help and explain why this does not work?
on join:
set {_nick} to player's display name
set {_nicked} to false
command /nick <text> <text>:
trigger:
set {_nick} to arg-2
set {_nicked} to true
execute console command "/haonick:nick %arg-1% %arg-2%"
on death:
if victim is a player:
if attacker is a player:
if {_nicked.%victim%} is false:
broadcast "&e%victim% has left the game"
else:
broadcast "&e%{_nick.%victim%}% has left the game"
on join:
set {_nick} to player's display name
set {_nicked} to false
command /nick <text> <text>:
trigger:
set {_nick} to arg-2
set {_nicked} to true
execute console command "/haonick:nick %arg-1% %arg-2%"
on death:
if victim is a player:
if attacker is a player:
if {_nicked.%victim%} is false:
broadcast "&e%victim% has left the game"
else:
broadcast "&e%{_nick.%victim%}% has left the game"