EDIT: Whoops. Neglected first post. Ignore this for a moment.
EDIT2: Okay. So, first things first, you're gonna need to find the ids of the receiver computers. That's fairly easy, on the shell, just type id, and it will bring it up. Now, since I assume you are using a sorting system wherein each chest is filled with exactly one type of item, and there is one computer per chest (or close to it), it is not hard at all to change it to suit.
However, it will take time mostly because you need to know what computer does what, but here's my modifications to make it work with Chadd's code.
On the sender computer:
chestComps = {
["iron"] = ##, -- Make this the computer id for iron
["cobble"] = ##, -- Make this the computer id for cobblestone.
-- Add more computer ids and item keys here, so they match this format
["item name"] = compID
}
rednet.open("side") -- Edit this
term.clear()
term.setCursorPos(1,1)
print("Access which item's computer?")
write("\n> ")
id = tolower(read())
print("Turn computer on or off?")
write("\n> ")
status = read()
if status == "On" or status == "on" then
rednet.send(chestComps[id], "on")
print("\nRednet Computer for Item \"", id, "\" Has Been Turned On!")
os.sleep(2)
os.reboot()
elseif status == "Off" or status == "off" then
rednet.send(chestComps[id], "off") -- Edit this also
print("\nRednet Computer for Item \"", id, "\" Has Been Turned Off!")
os.sleep(2)
os.reboot()
end
And this is a very sloppy mod, but it should work. Also, the receiver code does not need to change.