Get Pending Script Dialogs

21 December 2014

  • Release 7.34 - added.
getscriptdialogs (Commands)
TypeCorrade progressive command
Commandgetscriptdialogs
DescriptionThe getscriptdialogs returns a CSV list of pending script dialogs.
Permissionsinteract
Parametersgroup, password
Last ChangesRelease 7.34 - added.

The getscriptdialogs returns a CSV list of pending script dialogs.

Command Required Parameters Required Corrade Permissions Example
getscriptdialogs group, password interact
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.