here is what i have modded it to
[Edit by plazmic: I can't read code outside of code tags
Code: Select all
Sub main
/g Fighting %t. It is level $target(level).
/varset v0 $target(name)
/varset v1 $target(id)
/face
/attack on
| /sendkey CTRL down
| /press R
| /sendkey ctrl up
:running
/if n $target(distance)>15 /sendkey up down /goto :running
/if n $target(distance)<15 /sendkey up up
:CloserAF
/face
/if "$target()"!="FALSE" /if "$target(type)"!="NPC" /goto :endAF
/if "$target()"=="FALSE" /goto :endAF
/if "$target(id)"!="$v1" /goto :EndAF
/if n $target(distance)>15 /sendkey up down /goto :running
| /if n $target(distance)>12 /sendkey down up
/if n $target(distance)<9 /press down
| /if n $target(distance)<13 /sendkey up up
/if n $target(distance)>11 /press up
/doability 7
/goto :CloserAF
:EndAF
/g $v0 is dead
/sendkey up up
/sendkey up down
/attack off
/varset v0 0
| /sendkey CTRL down
| /press R
| /sendkey ctrl up
/endmacro
my first goal was to turn off auto run as part of the macro. that didnt work too well so i took it out
when in close range the /press works nice becdause it is smaller movements
however when mobs run, it doesnt keep up. so my hope was to use teh /sendkey when the mob is further then say 15 ticks away...
but what i did above didnt work. any ideas?
Thank you
p.s. i also like to set up my macros to automatically end when the mob dies



