Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function findDev (dType)
- local d
- for _,d in pairs(peripheral.getNames()) do
- if (peripheral.getType(d) == dType) then
- return peripheral.wrap(d)
- end
- end
- return nil, dType..": not found"
- end
- m=findDev("monitor")
- m.write("Hey I hope you don't mind, but I used some of your mats. Your ME system is fixed now, just watch your channel use. If you have any qusetings just ask")
- m.write("Xeno")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement