Starts/Ends With (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.2-dev36, 2.5.1 (multiple strings support)

Syntax

%strings% (start|end)[s] with %strings%

Description

Checks if a text starts or ends with another.

Examples

if the argument starts with "test" or "debug":
	send "Stop!"

View source