Code: Select all
sub Main
/sit off
:MainLoop
/if (${Cursor.ID}) /autoinv
/if (${Cursor.ID}) /goto :CursorLoop
/if (${Me.AbilityReady["Forage"]}) /doability "Forage"
:CursorLoop
/if (${Cursor.ID}) /autoinv
/if (${Cursor.ID}) /goto :CursorLoop
/goto :MainLoop
/endmacro