Buying an item

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

Socky

Buying an item

Post by Socky » Fri Oct 17, 2003 12:02 pm

I know this is a stupid question probably, but Im not able to find a macro to buy an item from a vendor, I've tried typing /buyitem "My Item here" and it didnt work, I tried /help buyitem, nothing showed, I tried /buyitem and no help shows up for missing parms, i didnt see anything in the readme that came with macroquest, and i dont see anything on the forums yet on how to auto buy an item, Could somone point me somewhere, or help me write s simple script to buy 6 stacks of an item then exit out of the merchant window, and then end the macro?

Lawyer
decaying skeleton
decaying skeleton
Posts: 4
Joined: Thu Oct 16, 2003 7:19 am
Contact:

Post by Lawyer » Fri Oct 17, 2003 1:44 pm

/selectitem "xxx" merchant
/buyitem

Might be an easier way to do it, but that works for me.

Guest

Post by Guest » Fri Oct 17, 2003 10:50 pm

Cool, that seems to work, but can someone help me figure out how to buy 3 stacks at a time, then close the window with the merchent?

Bio_War
a lesser mummy
a lesser mummy
Posts: 36
Joined: Sun Sep 29, 2002 1:03 pm

Post by Bio_War » Fri Oct 17, 2003 11:52 pm

/selectitem "xxx" merchant
/sendkey down shift
/buyitem
/buyitem
/buyitem
/sendkey up shift

Bio_War ... keep this up, we will write it for him

Socky

Still doesnt work, what am I doing wrong

Post by Socky » Sat Oct 18, 2003 12:35 am

Sub Main

/target Audri
/rclicktarget
/selectitem "Silver Bar" merchant
/sendkey down shift
/buyitem
/buyitem
/buyitem
/sendkey up shift

/return

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Sat Oct 18, 2003 12:57 am

Code: Select all

Sub Main 

/target Audri 
/rclicktarget 
/selectitem "Silver Bar" merchant 
/buyitem 20
/buyitem 20
/buyitem 20

Socky

still dont work

Post by Socky » Sat Oct 18, 2003 1:02 am

ok, I have that in there, but all it does is open a window wih the merchent, it wont buy the items, but I did notice if I type /buyitem 20 it will work, and if I type /selectitem "Silver Bar" it dos NOT work any help???

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

Post by MacroFiend » Sat Oct 18, 2003 1:17 am

You must use

Code: Select all

/selectitem "name" merchant