SRL Archive - OSR Help

Elven Banker


Grihmm

2012-01-01 13:15:55

I have been making a Lletya Flax Picker script here:

http://villavu.com/forum/showthread.php?t=70683

and I just need one more thing I think: a way to make the cursor select and click the "Bank" option after right clicking.

Guidance would be appreciated.

Home

2012-01-01 13:21:03

From: Grihmm
I have been making a Lletya Flax Picker script here:

http://villavu.com/forum/showthread.php?t=70683

and I just need one more thing I think: a way to make the cursor select and click the "Bank" option after right clicking.

Guidance would be appreciated.


WaitOption('Bank', 500);


~Home

Grihmm

2012-01-01 13:27:37

So it should say:

procedure BankFlax;

var x, y:Integer;


begin
FindObjCustom(x, y, ['banker', 'alk'], [11256262,3912382,7117761], 3);
Mouse(x, y, 3, 3, false);
WaitOption('Bank', 500);
DepositAll;
end;

Correct?

Grihmm

2012-01-01 15:11:36

Could someone take a look at my script? It is finished and compiles fine but it only runs up until the beginning of the repeat..until. I think I might have done something wrong with my repeat..until.

eXoTiK

2012-01-01 22:53:11


procedure BankFlax;

var x, y:Integer;

begin
if (FindObjCustom(x, y, ['banker', 'alk'], [11256262, 3912382, 7117761], 3)) then
begin
Mouse(x, y, 3, 3, false);
WaitOption('Bank', 500);
DepositAll;
end;
end;

Grihmm

2012-01-02 01:03:23

Ooh thank you. :)

Failure

2012-01-02 01:24:20

Don't forget to use CloseBank; after Depositting all your items ofcourse haha. And about your repeat until loop, post it quite sure people will help you out.

Grihmm

2012-01-02 07:53:44

The script is in the link in the OP of this thread.