Posted 17 April 2014 - 04:54 PM
im trying to create a warning for my forcefield when it is on (because it pretty much insta kills everyone)
and it is not working, the code i am using is this:
this is the first time im using this in a VERY long time so i dont see any problems with it…
Hope anyone can help :)/>/>
and it is not working, the code i am using is this:
monitor = peripheral.wrap("top")
i = 1
repeat
monitor.clear()
i = i + 1
if redstone.getInput("back",true) then
monitor.write("Forcefield is ON!")
else
monitor.write('Forcefield is OFF!")
end
if i == 99 then
os.reboot()
end
until i == 100
this is the first time im using this in a VERY long time so i dont see any problems with it…
Hope anyone can help :)/>/>
Edited on 17 April 2014 - 03:44 PM