Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function load("mapinfo")
- local file = fs.open("mapinfo","r")
- local data = file.readAll()
- local map = peripheral.wrap("top")
- file.close()
- map.setMapInfo(textutils.unserialize(data))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement