26 January 2021

This command starts a directory search and returns the request UUID to be matched later with the directory notification when retrieving data.

CommandRequired ParametersRequired Corrade PermissionsExample
directoryquerygroup, password, type, name1)directory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "directoryquery",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "type", "event",
            "name", "hunt",
            "callback", wasURLEscape(URL)
        ]
    )
);
ParameterPossible ValuesDescription
typeclassified, event, group, land, people, placesThe directory search type.
ParameterPossible ValuesOptional ParameterStructureExample
typeclassifiedClassified
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "directoryquery",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "type", "classified",
            "name", "hunt",
            "callback", wasURLEscape(URL)
        ]
    )
);
nameA string to search the name by.
eventEvent Search Data
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "directoryquery",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "type", "event",
            "name", "hunt",
            "callback", wasURLEscape(URL)
        ]
    )
);
nameA string to search the name by.
groupdataGroup Search Data
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "directoryquery",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "type", "group",
            "name", "Wizardry",
            "callback", wasURLEscape(URL)
        ]
    )
);
nameA string to search the name by.
landDirectory Parcel
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "directoryquery",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "type", "land",
            "page", 1,
            "callback", wasURLEscape(URL)
        ]
    )
);
flagsOptional land find flags. Assumed to be set to SortAsc if not supplied.
searchOptional search type flags. Assumed to be set to Any if not supplied.
priceAn optional maximum price to search land parcels by.
areaAn optional minimum land area to search parcels by.
pageA required parameter as the index of the data returned (please see the Notes section).
peopledataAgent Search Data
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "directoryquery",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "type", "people",
            "name", "Roger",
            callback", wasURLEscape(URL)
        ]
    )
);
nameA string to search the name by.
placesDirectory Parcel
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "directoryquery",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "type", "place",
            "name", "love",
            "callback", wasURLEscape(URL)
        ]
    )
);
nameA string to search the name by.

The returned value is a query UUID that can be used to isolate the results returned by the directory notification.

Notes


1) The name parameter is optional for classified and event search type but required for all other search types.