Parse Condition - With Return (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.19.0

Syntax

parse condition[s] %strings%

Description

This will parse a string as a condition and then check it and returns whether or not it's valid. If you provide a command sender it works the same as Skript's 'effect commands'. Otherwise it runs using the current event allowing you to use event-values

**NOTE:** This is handled very differently from the parse effect expression in addition to behaving differently than Skript's `whether <condition>`. If you have no good reason to use this, please check out the other two. *tip: when running into invalid null states try replacing parts with variables*

Examples

command /parse <string>:
	trigger:
		if parse condition arg-1 is false:
			send "&4:ERROR&c %arg-1% did not pass"

View source