Event Entity/Player/CommandSender (Expression) — Skript
Addon: Skript · Category: Expression · Since: 1.0
Syntax
[the] [event-]<.+>Description
The entity/player/commandsender involved in an event, allowing the exclusion of 'event-'.
Examples
on join:
send "Welcome to the server" to player # 'player'