$userLeaderboard
Generates a leaderboard of a user variable and return it.
$userLeaderboard[variable;asc/desc (optional);{top}.- {username} - {value};list (optional, max=40);page (optional)]
Usage: Available Variables:
Variable | Description |
---|---|
{top} | returns the rank number |
{value} | returns the numerical value of the variable |
{raw_value} | returns the raw value in case it's not number |
{id} | returns the user id |
{mention} | returns the user mention |
{username} | returns the username |
{nickname} | returns the nickname |
{tag} | returns the tag like Mido#1234 |
{discriminator} | returns the discriminator like 1234 |
Order:
desc
: Will display all the members' ranks from largest to smallest.asc
: Will display all the members' ranks from smallest to largest.
Example:
To use this function your uservar must have numeric values .
Related Functions
Check out: $setUserVar
Check out: $getUserVar
Check out: $deleteUserVar
Check out: $resetUserVar