ComedyCode.com
Home Categories Languages Random New Popular Links
Search 

Share This Code!
Send this code to a friend!

ComedyCode of the Week
Check out this week's highlighted snippet!

New Here?
Create an account and become a ComedyCoder today!




May 13, 2008

Most Embarassing Moment

<!--- Setup initial parameters --->
<cfset iAwakeStatus = 1>
<cfset iHungryStatus = 1>

<!--- Analyze current situation --->
<cfif iAwakeStatus Is 1 And iHungryStatus Is 1>
  <!--- Check what is for breakfast --->
  <cfexecute name="AnalyzeFridge" arguments="-meal breakfast" outputfile="./data/results.txt">

  <!--- Analyze results of breakfast check --->
  <cf_analyzeresults meal="breakfast">

  <!--- Check to see if all is ready --->
  <cfif iMealItemsRequired Is Not 0>
    <!--- Go to the store --->
	<cf_gotostore item="self">
	
	<!--- Pick up items at store --->
  	<cfloop collection="MealItemsRequired" index="i">
			<cf_pickupitem item="#MealItemsRequired[i]#">
	</cfloop>
	
	<!--- Pay for items --->
  	<cfloop collection="MealItemsRequired" index="i">
			<cf_payforitem item="#MealItemsRequired[i]#">
	</cfloop>
	
	<cfloop index="i" from="1" to="100">
		<cf_laughterengine volume="#i#">
	</cfloop>
	
	<cf_notice event="fly_is_down" parameters="hanging_out=true,crowd_is_staring=true>
	<cf_embarass mode="1" defense="run">
  </cfif>


Coded by: Bump in the Night (9)
View other ComedyCode by this comedycoder.
Send this comedycoder a message.
Submitted on: January 8, 2002
Category: Caught in the Act
Show me more Caught in the Act snippets.
Programming language: ColdFusion (CFML)
Show me more ColdFusion (CFML) snippets.
Viewed by: 4918 unique visitors


Ratings & Comments

The following ratings and comments have been submitted about this code:

Rating: Hilarious

By: Taxi


» Submit Code
» Login

Rate This Code!

Login or create an account.




Copyright © 2001-2004 - N-VisionIT Interactive
Website Design, Development & Hosting by N-VisionIT Interactive