table copy improvements

This commit is contained in:
Tercio Jose
2022-03-09 16:02:55 -03:00
parent 92e138ed09
commit ade373ff10
5 changed files with 76 additions and 35 deletions
+15
View File
@@ -168,6 +168,21 @@ function SlashCmdList.DETAILS (msg, editbox)
elseif (command == "discord") then
_detalhes:CopyPaste ("https://discord.gg/AGSzAZX")
elseif (command == "exitlog") then
local newT = {}
for _, str in ipairs(_detalhes_global.exit_log) do
newT [#newT+1] = str
end
newT [#newT+1] = ""
for _, str in ipairs(_detalhes_global.exit_errors) do
newT [#newT+1] = str
end
Details:Dump(newT)
elseif (command == "debugwindow") then