would like to add that Improved Superior Camouflage is a fixed duration spell so its most safest also cast invs on ur self befor start marco only checks to see if invs has droped not to see if u have the buff up
Code: Select all
| - FORAGEing.mac -
| now casts invs when it drops and echos back to eq clint telling you its invsing
#event invs "You vanish"
#define FORAGESkill Forage
#include SpellSub.mac
#include Spellcast.mac
#include Spellbook.mac
#include routines.mac
#event visible "You appear"
sub Main
/cleanup
/doevents
:Forage
/if n $char(ability,"forage")>0 /doability forage
/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
/doevents
:loop
/return
sub Event_visible
/echo your visable invsing now
/press F1
/call SpellSub 4 5.0 "Improved Superior Camouflage"
/goto :Forage
/return
