You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 11, 2018. It is now read-only.
Dylan Curtis edited this page Aug 14, 2014
·
1 revision
Condition: is Within
Used to check whether something is within location 1 and 2.
Documentation
Examples
%location% is within %location% to %location%
victim is within {pos1} and {pos2}
%location% is not within %location% to %location%
skeleton is not within location at victim and {_loc}
Example Code: Safety Zone
ondamage:
ifvictimisaplayer:
ifvictimiswithin {SpawnPos1} and {SpawnPos2}:
canceleventifattackerisaplayer:
send"You can't hurt other players in the saftey zone!"