Posted 17 June 2012 - 04:30 PM
So i want my computer to wait for a redstone input when i run the program??
how do i do it?
how do i do it?
while true do
os.pullEvent("redstone") -- wait for a "redstone" event
if rs.getInput("left") then -- check the input
-- do something here
end
end