Set Sale Information

19 May 2015

  • Release 8.12 - range is now an optional parameter and not required to locate the item.
setobjectsaleinfo (Commands)
TypeCorrade progressive command
Commandsetobjectsaleinfo
DescriptionThe setobjectsaleinfo allows to set an object for sale with a specific SaleType.
Permissionsinteract
Parametersgroup, password, item, price, type
Last ChangesRelease 8.12 - range is now an optional parameter and not required to locate the item.

The setobjectsaleinfo allows to set an object for sale with a specific SaleType.

Command Required Parameters Required Corrade Permissions Example
setobjectsaleinfo group, password, item, price, type interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // set the Chair for sale
            // to L$100 and sell copies
            // of this chair
            "command", "setobjectposition",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "Chair",
            "range", 5,
            "price", 100,
            "type", "Copy"
        ]
    )
);
Optional Parameter Possible Value Description
range A range in meters. The spherical distance from Corrade in which to locate the item.

Notes