if (Shutdown) and (Timer > 0) then
WriteConsole(0,'Scheduled server-restart in ' + IntToStr(Timer),$FF0000);
if Timer = 0 then begin
WriteConsole(0,'Bye.',$FF0000);
Shutdown;
end;
Outputs me a "Assignment expected" error for the line where Shutdown; is in.
Without the Shutdown everything works fine. Whats the problem in there?