Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mon = require "mon+"
- local ext = peripheral.wrap("ic2:extractor_0")
- local m = peripheral.wrap("top")
- function pd(text)
- print(text)
- if text ~= nil then
- m.clearLine()
- mon.write("top", 1, 1, 1, text, "white", true)
- end
- end
- while true do
- curData = ext.getMetadata(7)
- if curData ~= nil then
- local out = curData.diplayName
- pd(out)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement