3 December 2021
<data Commands>
Type: Corrade progressive command
Command[wiki]: batchgroupnametokey
Description[wiki]: The batchgroupnametokey
command can be used to resolve multiple group names to group keys.
Permissions[wiki]: interact
Parameters[wiki]: group
, password
, groups
Last Changes[wiki]: C11 - added.
</data>
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.