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 Clan Lord's macro

Date:05/28/05
Author:Jerome Lefebvre
URL:n/a
Comments:0
Info:n/a
Score: (4.00 in 1 votes)
// Based http://www.clmacros.com/view.php?id=4
// modified the format a tad, match it more closely 
// to the other songs' format

singmacro
{
    set @env.key_interrupts true
    set @env.click_interrupts false

    set bottles 5
    pause 5
    label singtop
    
    bottles " bottles of beer on the wall, " bottles " bottles of beer,\r"
    pause 5
    "take one down, pass it around,\r"
    pause 5
    set bottles - 1
    bottles " bottles of beer on the wall.\r"
    pause 5
    if bottles != 1
        goto singtop
    end if

    "1 bottle of beer on the wall, 1 bottle of beer,\r"
    pause 5
    "take one down, pass it around,\r
    pause 5
    "no more bottles of beer on the wall.\r'"
}

"/sing" call singmacro
"\sing" call singmacr

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: