On Command (Event) — Skript

Addon: Skript · Category: Event · Since: 2.0

Syntax

[on] command [%-strings%]

Description

Called when a player enters a command (not necessarily a Skript command) but you can check if command is a skript command, see <a href='#CondIsSkriptCommand'>Is a Skript command condition</a>.

Event Values

  • event-commandsender
  • event-player
  • event-world

Examples

on command:
on command "/stop":
on command "pm Njol ":

View source