SRL Archive - Help

if & else?


ifrootloops

2012-02-20 17:32:02

I understand if statements just fine… but is there no "else" command?, or something for the bot to do if, aforementioned parameters are not met?

Sin

2012-02-20 17:33:34

if FindSomething then
begin

end else
failsafe here

Dgby714

2012-02-20 17:51:30

if (TestEt()) then
begin
WriteLn('Succeded');
end else
begin
WriteLn('Failed');
end;

if (TestEt()) then
WriteLn('Good')
else
WriteLn('Bad');

ifrootloops

2012-02-20 18:25:23

thanks guys