Usage
$userLeaderboard[;;;;;;;]Arguments
| Name | Type | Required | Description |
|---|---|---|---|
name | String | Yes | The name of the variable |
sort type | No | The sort type for the leaderboard, either asc (ascending) or desc (descending) | |
max | Number | No | The maximum number of rows per page |
page | Number | No | The page number |
separator | String | No | The separator to use for each row |
envValue | String | No | The variable name to use for $env. Retrieve the id with $env[<name>;id] and the value with $env[<name>;value] |
envPosition | String | No | The variable name to use for $env. Retrieve the position with $env[<name>] |
code | String | No | Code to execute for each row. Remember to use $return, otherwise it will not return anything. |
Output
String