Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. local oldWrite = term.write
  2. local oldClear = term.clear
  3. local oldCursor = term.setCursorBlink
  4. local oldVer = os.version
  5.  
  6. term.write = function(text)
  7. if term.isColor() then term.setTextColor(colors.lime); term.setBackgroundColor(colors.green);
  8. end
  9. oldWrite(text)
  10. end
  11.  
  12. term.setCursorBlink = function(boolean)
  13. if term.isColor() then term.setTextColor(colors.lime)
  14. end
  15.  
  16. if boolean then oldCursor(true)
  17.  
  18. else
  19. oldCursor(false)
  20. end
  21. end
  22.  
  23. term.clear = function()
  24. if term.isColor() then term.setBackgroundColor(colors.green) oldClear() end
  25. end
  26.  
  27. os.version = function()
  28. print("HackOS 9000.1")
  29. end
  30.  
  31. term.clear()
  32. term.setCursorPos(1,1)
  33. print(os.version())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement