forked from HerculesWS/Hercules
-
Notifications
You must be signed in to change notification settings - Fork 0
Getareausers
Mike Kao edited this page Jun 16, 2023
·
1 revision
- getareausers("<map></map>",<x1></x1>,<y1></y1>,<x2></x2>,<y2></y2>)
This function will return the count of connected characters which are located within the specified area - an x1/y1-x2/y2 square on the specified map.
This is useful for maps that are split into many buildings, such as all the "*_in" maps, due to all the shops and houses.
Category:Script Command