Sub Main
|=================================================
|===== CheckRadius: this checks for mobs within a certain radius of your MainTank
/declare CheckRadius int outer 40
|=================================================
|=================================================
|=================================================
|
| Don't screw with anything below here
|
|=================================================
|=================================================
/if (!{Target.ID} || ${Target.Type.NotEqual[pc]}) /call NONONO
/declare MainAssist int outer ${Target.ID}
/squelch /target clear
:MainLoop
/if (${Target.ID}!=${MainAssist} && ${Target.ID}) /squelch /target Clear
/if (${Spawn[loc ${Spawn[${MainAssist].X} ${Spawn[${MainAssist].Y}} npc radius ${CheckRadius}].ID}) {
/assist ${Spawn[${MainAssist}].CleanName}
/if (${Target.Type.Equal[npc]}) /call ATTACK
}
/delay 2s
/goto :MainLoop
/return
Sub ATTACK
:waitloop
/delay 1
/if (${Target.PctHPs}>95) /goto :waitloop
/echo SUPER RANJA ATTACK!!!!
:attackloop
/attack on
/if (${Target.Distance}>15) /keypress up hold
/if (${Target.Distance}<15) /keypress up
/face fast
/delay 2
/if (${Target.ID} && ${Target.Type.Equal[npc]}) /goto :attackloop
/return
Sub NONONO
/echo Target the motherfucking main assist before starting this macro.
/endmac
/return