first macro problems: confused
Posted: Sat Jan 15, 2005 5:45 pm
greetings all, this is my first attempyt at a simple macro useing parts from others "
the error im getting is:
forage.mac@16 (itemsort):/if (${Cursor.Name.equal[Honey Berry]}) /autoinventory
forage.mac@10(main):/if (${Cursor.ID}) /call ItemSort
im wondering if i made a mistake in the syntax? any help would be appreciated, thanks in advance
Code: Select all
sub Main
/cleanup
:Forage
/starting forage loop
/delay 9s
/doability forage
/echo foraging
/if (${Cursor.ID}) /call ItemSort
/goto :Forage
sub ItemSort
/delay 5
/echo in itemsort
/if (${Cursor.Name.equal[Honey Berry]}) /autoinventory
/destroy
/echo returning
/return
forage.mac@16 (itemsort):/if (${Cursor.Name.equal[Honey Berry]}) /autoinventory
forage.mac@10(main):/if (${Cursor.ID}) /call ItemSort
im wondering if i made a mistake in the syntax? any help would be appreciated, thanks in advance