18 December 2014

The getgridregiondata command gets information about any grid region following the libopenmetaverse GridRegion structure.

CommandRequired ParametersRequired Corrade PermissionsExample
getgridregiondatagroup, password, dataland
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "getgridregiondata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // get the number of agents and
            // the water height for the region
            // named "Puget Sound" and return
            "region", "Puget Sound",
            "data", wasListToCSV(
                [
                    "Agents",
                    "WaterHeight"
                ]
            ),
            // sent to URL
            "callback", wasURLEscape(URL)
        ]
    )
);

The data parameter is supplied a CSV list of fields and properties of a libopenmetaverse GridRegion structure, including any sub-structures.

Optional ParametersPossible ValueDescription
regionThe name of a region on the grid.If this parameter is not specified, Corrade assumes the current region.