Page 1 of 1

Function AgreeTrade

Posted: Tue Mar 29, 2011 11:52 am
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

Re: Function AgreeTrade

Posted: Tue Mar 29, 2011 1:00 pm
by lisa
try something like this

Code: Select all

RoMScript("AgreeTrade();");

Re: Function AgreeTrade

Posted: Wed Mar 30, 2011 4:54 am
by Othon1001
I'm trying to do a real addon no un .xml for micromacro

I can't use RoMScript

Re: Function AgreeTrade

Posted: Wed Mar 30, 2011 4:57 am
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.