Command Sender (Type) — Skript
Addon: Skript · Category: Type · Since: 1.0
Syntax
commandsenderDescription
A player or the console.
Examples
command /push [<player>]:
trigger:
if arg-1 is not set:
if command sender is console:
send "You can't push yourself as a console :\" to sender
stop
push sender upwards with force 2
send "Yay!"
else:
push arg-1 upwards with force 2
send "Yay!" to sender and arg-1