Guest User

simple lua screensaver

a guest
Sep 29th, 2012
260
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. local mon = peripheral.wrap("top")
  2. local bx,by = mon.getSize()
  3. while true do
  4. local x = math.random(1,bx)
  5. local y = math.random(1,by)
  6. mon.setCursorPos(x,y)
  7. mon.write("o")
  8. sleep(2)
  9. mon.clear()
  10. sleep(2)
  11. end
Advertisement
Add Comment
Please, Sign In to add comment