forage monring dew

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

nikeman
a lesser mummy
a lesser mummy
Posts: 70
Joined: Tue Jun 18, 2002 10:37 am

forage monring dew

Post by nikeman » Sat Oct 19, 2002 9:31 am

well this version should check to see if ur invs and if not cast it
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