Advertisement
C07v0

Untitled

Apr 17th, 2013
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.54 KB | None | 0 0
  1. function downScreen()
  2.   term.setBackgroundColor(colors.blue)
  3.   for i = 1,20 do
  4.     print("                                                                       ")
  5.     sleep(0.5)
  6.   end
  7.   term.setBackgroundColor(colors.blue)
  8. end
  9. if term.isColor() then
  10.   downScreen()
  11.   term.setCursorPos(1,1)
  12.   print("Welcome to C07v0s color changer!")
  13.   term.write("Word: ")
  14.   local word = read()
  15.   term.setTextColor(colors.green)
  16.   print(word)
  17. end
  18. if not term.isColor() then
  19.   print("This program is only for advanced computers...........")
  20.   return
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement