how hard would it be....

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

DruidMQr
decaying skeleton
decaying skeleton
Posts: 4
Joined: Fri Feb 06, 2004 8:09 pm
Location: Ohio
Contact:

how hard would it be....

Post by DruidMQr » Sat Feb 07, 2004 11:00 pm

to include the coding so that my AA skill Innate Camo would be cast every 10 minutes so i can AFK fish in Powater?


im using just a basic fish+forage macro from the depot


this is what i saw. but what about when i have to randomly cast a new pole from Fisherman's Companion? is there a way to set it up so that if camo is noexistant that it recasts it right away?

/declare CamoTimer timer
/cleanup
:Forage

/if n @CamoTimer<=0 {
/alt activate 80
/varset CamoTimer 160
}

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Sun Feb 08, 2004 1:45 am

Try checking to see what item exists in your primary slot, if the item doesn't exist:

Code: Select all

/if "$item(inv,slot#,name)"!="Fishing Pole Name" {
    /cast item "Fisherman's Companion"
    :Wait
    /if $char(casting)==TRUE /goto :Wait
    /if n @CamoTimer<=0 {
       /alt activate 80
   } else {
      /cast "camo spell"
      :WaitAgain
      /if $char(casting)==TRUE /goto :WaitAgain
   }
}
:StartFishing
The above needs some modifications/additions to work fully, but I think you will get the idea.

DruidMQr
decaying skeleton
decaying skeleton
Posts: 4
Joined: Fri Feb 06, 2004 8:09 pm
Location: Ohio
Contact:

re

Post by DruidMQr » Sun Feb 08, 2004 8:32 am

sweet thanx, what iw as lookin for