31 July 2019

6 August 2015

The primitivebuy command can be used to buy a primitive.

CommandRequired ParametersRequired Corrade PermissionsExample
primitivebuygroup, password, iteminteract, 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 ParameterPossible ValueDescription
rangeA range in meters.The spherical distance from Corrade in which to locate the item.
selectionattached, 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.