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


