real language

Bookmarking Digg Diigo DZone Earthlink Google
Windows Live LookLater Ma.gnolia Reddit Rojo StumbleUpon Technorati

Language mIRC

(standard version)

Author:Ryan Kusnery
Score: (3.00 in 2 votes)
99 Bottles of Beer in mIRC script:
From Ryan Kusnery

/beer99 {
  /set %bottles 99
  /set %beercolor 4
  /echo %beercolor %bottles bottles of beer on the wall.
  /echo %beercolor %bottles bottles of beer...
  /echo %beercolor Take one down, pass it around,
  /dec %bottles
  if (%bottles == 1) goto onebeer
  /echo %beercolor %bottles bottles of beer on the wall.
  /echo %beercolor $chr(160)
  goto morebeer
  /echo %beercolor One bottle of beer on the wall.
  /echo %beercolor $chr(160)
  /echo %beercolor One bottle of beer on the wall.
  /echo %beercolor One bottle of beer...
  /echo %beercolor Take it down, pass it around,
  /echo %beercolor No more bottles of beer on the wall.
  unset %bottles
  unset %beercolor

Download Source | Write Comment

Alternative Versions

shorter + faster versioncoolpix05/13/055
Correct plurals and uses more functions.IceShaman08/11/050


>>  RestAsured said on 07/19/05 18:30:35

RestAsured hm nice there any way to change it so it says it in the activate channel like...2 secs apart from each line/bottle of beer?

>>  Jose uceda said on 10/06/05 21:53:38

Jose uceda The echo command has a lot of parametres, one of them is -a. It dispays the text in the active window. If you combine it with the /timer command, you can assign an interval of time in seconds to delay the echo command. Its easy ;)

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!




Security Code: