Set Configuration Data

1 September 2015

  • Release 9.0 - added.

<data Commands> Type: Corrade progressive command Command[wiki]: setconfigurationdata Description[wiki]: The setconfigurationdata command allows you to set parameters in Corrade's configuration file. All the data parameters are taken as the values of the elements in the Corrade.ini file. Permissions[wiki]: system Parameters[wiki]: group, password Last Changes[wiki]: Release 9.0 - added. </data>

The setconfigurationdata command allows you to set parameters in Corrade's configuration file. All the data parameters are taken as the values of the elements in the configuration file.

Command Required Parameters Required Corrade Permissions Example
setconfigurationdata group, password system
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // enable AIML
            "command", "setconfigurationdata",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "data", wasURLEscape(
                wasListToCSV(
                    [
                        "EnableSIML",
                        "True"
                    ]
                )
            ),
            "callback", wasURLEscape(URL)
        ]
    )
);