Condition Comparison

Available methods of comparing between variables and your expected result:

=

Equals to

%player world% = world

<

Less than

%player y% < 20

<=

Less than or equals to

%player y% <= 22

>

More than

%player y% > 20

>=

More than or equals to

%player y% >= 20

contains

Variable contains string

%player world% contains nether

matchesregex

Variable matches RegEx

%player name% matchesregex ^.\w+ (name starts with a dot)

Last updated