Advertisement
Guest User

list

a guest
Jul 31st, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. items = {}
  2. menge = {}
  3. col = term.setBackgroundColor
  4. col(colors.white)
  5. term.clear()
  6.  
  7. function Win(x,y,color)
  8. for i = y,15 do
  9. term.setCursorPos(x,i)
  10. col(color)
  11. print("                   ")
  12. end
  13. end
  14.  
  15. Win(5,4,colors.lightGray)
  16. Win(29,4,colors.lightGray)
  17. function addItem()
  18. it = io.read()
  19. table.insert(items,it,it)
  20. end
  21. function File()
  22. fs.makeDir("LIST")
  23. end
  24. File()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement