Difference between revisions of "Term.isColor"
From ComputerCraft Wiki
(much, much, MUCH, better code example!) |
(whoops, no one saw this :P) |
||
Line 17: | Line 17: | ||
elseif term.isColor() then | elseif term.isColor() then | ||
print("This is an advanced computer, go crazy with the colours!") | print("This is an advanced computer, go crazy with the colours!") | ||
− | + | ||
-- all checks failed, meaning that it is a normal computer | -- all checks failed, meaning that it is a normal computer | ||
else | else |
Latest revision as of 18:30, 2 December 2013
Function term.isColor | |
Returns true if it's an advanced computer. | |
Syntax | term.isColor() |
Returns | boolean returns true if it's an advanced computer. |
Part of | ComputerCraft |
API | term |