IsInMap
From UODemo Wiki
integer isInMap(location LocationToCheck);
This function will return 1 if the X and Y of LocationToCheck are in the map. A map is the area that the OSI/demo server is controlling. The begin coordinates and the size of the map are defined by the .rundir\%SERVERNAME%\server.txt file, see: server.txt. You can also use the getRelayLoc script function to get the begin coordinates of the server map. There is no function that gives you the size of the map though. The Z coordinate of LocationToCheck is ignored.
Return to the Command List.