SRL Archive - OSR Help

Not sure whats wrong here...


Hexless V2

2014-01-05 13:30:53

Not to sure why this isn't working this is the error i get
[Error] (11:1): Semicolon (';') expected at line 11
Compiling failed.
Any help would be great!


[PHP]program SS;
{$i SRL/SRL.simba}
var x , y :integer
//Settings to use;
//Oldschool, 562 gameframe!
//Brightness 2
//Camera:
//North
//Max Hieght
Procedure FishNShiz;
Begin
If(FindColorTolerance(277,314,MSX1,MSY1,MSX2,MSY2,5) then
begin
Mouse(X,Y,2,2,false);
MoveMouse(X,Y + 60);
Mouse(X,Y,0,0,true);
End;
End;
begin
end. [/PHP]

Ashaman88

2014-01-05 13:39:31

; after integer

Hexless V2

2014-01-05 13:43:09

From: Ashaman88
; after integer

I now get this error?
[Error] (13:23): Variable Expected at line 13
Compiling failed.

Ian

2014-01-05 13:56:59

From: Hexless V2
I now get this error?
[Error] (13:23): Variable Expected at line 13
Compiling failed.

closing bracket needed on line 12

Hexless V2

2014-01-05 13:58:51

From: BMWxi
closing bracket needed on line 12

Thank you! sorry for my nooby mistakes haven' scripted in awhile :\
EDIT: Still got the same error?
EDIT2: Fixed it