getregiontop (Commands) | |
---|---|
Type | Corrade progressive command |
Command | getregiontop |
Description | The getregiontop command gets the current region top scripts or colliders. |
Permissions | land |
Parameters | group , password , type |
Last Changes | none |
The getregiontop
command gets the current region top scripts or colliders.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
getregiontop | group , password , type | land | llInstantMessage(CORRADE, wasKeyValueEncode( [ "command", "getregiontop", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), "type", "scripts", "callback", wasURLEscape(URL) ] ) ); |
Parameter | Possible Values | Description |
---|---|---|
type | scripts | Get region top scripts. |
colliders | Get region top colliders. |
The command also supports an optional parameter called amount
which represents the amount of top scripts or colliders to return. If the amount
parameter is not supplied, then only the first 5
tasks will be returned.
The data returned to the URL
is a CSV
-list for every top script or collider (also called a task), sorted by its score and the data is returned in the following order:
UUID
of the task.