diff --git a/commands.lua b/commands.lua index 4cd8c4c..cf0ed14 100644 --- a/commands.lua +++ b/commands.lua @@ -58,6 +58,12 @@ ChatCmdBuilder.new("wormball", function(cmd) end) + cmd:sub("showleaderleaderboard :arena :p_name", function(name, arena, p_name) + if not wormball.show_singleplayer_leaderboard( arena , p_name ) then + return "Invalid usage: please specify a valid wormball arena name to view its leaderboard." + end + end) + end, { description = [[