Having some trouble with events(What am I missing)

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Wendel
a lesser mummy
a lesser mummy
Posts: 58
Joined: Wed Jul 24, 2002 1:48 am

Having some trouble with events(What am I missing)

Post by Wendel » Fri Aug 16, 2002 1:32 pm

I think I have everything setup right to cast buffs on myself when they fade. But for some reason they are never cast ???
Not a fizzle or anything.

Code: Select all

#Event CallThorns "The brambles fall away"
/mqlog Starting Buff
/echo Buff Starting


Sub Main
   :Loop
      /doevents
   /goto :Loop
/return

Sub Event_CallThorns
   /mqlog Casting Thorns
   /target myself
   /cast 2
/return

User avatar
L124RD
Site Admin
Site Admin
Posts: 1343
Joined: Fri Jun 14, 2002 12:15 am
Location: Cyberspace
Contact:

Post by L124RD » Fri Aug 16, 2002 2:32 pm

Salutations,

Code: Select all

#Event CallThorns "The brambles fall away"

Sub Main
  /mqlog Starting Buff
  /echo Buff Starting
   :Loop
      /doevents
   /goto :Loop
/return

Sub Event_CallThorns
   /mqlog Casting Thorns
   /target myself
   /cast 2
/return 
That will fix one of your problems. Another one is that the event is case sensitive.