7 June 2015
region
parameter.getprimitiveowners (Commands) | |
---|---|
Type | Corrade progressive command |
Command | getprimitiveowners |
Description | The getprimitiveowners command allows you to query the number of primitives and the avatars that own them on the current parcel or the entire region. |
Permissions | land |
Parameters | group , password |
Last Changes | Release 8.22 - added the optional region parameter. |
The getprimitiveowners
command allows you to query the number of primitives and the avatars that own them on the current parcel or the entire region. To query a specific parcel, you supply a vector to the position
parameter which is a position within the parcel to query. Otherwise, if the position
parameter is not supplied, Corrade assumes that you are querying the entire region.
Command | Required Parameters | Required Corrade Permissions | Required Group Abilities | Example |
---|---|---|---|---|
getprimitiveowners | group , password | land | * Parcel Content→Return objects owned by group * Parcel Content→Return objects set to group * Parcel Content→Return non-group objects | llInstantMessage(CORRADE, wasKeyValueEncode( [ // retrieve the owners of primitives // on the current region (all parcels) "command", "getprimitiveowners", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "callback", wasURLEscape(URL) ] ) ); |
Optional Parameters | Description |
---|---|
position | A vector within the bounds of the parcel to query for owners and their primitives. |
region | Attempt to perform the command on the specified region. Note that Corrade must be connected to that region. If in doubt, please use the getconnectedregions command to determine whether the region you want to specify is currently connected. |
The command returns a CSV list of owner names, by owner UUIDs, by total primitive count.