Regions At (Expression) — Skript

Addon: Skript · Category: Expression · Since: 2.1

Syntax

[the] region(s|) %direction% %locations%

Description

All <a href='#region'>regions</a> at a particular <a href='./classes/#location'>location</a>. This expression requires a supported regions plugin to be installed.

Examples

On click on a sign:
	line 1 of the clicked block is "[region info]"
	set {_regions::*} to regions at the clicked block
	if {_regions::*} is empty:
		message "No regions exist at this sign."
	else:
		message "Regions containing this sign: <gold>%{_regions::*}%<r>."

View source