SRL Archive - Help

Why cant i fix this mismatch error?? please help me quick


iridektm

2012-02-29 22:40:42


begin
SetupSRL;
ActivateClient;
repeat
[COLOR="DarkOrange"]if(Loggedout)then[/COLOR]
begin;
Login;
end else;
begin
wait(20);
Thieveit;
end else;
end;
until(count=100)

Im getting this compiling error, for the line in orange.
[Error] (102:19): Type mismatch at line 101
Compiling failed.

Gucci

2012-02-29 22:49:46

try

if not (LoggedIn) then

iridektm

2012-02-29 23:03:29

…. uhtgh.gsh
sdfkjgn/
its for a private server, i wrote the Loggedout procedure myself. ITS JUST THE MISMATCH error im looking to fix, im not really looking for a "better way" Because it wont work. its a private server.

NickMystre

2012-02-29 23:08:08

I believe that mismatch means that you have defined a variable as one type and then trying to use it as another. (ie defining an 'int' when the function / procedure calls for an extended / long.

Gucci

2012-02-29 23:24:51

Alright. Maybe you should have made that clear.

Runescape Pro

2012-02-29 23:34:49

Well for a ps srl is of no use because srl is for the current rs. Also, it seems as if you have to many ends. If loggedout then begin login endelse begin thieveit end until(whatever)