@Nd_
command /prefix [<text>] [<player>]:
trigger:
set {prefix.%player%} to "&3%arg 1%"
if arg 2 is set:
set {prefix.%arg 2%} to "&3%arg 1%"
on chat:
cancel event
broadcast "%{prefix.%player%}%&8 %{nick.%player%}%&3:&f %message%"
command /nickme [<text>] [<player>]:
trigger:
set {nick.%player%} to "&3%arg 1%"
if arg 2 is set:
set {nick.%arg 2%} to "&3%arg 1%"
I'm trying to make a warn system, and am pretty new to Skripting. I tried this:
command /test2 [<player>] [<text>]:
trigger:
send "&4You have been warned by &c%sender%: &8%arg 2%" to %arg 1%
but it didn't work. How do I target the player specified in the command?