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

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

About Trades

turbocross

New Member
Joined
Mar 23, 2010
Messages
231
Hi, is it possible to get a character to trade an item to another party member?
 
I see, can we call macros withing a CC?

Yes.

LUA.DoString(string);

Code:
  Trading Functions

    HW AcceptTrade() - A pending trade will be accepted. 
    AddTradeMoney() - Adds the money dropped into the player's trade frame. 
    CancelTrade() - Declines the offer to trade with the other player. 
    CancelTradeAccept() - Cancels the trade attempt which required an accept. 
    ClickTargetTradeButton(index) 
    ClickTradeButton(index) - Equivalent of a mouseclick on the trade window buttons [1-7] 
    CloseTrade() - Closes the trade. 
    GetPlayerTradeMoney - Returns the amount of money the player has in the trade window. 
    GetTargetTradeMoney - Returns the amount of money in the trade frame of the target player. 
    GetTradePlayerItemInfo(id) - Returns information about a trade item. 
    GetTradePlayerItemLink(id) - Returns an itemLink for the given item in your side of the trade window (if open) 
    GetTradeTargetItemInfo(id) - Returns information about a trade item. 
    GetTradeTargetItemLink(id) - Returns an itemLink for the given item in the other player's side of the trade window (if open) 
    InitiateTrade(UnitId) - Asks the specified unit to trade. 
    PickupPlayerMoney(copper) - Picks up an amount of money from the player. 
    PickupTradeMoney(copper) - Picks up an amount of money from the player's trade offer. 
    SetTradeMoney(copper) - Sets the amount of money offered as part of the player's trade offer. 
    ReplaceTradeEnchant() - Confirm the replacement of an enchantment via trade.
 
Back
Top