Regions At (Expression) — skript-worldguard
Addon: skript-worldguard · Category: Expression · Since: 1.0
Syntax
[the] regions %direction% %locations%Description
An expression to obtain the regions at a specific location. Note that the regions will be returned in ascending order by priority.
Examples
on right click:
the clicked block is tagged with minecraft tag "all_signs"
line 1 of the clicked block is "[Region Info]"
set {_regions::*} to the regions at the clicked block
if {_regions::*} is not set:
message "No regions exist at this sign."
else:
message "You are in: %{_regions::*}%."