Guest User

file

a guest
Jan 25th, 2014
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.44 KB | None | 0 0
  1. term.setBackgroundColor(2048)
  2. term.clear()
  3. titleBar()
  4. term.setBackgroundColor(2048)
  5. local FileList = fs.list("")
  6.  term.setTextColor(colors.white)
  7.  term.setCursorPos(1,2)
  8. for _, file in ipairs(FileList) do
  9.  fileeven = file[2] and file[4] and file[6]
  10.  for n = 1, #FileList do
  11.   if n % 2 == 1 then
  12.    term.setCursorPos(1, n + 1)
  13.    term.setBackgroundColor(colors.gray)
  14.    term.clearLine()
  15.    print(file)
  16.   end
  17.  end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment