/* 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} } } }