I just installed macroquest and let me tell you, I wish I had tried it sooner. This program is unbelievable and a godsend.
I wrote up a mezbot to get me started. This mezbot only holds one mob mezzed indefinitely at the moment, as that's all I needed, but eventually I'll extend it to hold multiple mobs with some sort of chat-based interface, etc.
This macro is primarily useful for The Rathe (for those who know the encounter). I'd hardly consider it a masterpiece, but it's my first macro, so sue me =P.
Code: Select all
| - HoldMez by XXXXXX -
|
| Holds 1 mob mezzed indefinitely.
|
| Primarily useful for the PoP encounter, the Rathe.
|
| failure events, will trigger remez
#event resist "resisted"
#event fizzle "fizzles"
#event out_of_range "out of range"
| success events, will trigger wait
#event sleep_success "asleep"
#event bliss_success "drool"
#event apathy_success "distance"
#event generic_success "mesmerized"
#turbo
Sub Main
/declare EventCheck global
/echo "Starting HoldMez Macro by XXXXXX in 10 seconds"
/delay 50
/echo "Starting HoldMez Macro by XXXXXX in 5 seconds"
/delay 50
/echo "Starting HoldMez Macro by XXXXXX NOW"
/say **** STARTING XXXXXX MEZBOT V1.0 ****
/say **** Target is $target(name) ****
/echo Target is $target(name)
:MEZ
/varset EventCheck 0
/stand
/call Mez
/delay 5
| handle event is what tells us whether we need to remez or not
/call HandleEvent
/delay 5
/call Tash
/sit
/delay 420
/goto :MEZ
/return
sub HandleEvent
:EVENT
/doevents
/delay 5
/if n @EventCheck==0 {
/goto :EVENT
}
/return
sub event_resist
/varset EventCheck 0
/echo spell resisted
/say resisted, trying again
/doevents flush
/delay 30
/call Mez
/return
sub event_fizzle
/varset EventCheck 0
/echo spell fizzled
/say fizzled, trying again
/doevents flush
/delay 2
/call Mez
/return
sub event_out_of_range
/varset EventCheck 1
/echo TARGET OUT OF RANGE
/say TARGET OUT OF RANGE
/say TARGET OUT OF RANGE
/say TARGET OUT OF RANGE
/doevents flush
/return
sub event_sleep_success
/varset EventCheck 1
/echo sleep succeeded, waiting 3 seconds
/doevents flush
/delay 30
/return
sub event_bliss_success
/varset EventCheck 1
/echo bliss succeeded, waiting 3 seconds
/doevents flush
/delay 30
/return
sub event_apathy_success
/varset EventCheck 1
/echo apathy succeeded, waiting 3 seconds
/doevents flush
/delay 30
/return
sub event_generic_success
/varset EventCheck 1
/echo generic mez succeeded, waiting 3 seconds
/doevents flush
/delay 30
/return
Sub Mez
/echo XXXXXX's mana is $char(mana,cur) out of $char(mana,max)
/cast 7
/echo Casting mez on $target(name)
/say Casting mez on $target(name)
/return
Sub Tash
/echo Casting tash on $target(name)
/say Casting tash on $target(name)
/cast 6
/return
| End of HoldMez.macedit by EqMule: Please dont include your characters name in macros, it will get you banned if SOE sees it...


