31 July 2019
selection
optional parameter.6 August 2015
<data Commands>
Type: Corrade progressive command
Command[wiki]: getprimitivepayprices
Description[wiki]: The getprimitivepayprices
command can be used to query the set pay prices for a primitive (commonly, those are the pay buttons that you find in the pop-up floater when you click to buy an object).
Permissions[wiki]: interact
Parameters[wiki]: group
, password
, item
Last Changes[wiki]: Release 8.30 - added.
</data>
The getprimitivepayprices
command can be used to query the set pay prices for a primitive (commonly, those are the pay buttons that you find in the pop-up floater when you click to buy an object).
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
getprimitivepayprices | group , password , item | interact | llInstantMessage(CORRADE, wasKeyValueEncode( [ // Get the primitive pay prices for // an item by UUID that is in a 5 // meters range from Corrade and // send the result to the callback. "command", "getprimitivepayprices", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "item", "desk", "range", "4", "callback", wasURLEscape(URL) ] ) ); |
Optional Parameter | Possible Value | Description |
---|---|---|
range | A range in meters. | The spherical distance from Corrade in which to locate the item. |
The command returns a CSV list of pay-prices that are usually to be found on the floater pop-up of a purchasable item with the default price (the price that the buyer requests) being placed first in the CSV list.