BBot - The best bot of the world
I need a macro to change the items in the left hand. - 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: I need a macro to change the items in the left hand. (/thread-19962.html)



I need a macro to change the items in the left hand. - guiiih13 - 05-30-2016

Hello friends, I was in need of a macro that when he was no monster on the screen, equip the item 9396 in the left hand, and when he had a monster on the screen, equip the item 7403 in the left hand. I would be very grateful if someone manages to make a macro so.


RE: I need a macro to change the items in the left hand. - erleo - 06-17-2016

Try that:
[macro]1000 {Change Weapon} Creatures.NPCOnScreen()==0 [Else] Misc.ItemCountEx(9396)==1 Self.Equip.LeftHand(9396) Exit() {Else} Creatures.NPCOnScreen()>=1 Misc.ItemCountEx(7403) Self.Equip.LeftHand(7403) Exit()[/macro]