Language mIRC
(standard version)
Date: | 04/20/05 |
Author: | Ryan Kusnery |
URL: | n/a |
Comments: | 2 |
Info: | n/a |
Score: | (3.00 in 2 votes) |
99 Bottles of Beer in mIRC script: From Ryan Kusnery http://members.tripod.com/rkusnery/index.html /beer99 { /set %bottles 99 /set %beercolor 4 :morebeer /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 :onebeer /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
Version | Author | Date | Comments | Rate |
---|---|---|---|---|
shorter + faster version | coolpix | 05/13/05 | 5 | |
Correct plurals and uses more functions. | IceShaman | 08/11/05 | 0 |
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
RestAsured said on 07/19/05 18:30:35
hm nice script...is 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
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