Moderator: MacroQuest Developers


quasit wrote:
/finditem similar "Mortar"
/if $invpanel==TRUE /if $pack($v80,open)!=TRUE /click right inv $v80
/varset v80 $return
here is another i tried, didnt work either
/call FindCombiner mortar and pestle
/if $return==99 /return
then I even tried
/call findcombiner
/if $return==99 /return
they all came back saying it couldnt identify it or that mortar and pestle was not a valid combinable box.....
HELP..
thanks again
boldor wrote:Combinder type is MAKE POISON. Been trying various combinations as well to no avail. Tired of hand making Celestial Essence.
rizwank wrote:ok
for combine.mac call it
/macro combine mortar <item 1> <item 2> .. etc
replacewithCode: Select all
/call FindCombiner $p0 /if $v10<=7 /call OpenInv /if $v10==8 /call OpenEnv /if $v10==99 { /echo "Cannot find container-Aborting" /end }this will make the default container always the item in 7 .. dont use this for non mortar/pestle combines though..Code: Select all
/varset v10 7
7 is your last inventory slot by the way.
Code: Select all
| - CelestialEssence.mac -
#include routines.mac
#turbo
Sub Main
| Initialisation
/press ctrl
/press shift
/press alt
| Main Loop
/call FindCombiner Poison
| Calls a routine at the end of the script to specify which container will be used for combines.
/if $return==99 /endmacro
| If an appropriate container is not found, end the macro
/varset v80 $return
| Otherwise, set variable 80 to point to the bag # of the combine container
:PackOpen
/if $invpanel==FALSE /press i
| Open inventory if needed.
/if $invpanel==TRUE /if $cursor()==TRUE /click left auto
| If inventory is open and there is an item in the cursor, drop it into the autoequip box
/if $invpanel==TRUE /if $pack($v80,open)!=TRUE /click right inv $v80
| If the target container is not open, open it.
:MakeItem
/sendkey down ctrl
/finditem "Celestial Solvent"
/if $find()==FALSE /goto :Done
/click left pack $v80 0
/finditem "The Scent of Marr"
/if $find()==FALSE /goto :Done
/click left pack $v80 1
/sendkey up ctrl
/click left pack $v80 combine
/if "$cursor()"=="TRUE" /goto :AutoDrop
/for v1 1 to 5
/delay 2
/if "$cursor()"=="TRUE" /goto :AutoDrop
/next v1
/goto :MakeItem
:AutoDrop
/click left auto
/doevents
/goto :MakeItem
:Done
/sendkey up ctrl
/click left enviro done
/return