#turbo
#event CombineFail "You lacked the skills to fashion the items together."
#event CombineSuceed "You have fashioned the items together to create something new!"
Sub Main
/declare v80 global
/declare p2 global
/declare v61 global
/declare v99 global
/declare p0 global
/declare return global
/declare slots global
/call FindCombiner Fletching
/varset v80 $return
/if n @v80==99 /return
/for slots 0 to 9
/press esc
/next slots
/press i
/click right inv @v80
/for slots 0 to 2
/click right inv @slots
/next slots
:MakeArrows
/varset v61 0
/sendkey down ctrl
/finditem "Several Parabolic Cut Fletchings"
/if $cursor()==NULL {
/sendkey up ctrl
/for slots 0 to 9
/press esc
/next slots
/endmacro
}
/click left pack @v80 0
/delay 5
/finditem "Small groove Nocks"
/click left pack @v80 1
/delay 5
/finditem "Bundled ceramic arrow Shafts"
/click left pack @v80 2
/delay 5
/finditem "Hooked Arrowheads"
/click left pack @v80 3
/delay 5
/sendkey up ctrl
/click left pack @v80 combine
/delay 5
/sendkey up ctrl
/doevents
/if n @v61==1 {
/echo Failed
} else {
/echo Succeeded
}
/if $cursor()==TRUE {
/click left auto
/delay 5
}
/goto :MakeArrows
/return
Sub Event_CombineFail
/varset v61 1
/return
Sub Event_CombineSuceed
/varset v61 2
/return
Sub FindCombiner(p0)
/varset p2 99
/for v99 0 to 7
/if "$pack(@v99,combine)"=="@p0" /varset p2 @v99
/next v99
/return @p2
and then I hit Build, Compile macro1.dsm and it came up with an error as follows: Cannot compile the file 'C:\Documents and settings\Jason\Desktop\Macro.dsm'; no compile tool is associated with the file extension.
What am I doing wrong?
Please help me :)

