Skip to content

Condition Variable String Equals

JasperLorelai edited this page Feb 25, 2026 · 2 revisions

Source Code

Modifier condition: variablestringequals

Properties:

Property Value
Has Entity Target true
Has Location Target true (checks caster's modifiers)

Description:

Passes if the player's string variable value matches the one specified.

String Format Options:

Arguments:

  • varName - Variable name
  • operator - : (Since 4.0 Beta 14 = may be used)
  • value:
    • The value must be a string, with no space character. Value can be null to check for empty values.
    • Since 4.0 Beta 13 it may also be a variable name to match two variables.
- variablestringequals (varName)(operator)(value) [modifier action]

Section Format Options:

(Unsupported for now.)

Clone this wiki locally