/trunk/zz_AltMail
}, |
}, |
['Cloth'] = { |
['Ritalein-Tirion'] = { |
['Rilgana-Tirion'] = { |
['order'] = 1, |
['skip'] = {}, |
['skip'] = {"Ritalein-Tirion"}, |
}, |
}, |
['Elemental'] = { |
}, |
['Armor'] = { |
['Plate'] = { |
['Drilane-Durotan'] = { |
['Rilgana-Tirion'] = { |
['order'] = 1, |
['skip'] = {}, |
}, |
}, |
['Cloth'] = { |
['Drilane-Durotan'] = { |
['Rilgana-Tirion'] = { |
['order'] = 1, |
['skip'] = {}, |
}, |
}, |
['Leather'] = { |
['Drilane-Durotan'] = { |
['Rilgana-Tirion'] = { |
['order'] = 1, |
['skip'] = {"Rilgalyco-Tirion"}, |
}, |
}, |
}, |
['Enchanting'] = { |
['Rosander-Thrall'] = { |
['Gurnsey-Thrall'] = { |
['order'] = 1, |
['skip'] = {}, |
}, |
}, |
['Cooking'] = { |
['Alesandro-Thrall'] = { |
['Gurnsey-Thrall'] = { |
['order'] = 1, |
['skip'] = {}, |
}, |
if(itemName) then |
itemType = LibBabbleDBR[itemType] |
itemSubType = LibBabbleDBR[itemSubType] |
-- print(itemType.."-"..itemSubType.."-"..itemLink) |
if(sendouttable[realm] and sendouttable[realm][itemType] and sendouttable[realm][itemType][itemSubType]) then |
local tmp = sendouttable[realm][itemType][itemSubType] |
sort(tmp, function(a,b) |
local itemName, itemLink, itemRarity, itemLevel, itemMinLevel, itemType, itemSubType, itemStackCount, |
itemEquipLoc, itemTexture, itemSellPrice = GetItemInfo(itemLink) |
if(itemName) then |
--print(itemType .. "-" .. itemSubType.."-"..itemLink.."\n") |
tab[itemType] = tab[itemType] or {} |
tab[itemType][itemSubType] = tab[itemType][itemSubType] or {} |
tab[itemType][itemSubType][#tab[itemType][itemSubType] + 1] = { |
end |
local mailout = {} |
for k,v in pairs(tab) do |
local t = LibBabbleDBR[k] |
local t = LibBabbleDBR[k] |
if(t) then |
-- print(t .. "-" ..k) |
for c,d in pairs(v) do |
local target |
local count = 0 |
end |
end |
end |
else |
-- print(k) |
end |
end |
mailout[GetUName()] = nil |
## Interface: 70000 |
## Interface: 70200 |
## Title: zz AltMail |
## Notes: Automated mailing |
## Author: Rilgamon |