3 December 2021
batchgroupnametokey (Commands) | |
---|---|
Type | Corrade progressive command |
Command | batchgroupnametokey |
Description | The batchgroupnametokey command can be used to resolve multiple group names to group keys. |
Permissions | interact |
Parameters | group , password , groups |
Last Changes | C11 - added. |
The batchgroupnametokey
command can be used to resolve multiple group names to group keys.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
batchgroupnametokey | group , password , groups | inventory | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "batchgroupnametokey", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // resolve the following group keys "groups", wasListToCSV( [ "[Wizardry and Steamworks]:Announce", "[Wizardry and Steamworks]:Support", wasURLEscape("Chocolate & Milk") ] ), // send the results to this URL "callback", wasURLEscape(URL) ] ) ); |
The command will returns a CSV list of group names by keys - it is not guaranteed that a name could be resolved, in which case, the results will not contain the name and the resolved key.