libraryaddict

Untitled

Apr 8th, 2012
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. function IdleBoard() -- Displays when not in use
  2.     local bla = fs.open("Spleef", "r")
  3.     local SpleefPrint = ""
  4.     lib.Clear()
  5.     lib.size(1)
  6.     for line in bla:lines() do
  7.       SpleefPrint = SpleefPrint..line.."\n"
  8.     end
  9.     bla:close()
  10.   end
  11.   local bla = fs.open("Anime", "r")
  12.   local content = {}
  13.   for line in fp:lines() do
  14.       content[#content+1] = line
  15.   end
  16.   bla:close()
  17.   local start = 1
  18.   while true do
  19.     lib.Clear()
  20.     print(SpleefPrint)
  21.     for n=start,start+12 do
  22.       if content[start] then
  23.         print(content[start]
  24.         start = start+1
  25.       else
  26.         start = 1
  27.       end
  28.     end
  29.   end
  30. end
  31. sleep(10)
  32. IdleBoard()
Advertisement
Add Comment
Please, Sign In to add comment