If you could explain, is their a difference between the @ and the $?
I used the $ in my macros where I thought @ should be applied and it seemed to work fine. Here is some example 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
/declare combiner global
/call FindMortar "Mortar and Pestle"
/if $return==99 /endmacro
/varset combiner $return
:MakeEssence
| /if $pack($combiner,empty)==FALSE /call CleanPack
/delay 0
/sendkey down ctrl
/finditem "Celestial Solvent"
/if $find()==FALSE /goto :Done
/click left pack $combiner 0
/delay 3
/finditem "The Scent of Marr"
/if $find()==FALSE /goto :Done
/click left pack $combiner 1
/delay 3
/sendkey up ctrl
/click left pack $combiner combine
| it's a no fail combine, wait for the damn thing to be combined
:WaitCombine
/if "$cursor()"!="TRUE" /goto :WaitCombine
| clear the cursor of shit
:ClearCursor
/click left auto
/if "$cursor()"=="TRUE" /goto :ClearCursor
/goto :MakeEssence
:Done
/sendkey up ctrl
/return
Sub FindMortar
/declare temp local
/declare counter local
/varset temp 99
/for counter 0 to 7
/if "$pack($counter,name)"=="$p0" /varset temp $counter
/next counter
/return tempThanks in advance!
[40oz]

