Language Halo Script
(Prints)
Date: | 07/12/07 |
Author: | Bacon |
URL: | http://home.oasis-games.com |
Comments: | 2 |
Info: | n/a |
Score: | ![]() |
(global real bottles 99) (script continuous drinkBeer (if (> bottles 1) (begin (inspect bottles) (print "bottles of beer on the wall!") (inspect bottles) (print "bottles of beer!") (print "Take one down, pass it around") (set bottles (- bottles 1)) (inspect bottles) (print "bottles of beer on the wall!") (print " ") ) ) (if (= bottles 1) (begin (print "One bottle of beer on the wall") (print "One last bottle of beer!") (print "Take it down, pass it around") (print "No more bottles of beer on the wall!") (print " ") (print "No bottles of beer on the wall") (print "No more bottles of beer!") (print "Go to the store, buy some more") (print "99 bottles of beer on the wall!") (set bottles -1) (print " ") ) ) )
Download Source | Write Comment
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!
Comments