What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Buying from Vendors using the RunMacro.CS

tubajedimr

New Member
Joined
Apr 6, 2010
Messages
441
Reaction score
24
To purchase an item from a vendor using Honorbuddy, you will need the RunMacro.CS which you can download below.


The Macro is as follows:
PHP:
/run BuyMerchantItem(3, 20)

Each number corresponds to a position in the window. they are so labelled

1 2
3 4
5 6
7 8
9 10

So the first number is it's position in the window. and the second is the quantity.

(3, 40)
Is, position 3, buy 40.


With RunMacro this would look like this:
PHP:
<CustomBehavior File="RunMacro" Macro="/run BuyMerchantItem(3, 20)" NumOfTimes="1" WaitTime="2000" />

NOTE that you will want to change any tags within the quotations surrounding the Macro name to their appropriate tag change.



Go here to encode your script
 
Last edited:
Could this be done so, if i need to turn in a quest for Darkmoon Faire where i have some macros to do this, but i need to target the mob before pressing them. If this could target press macros and repeat quicker than me, i would love it :)
 
Could this be done so, if i need to turn in a quest for Darkmoon Faire where i have some macros to do this, but i need to target the mob before pressing them. If this could target press macros and repeat quicker than me, i would love it :)

you can, here's what you do:

PHP:
<CustomBehavior File="InteractWith" QuestId="14069" MobId="34830" NumOfTimes="1" CollectionDistance="50" ObjectType="Npc" X="-3517.482" Y="3576.992" Z="277.5767" />
 
Better to use "BasicInteractWith" behavior if you plannin then use macro.
 
Back
Top