This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
turtle5204's profile picture

Full Background Color

Started by turtle5204, 06 September 2013 - 08:38 PM
turtle5204 #1
Posted 06 September 2013 - 10:38 PM
Im trying this code to make the FULL background color

m.setBackgroundColour(colours.blue)
m.clear()
When i replace m with term, still same result.
It does not WORK. I want the background to stay blue until the os.sleep(30)'s timer goes off.
Lyqyd #2
Posted 06 September 2013 - 10:45 PM
There isn't a sleep(30) in that code at all, so clearly you're not showing us the whole code. Especially since that snippet would cause the whole screen to go blue, assuming m is a wrapped monitor or some such.

Post the whole code.
turtle5204 #3
Posted 07 September 2013 - 06:18 AM
No, I was taking code from the other requests for full background color, and the only code in them was that or that with the m replaced with term.

Oh, the whole code? O_O
Not posting the whole code. I'll be BANNED.

There isn't a sleep(30) in that code at all, so clearly you're not showing us the whole code. Especially since that snippet would cause the whole screen to go blue, assuming m is a wrapped monitor or some such.

Post the whole code.
WHOLE CODE? O_o not after that rednet hacking incident.
When I run that code, it says something about a nil.
I dont know much lua. Well, just dont ban me when I post the code.
Lyqyd #4
Posted 07 September 2013 - 12:04 PM
We don't provide assistance with malicious code.