Command Sender (Type) — Skript

Addon: Skript · Category: Type

Syntax

sender

Description

Something that can execute a command and receive messages (players/console).

Examples

command /test:
	condition:
		return whether sender is a player # command can only be executed by players
	trigger:
		give player 5 diamond

View source