This Basicly Checks the Disk Drive…
If you want the code:


rednet.open("back")
local AudioName = (disk.getAudioTitle("left"))
if (disk.isPresent("left")) and (disk.hasData("left")) then
print(disk.getLabel("left"))
print(disk.getDiskID("left"))
end
if (disk.hasAudio("left")) then
rednet.send(1,AudioName, true) -- 1 is the PC that gets the Message
disk.eject("left")
end
print("Disk Check done.")

Im currently working on a Printer Checks but theres some Problems But here… you can have it :D/>

local m = peripheral.wrap("top")
while m.isPresent("top") do
while m.getPaperLevel() < 1 do
print("Warning! Less then 1 Paper in Printer!")
end
while m.getInkLevel() < 1 do
print("Warning! No ink in Printer!")
end
end
Doesnt Work!!!