xuma202

Untitled

Aug 2nd, 2012
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.56 KB | None | 0 0
  1. function printscr1()
  2.   mon.setTextScale(4)
  3.   mon.setCursorPos(2, 4)
  4.   mon.write("Your ads here!")
  5.   mon.setCursorPos(3, 5)
  6.   mon.write("coming  soon")
  7.   mon.setCursorPos(6, 7)
  8.   mon.write("Google")
  9. end
  10.  
  11. function printscr2()
  12.   mon.setTextScale(4)
  13.   mon.setCursorPos(2, 4)
  14.   mon.write("easy to set up")
  15.   mon.setCursorPos(2, 5)
  16.   mon.write("but  effective")
  17.   mon.setCursorPos(6, 7)
  18.   mon.write("Google")
  19. end
  20.  
  21.  
  22. mon = peripheral.wrap("back")
  23.  
  24. while true do
  25.   mon.clear()
  26.   printscr1()
  27.   sleep(2.5)
  28.   mon.clear()
  29.   printscr2()
  30.   sleep(2.5)
  31. end
Advertisement
Add Comment
Please, Sign In to add comment