21 December 2014

The getscriptdialogs returns a CSV list of pending script dialogs.

CommandRequired ParametersRequired Corrade PermissionsExample
getscriptdialogsgroup, passwordinteract
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Retrieves all pending script dialogs
            "command", "getscriptdialogs",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "callback", wasURLEscape(URL)
        ]
    )
);

The CSV list of retrieved script dialogs contains, in order:

  1. the message of the dialog.
  2. the first name of the sending owner.
  3. the last name of the sending owner.
  4. the owner UUID.
  5. the channel on which the dialog was sent.
  6. the name of the object.
  7. the item UUID.
  8. the dialog UUID.
  9. a list of button names.

Some of the returned parameters in the CSV list are the ones needed by the replytoscriptdialog command in order to reply to a script dialog.