looking for change weapon macro - 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: looking for change weapon macro (/thread-17561.html) |
looking for change weapon macro - lanceq1337 - 06-12-2015 hello, im looking for macro that will change weapon for better when -on screen will be more than 2 monsters -on screen will be dwarf geomancer, dwarf guard or dwarf soldier i have already macro that working with this first one rule, but I need full Code: 1000 {Change Weapon} safemonster:=2 loweapon:=3271 hiweapon:=3291 Creatures.Beside()>!safemonster! [Onsafemonster] Self.Inventory.LeftHand()<>!loweapon! Self.Equip.LeftHand(!loweapon!) Exit {Onsafemonster} Self.Inventory.LeftHand()<>!hiweapon! Self.Equip.LeftHand(!hiweapon!) RE: looking for change weapon macro - damiansnk - 06-12-2015 I'm not sure 100% it's work good cuz it's my 1st that complicated macro Quote:1000 {Change Weapon} skillmob:=3 skillweap:=111 killweap:=222 id:=Creature.Attacking() Creature.NameIn(!id!, Dwarf Guard, Dwarf Geomancer, Dwarf Soldier)==00 [kill] Creatures.ByRangeName(5, Dwarf Guard)<=1 [kill] Creatures.ByRangeName(5, Dwarf Soldier)<=1 [kill] Creatures.ByRangeName(5, Dwarf Geomancer)<=1 [kill] Creatures.ByRange(5)<=!skillmob! [kill] Self.Equip.LeftHand(!skillweap!) Exit() {kill} Self.Equip.LeftHand(!killweap!) Exit() Quote:skillmob:=3 skillmob - below that count creatures in range 5 bot use training weapon skillweap - ID of your skilling weapon killweap - ID of your main weapon Creature.NameIn(!id!, Dwarf Guard, Dwarf Geomancer, Dwarf Soldier)==00 [kill] in place of Dwarfs put name of creatures witch one u wanna kill by main weapon and in lines below put their names also. seems bit advanced but it's easy to use Tell me here about your results after you'll test it. I'm planning to do huge thread with macros ready to use. Every opinion is important for me I can't test now cuz I'm on mobile broadband. €njo¥ RE: looking for change weapon macro - Kriadex - 04-15-2016 (06-12-2015, 09:05 PM)damiansnk Wrote: I'm not sure 100% it's work good cuz it's my 1st that complicated macro working good, im testing it to skill knight facc and works good u got my rep :v RE: looking for change weapon macro - Catar - 04-15-2016 Look at this video and tell me if it is something you want. Check how me ek changes his weapon. My macro works with send.key. And I use equip in hotkeys. It's much faster. Right now I am at work on my phone so can't send you this macro yet |