Buy a Primitive

31 July 2019

  • C10 - added the selection optional parameter.

6 August 2015

  • Release 8.30 - added.
primitivebuy (Commands)
TypeCorrade progressive command
Commandprimitivebuy
DescriptionThe primitivebuy command can be used to buy a primitive.
Permissionsinteract, economy
Parametersgroup, password, item
Last ChangesRelease 8.30 - added.

The primitivebuy command can be used to buy a primitive.

Command Required Parameters Required Corrade Permissions Example
primitivebuy group, password, item interact, economy
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Buy the primitive named desk
            // that can be found in a 4 meters
            // range from Corrade.
            "command", "primitivebuy",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "desk",
            "range", 4
        ]
    )
);
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.

secondlife/scripted_agents/corrade/api/commands/primitivebuy.txt ยท Last modified: 2022/11/24 07:45 by 127.0.0.1

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


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