Batch Set Parcel List

25 February 2017

  • Release 9.157 - added.
batchsetparcellist (Commands)
TypeCorrade progressive command
Commandbatchsetparcellist
DescriptionThe batchsetparcellist command can be used to set multiple avatars on the allow or ban list of a specified parcel.
Permissionsland
Parametersgroup, password, avatars, type, action
Last ChangesRelease 9.157 - added.

The batchsetparcellist command can be used to set multiple avatars on the allow or ban list of a specified parcel.

Command Required Parameters Required Corrade Permissions Required Group Abilities Example
batchsetparcellist group, password, avatars, type, action land * When setting the allow list: Parcel Access->Manage parcel Access lists
* When setting the ban list: Parcel Access->Manage parcel Ban lists
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Set multiple avatars on the
            // allow list on the parcel
            // underneath the point vector
            // <57, 10, 0>
            "command", "batchsetparcellist",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "position", <57, 10, 0>,
            "action", "add",
            "type", "Access",
            "avatars", wasListToCSV(
                [
                    "Drone Resident",
                    "Zorma Burningbringer",
                    "e85e840e-8ba5-4209-989d-1b510b7aeaa0"
                ]
            ),
            "callback", wasURLEscape(callback)
        ]
    )
);
Parameter Possible Value Description
type Access Set the allow list.
Ban Set the ban list.
Both Set both the access and the ban list.
Optional Parameters Possible Value Description
position A vector. A position over a parcel, or, if not specified, the affected parcel is the one that Corrade is currently on.
region A string representing a region name. Attempt to perform the command on the specified region. Note that Corrade must be connected to that region. If in doubt, please use the getconnectedregions command to determine whether the region you want to specify is currently connected. If the region is not specified, then Corrade assumes that the region is the region that Corrade is currently on.

Notes

  • Adding an avatar to both the allow and the ban list is undefined - the protocol will allow it but it is not certain what effect it will have.
  • If you need just a single avatar on the ban list, you can use the setparcellist command.
  • This command is unchecked by Corrade - the package is sent but whether the avatars were added or not is uncertain. To be sure, please use the getparcellist command to retrieve the list of avatars.
  • Any avatars that could not be added, will be returned as a CSV list passed to the callback via the data key.

secondlife/scripted_agents/corrade/api/progressive/commands/batchsetparcellist.txt ยท Last modified: 2017/02/25 13:40 by Wizardry and Steamworks

Access website using Tor


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