We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0ff9e3 commit 5bd09b4Copy full SHA for 5bd09b4
mods/ctf_stats/gui.lua
@@ -253,6 +253,13 @@ local function send_as_chat_result(to, name)
253
return true, result
254
end
255
256
+minetest.register_chatcommand("r", {
257
+ description = "Display your rankings as a chat result.",
258
+ func = function(name, param)
259
+ return send_as_chat_result(name, name)
260
+ end
261
+})
262
+
263
minetest.register_chatcommand("rankings", {
264
params = "[<name>]",
265
description = "Display rankings of yourself or another player.",
0 commit comments