Posted 02 September 2014 - 03:22 AM
I'm trying to get the monitor, single monitor, to change various aspects and trigger a redstone signal out the right side, I keep getting a expected string, boolean on line 27
Here's the code, any help woul be thankful :)/>
P.S. here is the rest of my stuff, only this and another file atm https://github.com/P...24/Singularitys
I'm trying to make a program to switch between quantum singularitys in my base, multiple computers.
mon = peripheral.wrap("top")
if rednet.isOpen() == false then
rednet.open("left")
active()
else
active()
end
function active()
rednet.send(202, "I'm Online!")
load()
end
function load()
sleep(5)
mon.clear()
mon.setBackgroundColor(colors.green)
mon.clear()
mon.setTextScale(1)
mon.setCursorPos(2, 3)
mon.write("Ready")
touch()
end
function touch()
if os.pullEvent("monitor_touch")then
redstone.setOutput("top", true)
os.sleep(3)
mon.clear()
mon.setBackgroundColor(colors.red)
mon.clear()
mon.setCursorPos(1, 3)
mon.write("Working")
end
if os.pullEvent("monitor_touch") then
redstone.setOutput("top", false)
os.sleep(3)
load()
end
end
Here's the code, any help woul be thankful :)/>
P.S. here is the rest of my stuff, only this and another file atm https://github.com/P...24/Singularitys
I'm trying to make a program to switch between quantum singularitys in my base, multiple computers.