Advertisement
NolanSyKinsley

Untitled

Mar 30th, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. function load("mapinfo")
  2.  
  3. local file = fs.open("mapinfo","r")
  4.  
  5. local data = file.readAll()
  6.  
  7. local map = peripheral.wrap("top")
  8.  
  9. file.close()
  10.  
  11. map.setMapInfo(textutils.unserialize(data))
  12.  
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement