[TFS 1.x] Comando /save Autor: Majesty Servidor testado: TFS 1.2 Versão 10.98 Comando para salvar o servidor. Em talkactions/scripts crie um arquivo chamado save.lua com o seguinte código: function onSay(player, words, param) if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end saveData() player:sendTextMessage(MESSAGE_STATUS_CONSOLE_BLUE, "Server Saved.") return false end Em talkactions.xml coloque a seguinte tag: <talkaction words="/save" script="save.lua" />