SCAR Code:
procedure Terminate;
begin
if not ShutDown then TerminateScript;
WriteLn('Shutting down your PC, to stop it go to:');
WriteLn('Start -> Run -> type in "shutdown -a"');
PlaySound('C:\WINDOWS\Media\ringin.wav'); // Just to notify (or wake up :p) user..
Wait(500);
PlaySound('C:\WINDOWS\Media\ringout.wav');
Wait(500);
PlaySound('C:\WINDOWS\Media\ringin.wav');
Wait(500);
PlaySound('C:\WINDOWS\Media\ringout.wav');
ResetDC; // AHIHI.
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);
WriteLn('Goodbye.');
Wait(5000);
TerminateScript;
end;
ResetDC; resets the DC and works with both SMART and non-SMART scripts.
E: 350th can of spam.
EWW SPAM