Error with sub events, please help

Need help with a macro you are writing? Ask here!

Moderator: MacroQuest Developers

Cabobker
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sat Jul 24, 2004 5:11 pm

Error with sub events, please help

Post by Cabobker » Sat Jul 24, 2004 5:25 pm

All this macro *should* do is run my bard in a rectangle and cast AE DoT on a swarm of mobs while twisting selo's back in to keep at full speed (I realize the retwisting of Selo's is not added in yet, I want to figure out sub routeins first). When my dot wears off, the sub event doesn't activate and I can not figure out why. Code is as follows:

Code: Select all

| - Kite.mac - 

#event RedoSpell "Your Chords of Dissonance spell has worn off"
#event MissedNote "You miss a note, bringing your song to a close" 


Sub Main

    /keypress forward hold

    :Loop

    /doevents
    /doevents flush
    |Paths bard in a circle
    /delay 2 
    /keypress left hold
    /delay 6 
    /keypress left

    /goto :Loop 

/endmacro

Sub Event_MissedNote
    |Recasts Selo's
    /cast 2
    /cast 2
/return

Sub Event_RedoSpell
    |Recasts AE DoT
    /cast 1
    /cast 1
/return
Thanks in advance!

Sparr
a hill giant
a hill giant
Posts: 159
Joined: Mon Jun 24, 2002 5:41 am

Post by Sparr » Sat Jul 24, 2004 5:30 pm

stick #*# at the start and end of each event string. that way it ignores things like color codes, punctuation, etc.

Cabobker
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sat Jul 24, 2004 5:11 pm

Post by Cabobker » Sat Jul 24, 2004 6:08 pm

Thanks a bunch, I wasted a good 3 hours trying to fix it :wink: