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 Forceshock

Date:05/18/05
Author:Mike Gogulski
URL:n/a
Comments:0
Info:http://www.forceshock.net/
Score: (1.71 in 7 votes)
-- Forceshock version of 99 Bottles of Beer
-- By Mike Gogulski <mike@gogulski.com> 21 March 2005
-- Forceshock is an embedded scripting language for game hacking, based on Lua
--
-- Tested with:
--   Forceshock Pro 0.993 (http://www.forceshock.net/)
--   under Windows 2000 (http://www.microsoft.com/)
--
-- Save as 99bottles.fss on your desktop and double-click the file
 
OpenConsole()
SetConsoleTitle("99 Bottles of Beer")
bottles = 99
while bottles > 0 do
 PrintConsoleLine(IntToStr(bottles).." bottles of beer on the wall,")
 PrintConsoleLine(IntToStr(bottles).." bottles of beer!")
 PrintConsoleLine("Take one down, pass it around,")
 bottles = bottles - 1
 PrintConsoleLine(IntToStr(bottles).." 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: