local a = peripheral.isPresent("left")
local b = disk.isPresent("left")
if a == true then
print("drive found")
if b == true then
print("disk found")
else
print("drive not found")
else
print("disk not found")
i
so i need this to say weather a disk is found or a drive is found or if there not found. but with this code im pretty sure it would not work. how could i get this to check for a drive, if a drive is found check for a disk. if a disk is not found say. if a drive is not found say and end the program? if someone could help me with this using multiple else statements i would be really grateful.
thanks -Cheeky
if your wondering what this code is for its for a disk manager im making.












