JC.mac modification...weird error message

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Amadeus
The Maestro
The Maestro
Posts: 2036
Joined: Sat Jun 29, 2002 3:51 pm

JC.mac modification...weird error message

Post by Amadeus » Tue Jul 02, 2002 8:12 pm

I did a simple modification to JC.mac in order to create "Celestial Essence".

It seems to work perfectly, except for that I continue to get the error message:
Couldn't find a comparison operation '@pack(?,'

Please note that the macro works great...just curious why this error message continues to occur..

Code: Select all

| - Celestial Essense Creation Macro -
| - You must have equal numbers of Celestial Solvent and Scent of Marr in
| - your inventory for this simple macro to work.
| - CelestialEssense.mac -
| Syntax: /macro CelestialEssense.mac
#include routines.mac

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

   /cleanup
   /click right inv $return

   /sendkey down ctrl
   :MakeCelestialEssense
	/finditem "Celestial Solvent"
	/if $find()==FALSE /goto :Done
	/click left pack $return 0
	/finditem "The Scent of Marr"
	/if $find()==FALSE /goto :Done
	/click left pack $return 1
	/click left pack $return combine
	:WaitCE
	    /delay 2
	/if $pack($return, empty)==FALSE /goto :WaitCE
	/delay 2
	/click left auto
	/goto :MakeCelestialEssense

   :Done
   /sendkey up ctrl

/return

Plazmic
The One
The One
Posts: 800
Joined: Fri Jun 14, 2002 12:31 am
Contact:

No spaces in $variables...

Post by Plazmic » Tue Jul 02, 2002 9:12 pm

Code: Select all

Change:
/if $pack($return, empty)==FALSE /goto :WaitCE 
to
/if $pack($return,empty)==FALSE /goto :WaitCE 
- Plazmic