Fletching Macro

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

Tinasi
orc pawn
orc pawn
Posts: 11
Joined: Mon Jul 22, 2002 5:07 am

Fletching Macro

Post by Tinasi » Wed Jul 24, 2002 1:06 am

Ok I am using the fletching macro that came with the download of Macroquest. (i have most recent version) When it is adding items to the fletchign kit it always stops making arrows even if there is still supplies left in my inventory. So relog and type in the /macro arrows again and it will start making arrows again. Is there a reason why it stops in the middle of the running of it. Here is the code:

Code: Select all

| - Arrows.mac -
|
#include routines.mac

Sub Main
   /call FindCombiner Fletching
   /if $return==99 /return

   /cleanup
   /click right inv $return
   :MakeArrows
      /sendkey down ctrl

      /finditem similar "Fletchings"
      /if $find()==FALSE /goto :Done
      /click left pack $return 0

      /finditem similar "Nocks"
      /if $find()==FALSE /goto :Done
      /click left pack $return 2

      /finditem similar "Arrow Shafts"
      /if $find()==FALSE /goto :Done
      /click left pack $return 4

      /finditem similar "Arrowheads"
      /if $find()==FALSE /goto :Done
      /click left pack $return 6

      /sendkey up ctrl
      /click left pack $return combine

      :WaitArrows
      /if $pack($return,empty)==FALSE /goto :WaitArrows
      /delay 2
      /click left auto
   /goto :MakeArrows

   :Done
    /sendkey up ctrl

/return