Voting

Category

real language

Bookmarking

Del.icio.us Digg Diigo DZone Earthlink Google Kick.ie
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language MoH script

Date:10/09/06
Author:Hal / @(...:.:...)@
URL:http://www.modtheater.com/forum/
Comments:0
Info:http://map.planetmedalofhonor.gamespy.com/mohaa/t.php?id=82
Score: (3.00 in 4 votes)
// 99 bottles of beer song in Medal of Honor script (Quake 3 engine)
//Hal / @(...:.:...)@
//http://www.modtheater.com/forum/
//Info on language: http://map.planetmedalofhonor.gamespy.com/mohaa/t.php?id=82

main:
	for(local.a = 99;local.a > 0;local.a --)
	{
		println ((local.beercount) + "bottles of beer on the wall, " + (local.beercount) + " bottles of
beer.")
		
		if(local.a > 1)
		{
			println ("Take one down and pass it around, " + (local.beercount - 1) + " bottles of beer on the
wall.")
		}
		else
		{
			println "No more bottles of beer on the wall, no more bottles of beer."
		}
		println " "	//Add blank line
	}
	
	println "No more bottles of beer on the wall, no more bottles of beer."
	printlnbold "Go to the store and buy some more, 99 bottles of beer on the wall."
end

Download Source | Write Comment

Alternative Versions

Comments

Download Source | Write Comment

Add Comment

Please provide a value for the fields Name, Comment and Security Code.
This is a gravatar-friendly website.
E-mail addresses will never be shown.
Enter your e-mail address to use your gravatar.

Please don't post large portions of code here! Use the form to submit new examples or updates instead!

Name:

eMail:

URL:

Security Code:
  
Comment: