$rank[name;user?]
The place of a user on the leaderboard of a variable. 0 if their value is not a number.
Values
name- The name of a variable from the Variables page.
user- Optional. A mention or ID, you if empty.
Example
You are number $rank[coins] on the leaderboard.
You are number 2 on the leaderboard.