function onSay(player, words, param) if player:getGroup():getId() < 3 then return false end if param == "shutdown" then Game.setGameState(GAME_STATE_SHUTDOWN) else Game.setGameState(GAME_STATE_CLOSED) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Server is now closed.") end return false end