31 July 2019

6 August 2015

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).

CommandRequired ParametersRequired Corrade PermissionsExample
getprimitivepaypricesgroup, password, iteminteract
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 ParameterPossible ValueDescription
rangeA 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.

Notes