diff --git a/chatcommands.lua b/chatcommands.lua index cf025e6..ed25a2b 100644 --- a/chatcommands.lua +++ b/chatcommands.lua @@ -48,8 +48,10 @@ end core.register_chatcommand( "snowball", { - params = "opt-out|opt-in|hud", - description = "Opt-out or opt-in from the snowball games. Hide/show game HUD", + --params = "opt-out|opt-in|hud", + --description = "Opt-out or opt-in from the snowball games. Hide/show game HUD", + params = "opt-out|opt-in", + description = "Opt-out or opt-in from the snowball games.", privs = {}, func = function(player_name, param) if param == "opt-out" then @@ -58,9 +60,10 @@ core.register_chatcommand( elseif param == "opt-in" then local res = set_player_participation(player_name, true) return true, "You opt-in into snowball games." - elseif param == "hud" then - + -- elseif param == "hud" then + -- return false, "Not implemented yet, sorry." end + return false, "Please specify 'opt-in' or 'opt-out' argument." end } )