Log in

View Full Version : if & else?



ifrootloops
02-20-2012, 10:32 PM
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
02-20-2012, 10:33 PM
if FindSomething then
begin

end else
failsafe here

Dgby714
02-20-2012, 10:51 PM
if (TestEt()) then
begin
WriteLn('Succeded');
end else
begin
WriteLn('Failed');
end;

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

ifrootloops
02-20-2012, 11:25 PM
thanks guys