Tell me if you need some more help.
A.Receiver(controls the lights):
rednet.open("right")
a, b = rednet.receive()
if b == "lights-on" then
redstone.setOutput("back",true)
sleep("3")
shell.run("startup")
end
if b == "lights-off" then
redstone.setOutput("back",false)
sleep("3")
shell.run("startup")
end
Save it as receiver
2.startup file
shell.run("receiver")
B.Sender(used to control):
1.To turn on lights
rednet.open("right")
rednet.send(14, "lights-on")
Save as lights-on
2.To turn of lights
rednet.open("right")
rednet.send(14, "lights-off")
Save as lights-off