- added '/details wipe' slash command.
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user