This is a quick program I wrote in C while I was bored. So what exactly does this program do? You've all got those chain letters that piss you off, with the messages that say, "Scroll down and watch!" and you see a wave of the words, "HI!" or, "LOVE!" wave back and forth. Well, this is the antichrist, that lets you get them back by returning the favor. Laugh as their eyes go up in flames. Muahahahaha.

#include <stdio.h>

By: Nanosecond

This program was made for 14m3rs that like
to forward those annoying chain letters with
the "scroll down and watch, it's amazing!"


wave "yourwave" > textfile.txt
(yourwave must be one word or it'll screw up =P)
(the "> textfile.txt" part is handled by your OS)

Ok, you'll be at a blank prompt. Type in a #, however
long you want the wave to be. Then open up textfile.txt
or whatever you named it, and copy and paste it into
your e-mail.

#define FALSE 0 /* Becase C has no bools or enums' */
#define TRUE 1

void main(int argc, char *argv[])
int length = 0;
int i = 0;
int x = 0;
int j = 0;
unsigned short flip = FALSE; /* No point in it taking extra memory */

if(argv[1] == NULL)
printf("You need an argument =P");

scanf("%d", &length);
if(length > 500)
printf("Go back and try again...30MB txt file _bad_");
for(i = 0; i <= length; i++)
for(x = 0; x < j+5; x++)
printf(" ");
if(j == 5)
flip = TRUE;
if(j == -5)
flip = FALSE;
for(x = 1; x < argc; x++) /*Skip 0 argument, that's the path*/
printf("%s", argv[x]);

Log in or register to write something here or to contact authors.