Get the Pay Price Buttons for a Primitive

31 July 2019

  • C10 - added the selection optional parameter.

6 August 2015

  • Release 8.30 - added.
getprimitivepayprices (Commands)
TypeCorrade progressive command
Commandgetprimitivepayprices
DescriptionThe 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).
Permissionsinteract
Parametersgroup, password, item
Last ChangesRelease 8.30 - added.

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.
selection attached, rezzed or all (default: all) Either attached, rezzed or all for selecting only primitives or objects attached to avatars, primitives or objects rezzed in-world or all primitives or objects respectively.

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.


secondlife/scripted_agents/corrade/api/commands/getprimitivepayprices.txt ยท Last modified: 2020/09/04 06:44 (external edit)

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the copyright, license, warranty and privacy terms for the usage of this website please see the license, privacy, copyright and the plagiarism pages.