[pc_trade_yes]

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

Spliffeh
orc pawn
orc pawn
Posts: 15
Joined: Wed Jan 07, 2004 4:42 pm

[pc_trade_yes]

Post by Spliffeh » Sun Feb 29, 2004 5:57 pm

Looking at locations.txt I see they have added a new section

[pc_trade_yes]
UILabel=TradeWnd
XMLFile=EQUI_TradeWnd.xml
ScreenID=TRDW_Trade_Button

Can anyone explain to a newbie if/how I can use this to tell if the PC Trade window has been openned, or how I use this to click TRADE in the PC window?

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Sun Feb 29, 2004 7:43 pm

Its not hard to find out. Just have some one trade you something.

Code: Select all

#Event Trade "has offered you a"

Sub Main
   /doevents
/endmacro

Sub Event_Trade
   /click left button npctrade_give
/return
Or whatever, but you get the gist.

Bob

Mckorr
Developer
Developer
Posts: 2326
Joined: Fri Oct 18, 2002 1:16 pm
Location: Texas

Post by Mckorr » Mon Mar 01, 2004 10:42 am

Someone remind me to delete that from locations.txt.

Sigh, this is really starting to piss me off.