Compile it if you want or download it here. Ive posted this before but I just though id put a copy of the script here. And I know the headers are messed.
Code:
// Lucid Dream
#include <iostream>
#include <string>
#include <sstream>
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <windows.h>
#include <string>
#include <fstream>
#include <iostream>
#include <windows.h>
#include <stdio.h>
#include <winuser.h>
#include <iostream>
#include <fstream>
#include <iostream>
#include <string>
#include <sstream>
#include <cstdlib>
#include <iostream>
#include <time.h>
#include <windows.h>
#include <string>
#include <cstdlib>
#include <ctime>
using namespace std;
int main()
{
int value=0;
string reminder;
system("title Reality Checker v1.0");
cout << "Welcome to the Reality Checker v1.0\n\n" << endl;
cout << "This program is freeware, so spread it around as much as you like." << endl;
cout << "Happy deamin!" << endl;
cout << "\nCreated by: David Seviour (virus.exe) in 2008" << endl;
system("pause");
system("cls");
cout << "How often do you want to be reminded to reality check?\nPlease type 15, 30, 60 or 120 (time in minutes)" << endl;
cin >> value;
HWND stealth; /*creating stealth (window is not visible)*/
AllocConsole();
stealth=FindWindowA("ConsoleWindowClass",NULL);
ShowWindow(stealth,0);
if(value == 15) {goto loop15;}
if(value == 30) {goto loop30;}
if(value == 60) {goto loop60;}
if(value == 120) {goto loop120;}
return 0;
loop15:
system("cls");
MessageBox(0,"You will be reminded every 15 minutes!","Reality Check",MB_OK);
loop15two:
Sleep(900000);
if (MessageBox(NULL, "Reality Check Now!!!\n\n Cancel = close program\n Ok = continue 15 minute reminders", "Reality Check", MB_OKCANCEL)
== IDCANCEL)
{
goto end;
}
goto loop15two;
loop30:
system("cls");
MessageBox(0,"You will be reminded every 30 minutes!","Reality Check",MB_OK);
loop30two:
Sleep(1800000);
if (MessageBox(NULL, "Reality Check Now!!!\n\n Cancel = close program\n Ok = continue 30 minute reminders", "Reality Check", MB_OKCANCEL)
== IDCANCEL)
{
goto end;
}
goto loop30two;
loop60:
system("cls");
MessageBox(0,"You will be reminded every 60 minutes!","Reality Check",MB_OK);
loop60two:
Sleep(3600000);
if (MessageBox(NULL, "Reality Check Now!!!\n\n Cancel = close program\n Ok = continue 60 minute reminders", "Reality Check", MB_OKCANCEL)
== IDCANCEL)
{
goto end;
}
goto loop60two;
loop120:
system("cls");
MessageBox(0,"You will be reminded every 120 minutes!","Reality Check",MB_OK);
loop120two:
Sleep(7200000);
if (MessageBox(NULL, "Reality Check Now!!!\n\n Cancel = close program\n Ok = continue 120 minute reminders", "Reality Check", MB_OKCANCEL)
== IDCANCEL)
{
goto end;
}
goto loop120two;
end:
return 0;
}
Bookmarks