Any insight would be appreciated. Here is my code:
Code: Select all
| - Celestial.mac -
|
| makes celestial essences with whatevers in your open bags. go figure. how cool. yaaaaaay.
| get solvents and scents of mars off vendors and go at it.
#include routines.mac
Sub Main
/call FindCombiner "Make Poison"
/if $return==99 /endmacro
/varset v80 $return
:MakeEssence
/if $pack($v80,empty)==FALSE /call CleanPack
/delay 0
/sendkey down ctrl
/finditem "Celestial Solvent"
/if $find()==FALSE /goto :Done
/click left $v80 0
/delay 3
/finditem "The Scent of Marr"
/if $find()==FALSE /goto :Done
/click left $v80 1
/delay 3
/sendkey up ctrl
/click left $v80 combine
| it's a no fail combine, wait for the damn thing to be combined
:WaitCombine
/if "$cursor()"!="TRUE" /goto :WaitCombine
/goto :WaitCombine
| clear the cursor of shit
:ClearCursor
/click left auto
/if "$cursor()"=="TRUE" /goto ClearCursor
/goto :MakeEssence
:Done
/sendkey up ctrl
/returnCode: Select all
Sub FindCombiner
/varset p2 99
/for v99 0 to 7
/if "$pack($v99,combine)"=="$p0" /varset p2 $v99
/next v99
/return $p2



