|----Red Mob Hotkey-----------------------------------
/target npc radius 125
/if (${Target.Level}>85 && <87) /cast item "Yellow Boomerang"
/if (${Target.Level}<85) /cast item "Blue Boomerang"
/if (${Target.Level}>87) /target clear
|----Yellow Mob Hotkey--------------------------------
/target npc radius 125
/if (${Target.Level}>85 && <87) /target clear
/if (${Target.Level}<85) /cast item "Blue Boomerang"
/if (${Target.Level}>87) /cast item "Red Boomerang"
|----Blue Mob Hotkey----------------------------------
/target npc radius 125
/if (${Target.Level}>85 && <87) /cast item "Yellow Boomerang"
/if (${Target.Level}<85) /target clear
/if (${Target.Level}>87) /cast item "Red Boomerang"
The first thing I thought of when I entered this task was trying to automate it. I noticed the red mobs always con red, the yellow mobs always con yellow, and the blue mobs always con blue.
#turbo
Sub Main
:loop
/tar id ${NearestSpawn[1, range 86 90].ID}
/if (${Target.Level} > 88) /casting "Red Boomerang"
/if (${Target.Level} > 85 && ${Target.Level} < 88) /casting "Yellow Boomerang"
/goto :loop
|86 Yellow 43562
|89 Red 43561
|84 blue 43560
#turbo 40
#event Ended "#*#The results of the contest are as follows#*#"
#event stun "#*#You are stunned!#*#"
#event fair "#*#Play Fair#*#"
#event another "#*#Your target is immune to the stun portion of this effect!#*#"
Sub Main
/plugin mq2melee
/plugin mq2cast
/plugin mq2moveutils
/declare person1 string outer ${Param0}
/declare person2 string outer ${Param1}
/call CheckEvents
/call TargetLoop
/return
Sub TargetLoop
:Targetloop
/target ${person1}
/stick
/delay 10
/call CheckEvents
/stand
/casting "43560"|item
/casting "43561"|item
/casting "43562"|item
/stick
/stand
/target 89 Contestant radius 270
/stick
/call CheckEvents
/delay 10
/call CheckEvents
/stand
/casting "43561"|item
/stick
/call CheckEvents
/delay 10
/call CheckEvents
/stand
/target 89 Enforcer radius 250
/stick
/call CheckEvents
/delay 10
/call CheckEvents
/stand
/casting "43561"|item
/stick
/call CheckEvents
/delay 10
/call CheckEvents
/stand
/target 86 Contestant radius 250
/stick
/call CheckEvents
/delay 10
/call CheckEvents
/stand
/casting "43562"|item
/stick
/call CheckEvents
/delay 10
/call CheckEvents
/stand
/target ${person2}
/stick
/delay 10
/call CheckEvents
/stand
/casting "43560"|item
/casting "43561"|item
/casting "43562"|item
/stick
/delay 10
/call CheckEvents
/stand
/target 86 Enforcer radius 270
/stick
/call CheckEvents
/delay 10
/call CheckEvents
/stand
/casting "43562"|item
/goto :targetloop
Sub CheckEvents
/delay 1
/doevents
/return
Sub Event_Ended
/echo Game Over
/plugin mq2melee unload
/endmac
/return
Sub Event_stun
/stand
/delay 20
/return
Sub Event_Fair
/call TargetLoop
/return
Sub Event_another
/call Targetloop
/return
works like 95% of the time.
I'm lazy so I just made 3, blue/yellow/red (gotta edit this one currently set for blue) /mac blue name1 name2 for 3 boxing, have gotten first/second/third 4x in a row now.
works like 95% of the time.
I'm lazy so I just made 3, blue/yellow/red (gotta edit this one currently set for blue) /mac blue name1 name2 for 3 boxing, have gotten first/second/third 4x in a row now.
For it to work correctly you need to edit it, then make 3 different macros, blue/red/yellow..
It's pretty simple, can use tweaks but overall it's just a dummed down macro ;P
Ahhh, ok. Not a programmer, but looking at it, would all I need to change to make it for red and yellow are the NPC level numbers ( 86=Yellow, 89=Red and 84=blue) after the /targets to match with their colours? Or was there more?