Given map-tracking permissions from a friend that is currently online and friendship Corrade permissions, the mapfriend command will return a CSV list of region name and region position of the friend to be mapped.

CommandRequired ParametersRequired Corrade PermissionsExample
mapfriendgroup, password, firstname, lastname (or agent by UUID)friendship
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // return the current region
            // and position within the region
            // of the friend named Taz Whirlwind
            "command", "mapfriend",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // or "agent", "69ce412b-dffc-436d-86ff-d788bfa66d9d"
            "firstname", "Taz",
            "lastname", "Whirlwind",
            "callback", wasURLEscape(URL)
        ]
    )
);