BBot - The best bot of the world
Spears - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Requests (https://forums.bmega.net/forum-17.html)
+--- Thread: Spears (/thread-5466.html)



Spears - assae - 11-20-2012

I need script which is picking up spears from ground if i have less than 10 in hand.

I hunt on trolls and drop spears into ground so its almost everywhere.

Or.. It would be better if it drop spears from corpses of trolls if i have less than 10 in hand.

Much thanks,
Assae


RE: Spears - spiff26 - 11-20-2012

Code:
1000 {EquipSpear} Self.Inventory.LeftHand()==3277 Self.Inventory.LeftHand.Count()<=10 X:=Self.X() Y:=Self.Y() Z:=Self.Z() Map.PickUpEx(3277, 1, 0, !X!, !Y!, !Z!, 2) Self.Equip.LeftHand(3277)



RE: Spears - assae - 11-23-2012

Thanks bro Big Grin