Basically I need a command, that acts like the command, *getareausers("<map name>",<x1>,<y1>,<x2>,<y2>);
But instead of returning just the AMOUNT of players in the area, I need it to create an array, of those player's account ID's.
*getareauserid("<map name>",<x1>,<y1>,<x2>,<y2>)
Upon executing this command,
$@areauseraid[0] is a global temporary number array which contains the account id of all users found in the specified area.
$@areausercount is the number of users found in the specified area.
This is basically how it would turn out. (Yes I borrowed the layout used for getpartymember and getguildmember commands).
Question
GmOcean
Basically I need a command, that acts like the command, *getareausers("<map name>",<x1>,<y1>,<x2>,<y2>);
But instead of returning just the AMOUNT of players in the area, I need it to create an array, of those player's account ID's.
This is basically how it would turn out. (Yes I borrowed the layout used for getpartymember and getguildmember commands).
Edited by GmOceanLink to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.