Macro help pretty please

Rooster95

Premium Member
Joined
Feb 12, 2007
Messages
472
Reaction score
4
Points
18
Age
48
Location
Southeast Ga.
I'm having a little trouble with a macro i'm trying to use. The mac is
Code:
| - Legclick.mac -
#include Spell_Routines.inc

Sub Main
/echo macro is on
:loop
/if (${FindItem[=abstruse stealthinfused leggings].InvSlot}) {
/if ( !${FindItem[Abstruse Stealthinfused Leggings].TimerReady}) { 
/delay 10 
/call Cast "Abstruse Stealthinfused Leggings" item
/delay 35
/autoinv
} 


/goto :loop

When i run it i get the error message -

legclick.mac@7 (Main): if (${Finditem[=abstruse stealthinfused leggings].InvSlot}) {

Any help would be appreciated
 
Looks like you had an open { on line 7 that never was closed.. The version you have you could just add a } to line 14 and should work also.


Code:
| - Legclick.mac -
#include Spell_Routines.inc

Sub Main
/echo macro is on
:loop

/if (${FindItem[=Abstruse Stealthinfused Leggings].InvSlot} && !${FindItem[Abstruse Stealthinfused Leggings].TimerReady}) {
  /delay 5
  /call cast "Abstruse Stealthinfused leggings" item
  /delay 5
  /delay 50 !${Me.Casting.ID}
  /autoinv
} 

/goto :loop