BBot - The best bot of the world
Spider Web - How to destoy it by bot? - 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: Spider Web - How to destoy it by bot? (/thread-13876.html)



Spider Web - How to destoy it by bot? - foxfamily1500 - 02-04-2014

Like in subject. I need some macro maybe. I use warrior's axe.


RE: Spider Web - How to destoy it by bot? - Nobody93 - 02-04-2014

Code:
X:=Self.X()
Y:=Self.Y()
Z:=Self.Z()
weapon:=Self.Inventory.LeftHand()
Map.UseOn(!weapon!, SPIDER_WEB_ID, !X!, !Y!, !Z!, 2)

u must have a weapon in left hand(<--). Don't forget change SPIDER_WEB_ID.
If I helped u, please rep me. Good Luck!


RE: Spider Web - How to destoy it by bot? - foxfamily1500 - 02-04-2014

Thank you VEEEEERY MUCH! Smile



Map.UseOn(!weapon!, SPIDER_WEB_ID, !X!, !Y!, !Z!, 2)


what is with that 2? How can I know what I have to type here?


RE: Spider Web - How to destoy it by bot? - Nobody93 - 02-04-2014

(02-04-2014, 10:58 PM)foxfamily1500 Wrote: Thank you VEEEEERY MUCH! Smile



Map.UseOn(!weapon!, SPIDER_WEB_ID, !X!, !Y!, !Z!, 2)


what is with that 2? How can I know what I have to type here?

It's a distance from item Smile. You can change this to 1 if u are sure that u will stay next to spider web