Marbury
Member
- Joined
- Jan 11, 2006
- RedCents
- 121¢
This is my first attempt at writing a macro and I am sure I will get a few pointers on what I did wrong and everything.
I worked with what I had, and this is to the best of my ability, don't laugh. :p
I give credit to Roguish who gave me a base macro which I modified for my own uses, and I give credit to TeachersPet which I took some of his coding from another macro I have.
I put that in there to cancel if there were any mis-targets so the macro does not bind up and not continue to work. Reason for the underscore, is with NoDelay, the monk will be stationed at the zone in, where you will be and the /target _ will direct you to his aura (which is untargetable) and causes you to lose your current target. I did not know much of a way to get around it, a few pointers will be nice.
It's a little sloppy, needs some revising and hopefully I can make it better. One thing I want to work on, is to get him to stay at the mob until it's dead and then warp to zone in. With the macro though, it will get hung up on a mob at zone in, reason why I have the clearing of the target. I would like it to clear it every 10-20 seconds.
I worked with what I had, and this is to the best of my ability, don't laugh. :p
I give credit to Roguish who gave me a base macro which I modified for my own uses, and I give credit to TeachersPet which I took some of his coding from another macro I have.
Rich (BB code):
#turbo
Sub Main
/echo Leech Macro, exp away!
/echo For No Delay Usage.
/declare curzone string local
/varset curzone ${Zone.ShortName}
/echo Zone Bound To: ${Zone.Name}
:loop
/if (!${Zone.ShortName.Equal[${curzone}]}) /call End
/delay 2s
/warp succor
/target _
/delay 1s
/assist <Main Assist Name>
/delay 1s
/warp target
/delay 5s
/goto :loop
/return
Sub End
/echo Camping to Character Select Screen, exp over.
/beep
/beep
/beep
/keypress instant_camp
/endmacro
Rich (BB code):
/target _
I put that in there to cancel if there were any mis-targets so the macro does not bind up and not continue to work. Reason for the underscore, is with NoDelay, the monk will be stationed at the zone in, where you will be and the /target _ will direct you to his aura (which is untargetable) and causes you to lose your current target. I did not know much of a way to get around it, a few pointers will be nice.
It's a little sloppy, needs some revising and hopefully I can make it better. One thing I want to work on, is to get him to stay at the mob until it's dead and then warp to zone in. With the macro though, it will get hung up on a mob at zone in, reason why I have the clearing of the target. I would like it to clear it every 10-20 seconds.



