Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function name(localf = mec.getFreeBytes())
- end
- local mec = peripheral.wrap("bottom")
- local totalf = mec.getFreeBytes()
- local totalb = mec.getTotalBytes()
- storagePercent = mec.getFreeBytes()*100/mec.getTotalBytes()
- function test(num, idp)
- local mult = 10^(idp or 0)
- end
- term.setTextColor(colors.purple)
- print("Free Space:")
- if mec.getFreeBytes() == 0 then
- print(totalf,0," bytes (No ME Drive Loaded)")
- else
- print(totalf,0," bytes")
- end
- print(" ")
- print("Total Space:")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement