SRL Archive - OSR Help

mismatch error?


iridektm

2012-02-13 14:48:36

program Awesomestuff;
{$I SRL/SRL.simba}
var
x, y: integer;
Procedure Login;
Begin
(i deleted this because it contained password)
end;
Procedure Loggedout;
Begin;
(FindColor(x, y, 12364441,MMX1, MMY1, MMX2, MMY2));
end;
begin
SetupSRL;
ActivateClient;
if(Loggedout) then
Login;

end.


im getting an error ([Error] (77:1): Type mismatch at line 76
Compiling failed.) i highlighted the area in orange, bear with me this is my first script.

x[Warrior]x3500

2012-02-13 15:16:38

change the first highlighted line to :


if(not(loggedin)) then