> For the complete documentation index, see [llms.txt](https://changelog.matrixemulator.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://changelog.matrixemulator.com/welcome/server/muserver/data/custom/customtop.md).

# CustomTop

<mark style="color:green;">Registers the ranking "nicknames" used by the in-game Top command (e.g.,</mark> <mark style="color:green;"></mark><mark style="color:green;">`/top rr`</mark><mark style="color:green;">), linking each nickname to a query index that runs on the database (stored procedure</mark> <mark style="color:green;"></mark><mark style="color:green;">`WZ_CustomTop`</mark><mark style="color:green;">).</mark>

```
//Index	Command	Title
1	"rr"	"TOP RR"
2	"mr"	"TOP MR"
end
```

| **Column** | **Accepted values**     | **What it is**                                                                                 |
| ---------- | ----------------------- | ---------------------------------------------------------------------------------------------- |
| Index      | Number                  | Index sent to the database — it tells the `WZ_CustomTop` procedure which ranking to calculate. |
| Command    | Text in quotation marks | Word that the player types after the command (e.g., `/top rr`).                                |
| Title      | Text in quotation marks | Title displayed above the ranking list.                                                        |

### <mark style="color:yellow;">Notes</mark>

* What each `Index` actually means (which data is ranked, the order, filters) is completely defined by the `WZ_CustomTop` procedure in the database, not by this file — here you only register the chat shortcut and the displayed title.
* The `Command` is case-insensitive.
