Foraging

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Cheese-Man
decaying skeleton
decaying skeleton
Posts: 2
Joined: Tue Nov 05, 2002 6:08 pm

Foraging

Post by Cheese-Man » Tue Nov 05, 2002 6:11 pm

Was wondering if there was ever a macro created for a ranger/druid to just forage his life away. If there is one can i be given a link or some such in pm or post. And if there isnt what exaclt would it take to right one besides telling it to click on ability ever 9.5 seconds? Was wondering since sitting wakening land and using the old fashioned way gets dull after 30 or so hours :?
Cheese grader don't make good pets.. Ouch

Cheese-Man
decaying skeleton
decaying skeleton
Posts: 2
Joined: Tue Nov 05, 2002 6:08 pm

Post by Cheese-Man » Tue Nov 05, 2002 6:15 pm

whoops nm hehe found it :P Lock destroy flame whatever
Cheese grader don't make good pets.. Ouch

User avatar
Madman
a ghoul
a ghoul
Posts: 144
Joined: Wed Jun 26, 2002 4:16 pm

Post by Madman » Tue Nov 05, 2002 6:29 pm

Well i was dissapointed and ready to flame you... but you redemed yourself guess you found the search button on my own good job /salute.
if only more people could learn from your example it would be a better world...



Madman

geostone
a lesser mummy
a lesser mummy
Posts: 78
Joined: Thu Oct 31, 2002 6:16 pm

Post by geostone » Tue Nov 05, 2002 8:48 pm

credit to stargazer---thanks for the help

it works very well and does forage and sense heading

Code: Select all

[code]| foragesense.mac 

sub Main        

  :MainLoop 
    /doevents 
    /call forage
    /delay 10 
    /goto :MainLoop 

/return 

sub Forage 
  /if n $char(ability,"forage")>0 { 
    /doability forage 
    /delay 5 
    /if $cursor()==TRUE /call DropItem 
  } 
/return 




sub DropItem 
  /if "$cursor()"=="NULL" /return 
  /if $invpanel==FALSE /press i 
  /delay 5 
  /if $invpanel==TRUE /click left auto 
  /delay 5 
  /press ESC 
  /press ESC 
/return