Function AgreeTrade

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
Othon1001
Posts: 8
Joined: Wed Jan 12, 2011 4:24 am

Function AgreeTrade

#1 Post by Othon1001 »

Hello,

I'm trying to use the function AgreeTrade.

But ... I have a little problem

if I use AgreeTrade in a macro "/script AgreeTrade" it's work after a TRADE_REQUEST event

but if I use AgreeTrade in a script after a TRADE_REQUEST event itsd doesn't work

Code: Select all

function AutoTrade_AgreeTrade(  arg1 )
		AgreeTrade()
		--StaticPopup_OnClick(StaticPopup1Button1, 1);
end

I have the same problem with this StaticPopup_OnClick(StaticPopup1Button1, 1)

nb: sorry for my english
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Function AgreeTrade

#2 Post by lisa »

try something like this

Code: Select all

RoMScript("AgreeTrade();");
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Othon1001
Posts: 8
Joined: Wed Jan 12, 2011 4:24 am

Re: Function AgreeTrade

#3 Post by Othon1001 »

I'm trying to do a real addon no un .xml for micromacro

I can't use RoMScript
User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: Function AgreeTrade

#4 Post by lisa »

Ahh ok sorry my bad, I'll do some testing a little later and see what I can come up with for you.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Post Reply