I'm posting my ShutDown procedure, if anyone wants to look at it..
SCAR Code:
{*******************************************************************************
procedure Terminate;
By: EvilChicken!
Description: Terminates the script and shuts down the computer.
*******************************************************************************}
procedure Terminate;
begin
WriteLn('Shutting down your PC, to stop it go to:');
WriteLn('Start -> Run -> type in ''shutdown -a''');
PlaySound('C:\WINDOWS\Media\Windows XP Shutdown.wav');
Wait(1000);
// ResetDc; [if using S.M.A.R.T. Works!]
Wait(1000);
KeyDown(92);
Wait(200);
KeyDown(82);
Wait(200);
KeyUp(82);
Wait(200);
KeyUp(92);
Wait(2000);
SendKeys('%windir%\System32\shutdown.exe -s -f -t 00');
Wait(1000);
KeyDown(13);
Wait(200);
KeyUp(13);
end;