deviney
05-31-2007, 12:58 PM
Hello again people,
Its me Deviney!
Just spent all yestarday figuring what was up with scar/SRL. when i finnaly got the SRL setup script to run correctly, i was chuffed lol.
I then though i would make a script but now i seem to get an error saying:
Line 11: [Error] (14760:49): Invalid number of parameters in script
another error....:mad: :mad:
ill put my script here for you to see and its only very basic as i have only just started it. please leave any helpful comments id be very grateful:)
program fishinglobbys;
{.include srl/srl.scar}
var fishy: Integer;
procedure findfish;
begin
fishy := BitmapFromString(1, 2, '88B0E9A8C8FF');
if(FindBitmap(fishy,x,y,100,MSX1,MSY1,MSX2,MSY2))t hen
begin
Mouse(x,y,2,2,true);
Writeln('found fish!');
end;
end;
begin
findfish
end.
Its me Deviney!
Just spent all yestarday figuring what was up with scar/SRL. when i finnaly got the SRL setup script to run correctly, i was chuffed lol.
I then though i would make a script but now i seem to get an error saying:
Line 11: [Error] (14760:49): Invalid number of parameters in script
another error....:mad: :mad:
ill put my script here for you to see and its only very basic as i have only just started it. please leave any helpful comments id be very grateful:)
program fishinglobbys;
{.include srl/srl.scar}
var fishy: Integer;
procedure findfish;
begin
fishy := BitmapFromString(1, 2, '88B0E9A8C8FF');
if(FindBitmap(fishy,x,y,100,MSX1,MSY1,MSX2,MSY2))t hen
begin
Mouse(x,y,2,2,true);
Writeln('found fish!');
end;
end;
begin
findfish
end.