- added '/details wipe' slash command.

This commit is contained in:
Tercio
2015-08-11 17:11:46 -03:00
parent fb6620c9e5
commit 48f0f2ec26
5 changed files with 131 additions and 11 deletions
+4 -1
View File
@@ -17,7 +17,10 @@ function SlashCmdList.DETAILS (msg, editbox)
local command, rest = msg:match("^(%S*)%s*(.-)$")
command = string.lower (command)
if (command == Loc ["STRING_SLASH_NEW"] or command == "new") then
if (command == Loc ["STRING_SLASH_WIPE"] or command == "wipe") then
_detalhes:CallWipe (true)
elseif (command == Loc ["STRING_SLASH_NEW"] or command == "new") then
_detalhes:CriarInstancia (nil, true)
elseif (command == Loc ["STRING_SLASH_HISTORY"] or command == "history") then