-buy all the supplies
foreach supplyitem i 'a' do
buyitemsupto(i.id, i.uptocount)wait(500, 1000)
end
Someone can change it to when the bot buy any potions and if in mainbp there will be more than > 0 potions any category 'a' then it will move it first to potionbp and later buy next one ?, on standard libraries
Add this function in a persis. hotkey:
function buyItemsAndMove(bpToMove, itemName, Amount, CurrentAmount)
bpMain = $back.id
CurrentAmount = CurrentAmount or itemcount(itemName)
if not $tradeopen then
opentrade()
waitping()
end
Amount = Amount-CurrentAmount
while Amount > 0 do
buyitems(itemName, Amount)
waitping(2, 4)
moveitems(itemName, bpToMove, bpMain)
waitping()
end
end
Then change your action:
foreach supplyitem i 'a' do
buyItemsAndMove(mainbp, i.id, i.uptocount)
waitping()
end
Last edited by Donatello; 12-16-2013 at 03:09 AM. Reason: Fixed
Checked, its standing with npc and not even buying manas
Regards
Last edited by Dworak; 12-15-2013 at 09:27 PM.
Anti-Stalker hotkey?
check if got hit by stalker and none stalker on screen then use a magic or rune
How would I make it use a blessed stake on dead vamp
hotkey for use a lever ?? i was looking for it at libraries but nothing like usegrounditemid