Posted 17 April 2016 - 01:32 AM
Hello. I am trying to make a wireless detector in tekkit lite to see if my nether pumps are activated. i am having trouble getting the signal to transmit, however. Could someone go over my code and see if there is any mistakes? Thanks.
Receiving end:
Broadcasting end:
Receiving end:
rednet.open ("top")
rednet.receive()
end
os.pullEvent(modem.message)
if param4 == ("1") true then
print ("LAVA PUMPS ACTIVE")
else
print ("LAVA PUMPS DEACTIVATED/MISSING")
end
Broadcasting end:
rednet.open ("left")
if redstone.getInput ("bottom") == true then
rednet.broadcast (1)
end