1511 posts
Location
Pennsylvania
Posted 04 March 2013 - 07:22 PM
local beer = 99
while true do
term.clear()
term.setCursorPos(1,1)
if not beer == 0 then
print([[beer.." bottle(s) of beer on the wall! "..beer.." bottle(s) of beer! Take one down pass it around, "..beer-1.." bottle(s) of beer on the wall"]])
beer = (beer-1)
sleep(1.5)
else
return print("No more bottles of beer on the wall!")
end
end
Just got really, really, bored… Hope you like it! (No I don't)
1214 posts
Location
The Sammich Kingdom
Posted 04 March 2013 - 07:44 PM
Somebody got really bored :P/>
1511 posts
Location
Pennsylvania
Posted 04 March 2013 - 07:51 PM
Somebody got really bored :P/>
Just a bit :D/>
Wait! There is nothing like this on CC Forums is there. HA! Finally made something that no one else has made :D/>
2088 posts
Location
South Africa
Posted 05 March 2013 - 01:29 AM
It's a shame that it doesn't work ;P
992 posts
Posted 05 March 2013 - 03:46 AM
for beer = 99,1,-1 do
term.clear()
term.setCursorPos(1,1)
print( beer.." bottles of beer on the wall "..beer.." bottles of beer. You take one down pass it around "..(beer - 1).." bottles of beer on the wall.")
sleep(1.5)
end
print("No more bottles of beer on the wall!")
compact
1511 posts
Location
Pennsylvania
Posted 05 March 2013 - 09:01 AM
It's a shame that it doesn't work ;P
i never did test it :)/> Oh well, it was 4 am when i made it