9 November 2016

21 August 2016

17 June 2016

21 December 2014

The replytoscriptdialog command can click a button on a dialog pop-up. The dialog data from where the required parameters can be retrieved is given by the dialog notification using the notify command.

CommandRequired ParametersRequired Corrade PermissionsExample
replytoscriptdialoggroup, password, actioninteract
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // Reply to a script dialog by
            // pressing a button.
            "command", "replytoscriptdialog",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // reply to a dialog
            "action", "reply",
            // the name of the button to press
            "button", "Menu",
            // the dialog UUID
            "dialog", "35afb3f-0cf5-4ab6-9364-11a9f3df1148",
            "callback", wasURLEscape(URL)
        ]
    )
);
ParameterPossible ValueRequired ParameterPossible ValueDescription
actionreplybutton or indexEither the button label or the index of a button on the dialog.Reply to a script dialog.
dialogThe UUID of the dialog.
ignoredialogThe UUID of the dialog.Ignore a dialog.
purgePurge all tracked dialogs.

Notes