Advertisement
killer64

scramble

Mar 18th, 2013
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. local tArgs={...}
  2. if tArgs[1] then
  3. term.redirect(peripheral.wrap(tArgs[1]))
  4. peripheral.call(tArgs[1],"setTextScale",0.5)
  5. end
  6. local o=os.time()
  7. while os.time()<=o+0.1 do
  8. local Mx,My=term.getSize()
  9. for lx=1,Mx do
  10. for ly=1,My do
  11. term.setCursorPos(lx,ly)
  12. term.setBackgroundColor(2^math.random(0,15))
  13. term.setTextColor(2^math.random(0,15))
  14. term.write(string.char(math.random(0,255)))
  15. end
  16. end
  17. os.queueEvent("nope")
  18. os.pullEvent()
  19. end
  20. term.clear()
  21. term.setCursorPos(1,1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement