just playing around with macros, need a tad bit o help

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

Moderator: MacroQuest Developers

kallell
decaying skeleton
decaying skeleton
Posts: 7
Joined: Mon Aug 18, 2003 11:00 am

just playing around with macros, need a tad bit o help

Post by kallell » Tue Aug 19, 2003 1:21 am

Code: Select all

Sub main

|Merchant
	/Click left auto
	/target "merchantname"
	/face 
	/click right target

/if target==Llokken /goto :Done

 :Selling
	/finditem "Fish Roll" 
	/if $find()==FALSE /goto :Done
	/Delay 1
	/click left Sell
	
 :Done
	/press ESC

 
	
/return
*ok the merchant name i just edited out* My question is, when i run this, it opens inventory and everything, and even if i have Fish rolls, it still says i dont have any. I have tried it without the delay as well.../scratches head.

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Tue Aug 19, 2003 2:28 am

Try

Code: Select all

/finditem similar "Fish Roll"
Also i have noticed when the bags are closed that finditem only opens the bag. You will then need do another finditem in order to actually select it.

also you have
/if target=="Name" /goto :done

might wanna take the name out of there