SRL Archive - SRL Archives

procedure ScrollToTop; [SRL]


Ejjman

2006-06-15 18:52:56

I couldn't find one of these in the bank section, and I needed it for my script, so I just thought to add one.

//Waits 8 seconds for the bar to reach the top.
procedure ScrollToTop; //Perfrom this when in the bank screen.
var mx, my : integer;
begin
MMouse(474, 64, 0, 0);
HoldMouse(474, 64, True);
wait(8000);
ReleaseMouse(474, 64, True);
end;

I didn't test it, and I don't know if HoldMouse and ReleaseMouse are detectable, but it looks good. The arrows should be at the same coordinates for everyone.

Keen

2006-06-15 19:08:18

I think this is what the srl procedure fixbank; is for.
Not completly sure but I think it is.

Also that might be a bit detectable.. you might want to make it a bit more random.

Ejjman

2006-06-15 19:18:02

Oh Fixbank? Oops lol didn't see that, I guess there is one. Hehe.

WT-Fakawi

2006-06-15 19:20:49

Yup, you are right. There is FixChat too….