Grant Friend Rights

grantfriendrights (Commands)
TypeCorrade progressive command
Commandgrantfriendrights
DescriptionThe grantfriendrights command grants friendship-rights such as the ability to see the online status, the ability to be tracked on the map and the ability to modify the bot's objects to a friend specified by firstname and lastname (or agent by UUID).
Permissionsfriendship
Parametersgroup, password, firstname, lastname (or agent by UUID), rights
Last Changesnone

The grantfriendrights command grants friendship-rights such as the ability to see the online status, the ability to be tracked on the map and the ability to modify the bot's objects to a friend specified by firstname and lastname (or agent by UUID).

Command Required Parameters Required Corrade Permissions Example
grantfriendrights group, password, firstname, lastname (or agent by UUID), rights friendship
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // allow Big Betty to see the
            // bot's online status and to
            // be able to map the bot.
            "command", "grantfriendrights",
            "group", wasURLEscape(GROUP),
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Big",
            "lastname", "Betty",
            "rights", wasListToCSV([
                "CanSeeOnline",
                "CanSeeOnMap"
            ]),
            "password", wasURLEscape(PASSWORD)
        ]
    )
);

The rights parameter takes a CSV list of FriendRights. Note that the full set of rights have to specified and in order to remove a right, the same command has to be sent with the rights parameter set to the rights that should be enabled.