Just put this script on Scripter > Persistent > Add New Script > Enabled.
Just go to depot of any city and enable this script.
The script will open depot and the CONTAINER you set to open and start to sorter.
WARNING: Don't put CONTAINER with the same another you need to put loot sorter!
init start
local CONTAINER = 22797 -- the container you want to clean! 22797 = depot box I ; 22798 = depot box II ; etc
local RASHID_POS = 22799
local GREENDJINN_POS = 22800
local BLUEDJINN_POS = 22801
local ADDON_POS = 22802
local YASIR_POS = 22803
local TELAS_POS = 22804
local POTION_POS = 22805
local JEWELRY_POS = 22806
local EDRON_POS = 22807
local GNOMISSION_POS = 22808
local ROCK_IN_A_HARD_PLACE_POS = 22809
local FARMINE_POS = 22809
local GRIZZLYADAMS_POS = 22810
local TAMORIL_POS = 22811
local BRENGUS_POS = 22812
local FLINT_POS = 22813
local MUGRUU_POS = 22813
local GLADIS_POS = 22813
local ALAISTAR_POS = 22813
if windowcount() ~= 2 then
minimizewindows('equip') wait(1000)
closewindows() wait(1000)
opendepot(true) wait(1000)
openitem(3502) wait(1000)
openitem(CONTAINER,3502,true) wait(1000)
resizewindows(300) wait(1000)
end
local contagem = 0
while contagem < 10 do
for name, section in pairs(sections) do
for _, item in ipairs(section.items) do
while itemcount(item, CONTAINER) > 0 do
moveitemsonto(item, section.position, 1, "Depot Chest", CONTAINER, 100)
end
end
end
contagem = contagem + 1
end
nextpage(1) wait(1000)
04-07-2016, 04:50 AM
SuNe
Nice one =) Gonna try it out later when im home after work.
05-04-2016, 01:15 PM
eduardobpabreu
Perfect!
05-15-2016, 06:46 AM
Nitro
Could you add rafzan?
05-15-2016, 08:58 PM
vinizera
Perfect! Thanks, mate!
05-25-2016, 12:55 AM
broedrost
Can the CONTAINER be a backpack inside a depot? Or does the loot have to be in a specific depot box?
06-11-2016, 08:17 PM
Xantiv
i dont know why but the first time i used it it worked fine, second time, it just works for a few min then stops and try to scroll down, any idea why?
07-17-2016, 09:42 PM
Tijiv
been looking for this kind of loot sorter, should be most practical script (this kind) on forum ;) +rep
07-21-2016, 11:12 PM
lipexh
I had problem with few itens, i was trying to use it with "your inbox", but I made some stuff manual and worked, thx mate ;)
07-27-2016, 10:44 AM
Tijiv
Quote:
Originally Posted by broedrost
Can the CONTAINER be a backpack inside a depot? Or does the loot have to be in a specific depot box?
Got same question, at this moment I had to add 3 small script which I use after sorting - moving items to specific backpack which I carry to npc