%val:EXPR% (is|is not) between %min:EXPR% and %max:EXPR% — Conditions

%val:EXPR% (is|is not) between %min:EXPR% and %max:EXPR%
Math1.0.0

Description

Checks if a value is between or outside a minimum and maximum range (inclusive).

Examples

if player's x is between 100 and 200:
if player's y is not between 60 and 120:

All Possible Usages (2)

Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.

<val> is between <min> and <max>
<val> is not between <min> and <max>

Related (Math)