Is Within (Condition) — Skript

Addon: Skript · Category: Condition · Since: 2.7, 2.11 (world borders)

Syntax

%points% (is|are) within %point% and %point%

Description

Whether a point is within something else. The "something" can be a chunk, a world border, the world border of an instance, or a cuboid formed by two other points. Note that using the <a href='#CondCompare'>is between</a> condition will refer to a straight line between points, while this condition will refer to the cuboid between points.

Examples

if player's position is within {_loc1} and {_loc2}:
	send "You are in a PvP zone!" to player

View source