SRL Archive - SRL Archives

ChooseChat - Quickmarch


Quickmarch

2008-10-22 09:36:40

ok i don't know whether or not this has been made but i find it quite usefull

{*******************************************************************************
function ChooseChat(S: TStringArray): Boolean;
By: Quickmarch
Description: Choose's a Chat inside the Quick Chat.
*******************************************************************************}
function ChooseChat(S: TStringArray): Boolean;
var
i: Integer;

begin
Wait(1000+random(100));
SendKeys(chr(13));
Wait(100+random(100));
for i := 0 to High(S) do
begin
Result := ClickText(S[i], SmallChars, 7, 361, 513, 473, True);
if Result then
Wait(1000+random(200));
end;
end;
:) :)

P1nky

2008-10-22 11:11:46

yeaaa this is like ownage , especially for responders?

so it goes into the quick chat and clicks what ever you write in the string?

Naum

2008-10-22 11:21:01

SRL/SRL/Misc/QC.scar.

Quickmarch

2008-10-22 11:34:02

From: ~~Joker~~
yeaaa this is like ownage , especially for responders?

so it goes into the quick chat and clicks what ever you write in the string?


yep whatever string you want the trade might need to be changed a bit but just type in whatever you want:)


heres a test put this in your main loop:
begin
SetupSRL;
ChooseChat(['kills', 'gility', 'go', 'gility']);
end.

Daniel

2008-10-23 00:56:08

I think that it'll click on every option inside the TStringArray, due to the For loop. Since you don't break out of it. Not sure if that's what it's supposed to do.. If it is, you result true in every loop, put the above the loop?

Quickmarch

2008-10-23 02:13:44

the TStringArray is so it go's to the sub menus

like
ChooseChat(['Skills', 'Agility', 'Agility']);

ect. But you have to tell it exactly what u want.

Daniel

2008-10-24 04:44:23

From: Quickmarch
the TStringArray is so it go's to the sub menus

like
ChooseChat(['Skills', 'Agility', 'Agility']);

ect. But you have to tell it exactly what u want.

:o I thought it was random options :p