06-25-2019, 09:54 PM
Guys pls help me i need 2 scripts to make me afk scripts
1: Deposit itens on depot o try to use this script but don`t working for me , i dont no
Code:
2: IF need pick up ultimate healing runes on depot and drag to main backpack
1: Deposit itens on depot o try to use this script but don`t working for me , i dont no
Code:
local CHARACTER_LOOT_BP = 'backpack'
local DEPOSITER_LOOT_MAIN_BP = 'green backpack'
local DEPOSITER_LOOT_ITEMS_BP = 'green backpack'
local DEPOSITER_STACKED_BP = 'yellow parcel'
local ITEMS_LOOT = { 'battle shield', 'battle shield', 'dwarven shield' }
local ITEMS_STACKED = { 'bolt', 'hunting bolt' }
reachgrounditem('depot')
wait(500)
openitem('depot')
wait(1000)
if itemcount(DEPOSITER_LOOT_MAIN_BP, 'Locker') > 0 then
local DEPOSITER_LOOT_WINCOUNT = windowcount(DEPOSITER_LOOT_MAIN_BP)
openitem(DEPOSITER_LOOT_MAIN_BP, 'Locker')
wait(1000)
if windowcount(DEPOSITER_LOOT_MAIN_BP) > DEPOSITER_LOOT_WINCOUNT then
if itemcount(DEPOSITER_LOOT_ITEMS_BP, DEPOSITER_LOOT_MAIN_BP) > 0 then
clearlastonto()
for i = 0, #ITEMS_LOOT do
while itemcount(ITEMS_LOOT[i], CHARACTER_LOOT_BP) > 0 do
moveitemsonto(ITEMS_LOOT[i], DEPOSITER_LOOT_ITEMS_BP, getlastonto(), DEPOSITER_LOOT_MAIN_BP, CHARACTER_LOOT_BP, 100)
wait(500)
end
end
end
higherwindow(DEPOSITER_LOOT_MAIN_BP)
wait(1000)
end
end
if itemcount(DEPOSITER_STACKED_BP, 'Locker') > 0 then
local DEPOSITER_STACKED_WINCOUNT = windowcount(DEPOSITER_STACKED_BP)
openitem(DEPOSITER_STACKED_BP, 'Locker')
wait(1000)
if windowcount(DEPOSITER_STACKED_BP) > DEPOSITER_STACKED_WINCOUNT then
stackitems(DEPOSITER_STACKED_BP, false)
for i = 0, #ITEMS_STACKED do
while itemcount(ITEMS_STACKED[i], CHARACTER_LOOT_BP) > 0 do
moveitems(ITEMS_STACKED[i], DEPOSITER_STACKED_BP, CHARACTER_LOOT_BP, 100)
wait(500)
end
end
end
end
2: IF need pick up ultimate healing runes on depot and drag to main backpack