On Skript - on Effect Command (Event) — Lusk

Addon: Lusk · Category: Event · Since: 1.3

Syntax

[on] [s(k|c)ript] [chat] effect command

Description

Called when someone uses a skript effect through the chat, also known as effect command, this can be enabled through skript's config.

Event Values

  • event-block
  • event-command sender
  • event-text
  • event-texts
  • event-world

Examples

on effect command:
    if the effect command contains "op":
        set effect command to "send ""why are you trying to op someone?"""

View source