Code: Select all
| - FORAGEing.mac -
| Change the Define below to the actual Foraging ability name;
| I don't know it.
#define FORAGESkill Forage
#include SpellSub.mac
#include Spellcast.mac
#include Spellbook.mac
#include routines.mac
#event visible "you appear"
sub Main
/cleanup
/doevents
:Forage
/doability "FORAGESkill"
/doevents
/delay 2
/if "$cursor(name)"=="Morning Dew" /click left auto
/if "$cursor(name)"=="vegetables" /click left auto
/if "$cursor(name)"=="Pod of Water" /click left auto
/click left destroy
/goto :Forage
/return
sub Event_visible
/cast "Superior Camoflage"
/returnthe main things i want it to do check the forage botton see if its up if so then click it keep all foods and drinks destroy all eals and eather keep a timer invs on me or watch for it to ware off

