Загрузить файлы в «/»

This commit is contained in:
Ade
2026-10-14 02:33:00 +00:00
parent 9309da65ca
commit 82b9bf2e03
3 changed files with 104 additions and 4 deletions
+11 -1
View File
@@ -249,6 +249,16 @@ SlashCmdList["PROFCD"] = function(msg)
AA.Print("stored " .. key .. ": " .. (exp > 0 and (AA.FormatTime(exp - time()) .. " left") or "ready"))
end
AA.Print("file sync: " .. ((ImportFile and ExportFile) and "on" or "off"))
elseif cmd == "bags" then
for bag = 0, 10 do
local nm = GetBagName and GetBagName(bag)
local inv = ""
if bag >= 1 and bag <= 4 then inv = tostring(ContainerIDToInventoryID(bag))
elseif bag >= 5 and BankButtonIDToInvSlotID then inv = tostring(BankButtonIDToInvSlotID(bag - 4, 1)) end
local l = inv ~= "" and GetInventoryItemLink("player", tonumber(inv)) or nil
local _, _, ln = string.find(l or "", "%[(.-)%]")
AA.Print("bag " .. bag .. ": name=" .. tostring(nm) .. " slots=" .. tostring(GetContainerNumSlots(bag)) .. " invslot=" .. inv .. " link=" .. tostring(ln))
end
elseif cmd == "reset" then
for k in pairs(AA.me.cds) do AA.me.cds[k] = 0 end
AA.dirty = true
@@ -265,7 +275,7 @@ SlashCmdList["PROFCD"] = function(msg)
AA.Print("removed " .. n .. " character(s).")
AA.Refresh()
else
AA.Print("/ade - alts window | cd (cooldowns) | find <item> | list | sync | scan | status | debug | export | import | minimap | alert | reset | del <name>")
AA.Print("/ade - alts window | cd (cooldowns) | find <item> | list | sync | scan | status | debug | bags | export | import | minimap | alert | reset | del <name>")
end
end