7 June 2015
region
parameter and check for economy
permission.parcelbuy (Commands) | |
---|---|
Type | Corrade progressive command |
Command | parcelbuy |
Description | The parcelbuy command can be used to buy a parcel. |
Permissions | land , economy |
Parameters | group , password , position |
Last Changes | Release 8.22 - added the optional region parameter and check for economy permission. |
The parcelbuy
command can be used to buy a parcel.
Command | Required Parameters | Required Corrade Permissions | Required Group Abilities | Example |
---|---|---|---|---|
parcelbuy | group , password , item | land , economy | Parcel→Deed land and buy land for group | llInstantMessage(CORRADE, wasKeyValueEncode( [ // Buy the parcel at // <128,128,0> for the group // and do not remove the // contribution. "command", "parcelbuy", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "position", <128,128,0>, "forGroup", "True", "removecontribution", "False" ] ) ); |
Optional Parameters | Possible Value | Description |
---|---|---|
position | A vector. | A position over a parcel, or, if not specified, the affected parcel is the one that Corrade is currently on. |
forGroup | A boolean. | Whether to buy the parcel for a group (needs group deed rights). |
removecontribution | A boolean. | Whether to remove the land contribution from the group after buying a parcel. |
region | A string representing a region name. | 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. |