Language TinTin++
(new version)
| Date: | 05/30/05 |
| Author: | Igor van den Hoven |
| URL: | n/a |
| Comments: | 0 |
| Info: | http://tintin.sourceforge.net |
| Score: |
/*
99 Bottles of beer for TinTin++ (Mud Client)
*/
#loop {99 1}
{
#showme {@beer{$loop} on the wall};
#showme {@beer{$loop}......};
#showme {Take one down pass it around, @beer{$loop-1} on the wall.\n}
}
#function {beer}
{
#math {val} {&0};
#if {$val == 1}
{
#variable {result} {$var bottle of beer}
}
{
#if {$val == 0}
{
#variable {result} {No more bottles of beer}
}
{
#variable {result} {$val bottles of beer}
}
}
}
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