Jump to content

maxime_vhw

Members
  • Posts

    4
  • Joined

  • Last visited

About maxime_vhw

  • Birthday 04/05/1997

maxime_vhw's Achievements

Dirt

Dirt (1/9)

0

Reputation

  1. insert this if you dont want to enter the ID. To turn on. rednet.open("right") rednet.broadcast("lights-on") write("light are now on.") And to turn off. rednet.open("right") rednet.broadcast("lights-off") write("light are now off.")
  2. 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
×
×
  • Create New...