// ******************************************************************************** //
// **Creator:    Dazzle                Licence:      Diku Merc Rom Terms         ** //
// **Difficulty:    0                  Snippet:      Murphy's Laws               ** // 
// ******************************************************************************** //
// **                           Contact Information                              ** //
// **Yahoo:      ldevil.geo                 Msn:          ldevil@hotmail.com     ** //
// **Aim:        pocketweasle               Email:      sandstorm@arthmoor.com   ** //
// **Webpage:    http://sandstorm.arthmoor.com                                   ** //
// ******************************************************************************** //
// **Terms of Usage:                                                             ** //
// **Follow the Diku, Merc, Rom Licences, also, if you have a snippet helpfile   ** //
// **Put my name in there, if not, leave my name in the source.                  ** //
// **Also, this code is given AS-IS, straight from my mud, so there will be some ** //
// **Effort required to make this work in your mud.                              ** //
// **Install at your own risk, if you have any comments or questions on this     ** //
// **Visit the website mentioned above, and enter the forum, post and bugs or    ** //
// **suggestions there.                                                          ** //
// ******************************************************************************** //


All this system does is drop famous last words, and murphy's laws when you want to.
I use these in my integrated webserver at the bottom of every webpage, it chooses
either famous-last-words or murphys law, and then prints them to the page.

I am sure someone could use this on other things.  This is really simple, anyone
could code it, thus why i released it :)

char *famous_last_words(void)
{
	switch(number_range(0, 10))
	{
		default:
			return "They're only Kobolds..";
		case 0:
			return "The Gun isn't Loaded";
		case 1:
			return "Its just a Baby Dragon";
		case 2:
			return "Goblins can't see in the dark";
		case 3:
			return "Common!  We can take'em!";
		case 4:
			return "They're Only Kobolds...";
		case 5:
			return "I can handle this by myself thanks.";
		case 6:
			return "I'd Love to be around when a mage says 'Ooops'";
		case 7:
			return "You take them, and I'll go for the big guy.";
		case 8:
			return "Heh, squirrels are for newbies!";
		case 9:
			return "Hey guys!  Watch this!";
		case 10:
			return "They'll never know if I pk out of range.";
	}
	return "Heh, squirrels are for newbies!";
}

char *murphys_laws(void)
{
	char ar[20][LBUF];

	snprintf(ar[0], LBUF, "Nothing is as easy as it looks.\n\r");
	snprintf(ar[1], LBUF, "Everything takes longer than you think.\n\r");
	snprintf(ar[2], LBUF, "Anything that can go wrong will go wrong.\n\r");
	snprintf(ar[3], LBUF, "If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong.\n\r");
	snprintf(ar[4], LBUF, "If there is a worse time for something to go wrong, it will happen then.\n\r");
	snprintf(ar[5], LBUF, "If anything simply cannot go wrong, it will anyway.\n\r");
	snprintf(ar[6], LBUF, "If you perceive that there are four possible ways in which a procedure can go wrong, and circumvent these, then a fifth way, unprepared for, will promptly develop.\n\r");
	snprintf(ar[7], LBUF, "Left to themselves, things tend to go from bad to worse.\n\r");
	snprintf(ar[8], LBUF, "If everything seems to be going well, you have obviously overlooked something.\n\r");
	snprintf(ar[9], LBUF, "Nature always sides with the hidden flaw.\n\r");
	snprintf(ar[10], LBUF, "Mother nature is a bitch.\n\r");
	snprintf(ar[11], LBUF, "It is impossible to make anything foolproof because fools are so ingenious.\n\r");
	snprintf(ar[12], LBUF, "Whenever you set out to do something, something else must be done first.\n\r");
	snprintf(ar[13], LBUF, "Every solution breeds new problems.\n\r");
	snprintf(ar[14], LBUF, "Trust everybody ... then cut the cards.\n\r");
	snprintf(ar[15], LBUF, "Two wrongs are only the beginning.\n\r");
	snprintf(ar[16], LBUF, "If at first you don't succeed, destroy all evidence that you tried.\n\r");
	snprintf(ar[17], LBUF, "To succeed in politics, it is often necessary to rise above your principles.\n\r");
	snprintf(ar[18], LBUF, "Exceptions prove the rule ... and wreck the budget.\n\r");
	snprintf(ar[19], LBUF, "Success always occurs in private, and failure in full view.\n\r");
	return (ar[number_range(0, 19)]);
}