Im trying to make it to where you apply damage to a player by running a command.
[doublepost=1638858456,1638853798][/doublepost]UPDATE: I figured it out!!
Solution:
Code:
command /slap [<player>]:
description: "Slap another player"
trigger:
set {a} to arg-1
set {a} to {a} parsed as a player
send "&3%player% &bslaps &3%{a}%." to all players
deal 1 damage to {a} # this
Solution:
Code:
command /slap [<player>]:
description: "Slap another player"
trigger:
set {a} to arg-1
set {a} to {a} parsed as a player
send "&3%player% &bslaps &3%{a}%." to all players
make player damage {a} by 1