BBot - The best bot of the world
Need change weapon - 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: Need change weapon (/thread-16436.html)



Need change weapon - Cenas - 10-21-2014

Hey someone can tell me how i gunt with 1 bright sword then when is to kill Ghost equip fire sword, and when kill ghots equip bright again?


RE: Need change weapon - Bbotone - 10-23-2014

im not good with creature commands because im not sure how they work, try this on an auto macro:
---
Self.Health()
att:=Creature.Attacking()
Creature.NameIn(!att!, Ghost)==1 [notghost]
Self.Inventory.LeftHand()<>IDFIRESWORD
Self.Equip.LeftHand(IDFIRESWORD)
Exit
{notghost}
Self.Inventory.LeftHand()<>IDBRIGHTSWORD
Self.Equip.LeftHand(IDBRIGHTSWORD)
---
replace IDFIRESWORD and IDBRIGHTSWORD with respective id