lol at all these posts saying it's not working because of the bitmaps, that might be the case, but it just might also be because of this:
SCAR Code:
begin
repeat
LoadBmps;
until(false);
SetupSRL;
end.
if you actually looked through the whole script, you'd see that.
Since you are not autoing for runescape you do not need to call SetupSRL; including SRL gets you all the codes, calling SetupSRL; will give you some stuff like, skilllamp:= 'mining', and just other default options for you. You don't need runescape default options like those. But I guess you can leave it, then you won't need to set a mouse speed, so there might be a thing or two more actually. And, you wanna call SetupSRL; first if you do, so it'd be:
SCAR Code:
begin
SetupSRL;
repeat
LoadBmps;
until(false);
end.
next problem, why it's not doing anything. You are looping through one code, just LoadBmps; so all you are doing is loading and reloading the bmps over and over till you end the script. You only need to load the bmps once, so you should but it before the repeat, but after SetupSRL;, then what you want the script to do goes in the loop (between repeat/until). Also, you have an infinite loop, you should have the script end eventually.
Main loop should now be:
SCAR Code:
begin
SetupSRL;
LoadBmps;
repeat
//codes here to do your task
until(false);
end.
Then, before the script ends you wanna call your function Freebmps, I'd put it in a procedure called ScriptTerminate;, that procedure is always called when a script ends. Just copy and paste this above your main loop, and you don't need to call it:
SCAR Code:
procedure ScriptTerminate;
begin
FreeBmps;
end;
Well that's all I got for now to help you, if you need more help PM me or add me on MSN and just PM me telling me to get on.