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?
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
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.