Posted 27 September 2012 - 02:08 AM
Hello, I need help I need this program to stop yielding, I need this to run On and On and On
term.clear()
term.setCursorPos(1,1)
function main()
while true do
if rs.testBundledInput("left", colors.black) == false then
shell.run("monitor", "back", "offline")
if rs.testBundledInput("left", colors.black) == true then
if rs.testBundledInput("left", colors.lime) == false then
shell.run("monitor", "back", "statusb")
end
end
if rs.testBundledInput("left", colors.lime) == true then
if rs.testBundledInput("left", colors.yellow) == false then
shell.run("monitor", "back", "statusg")
end
end
if rs.testBundledInput("left", colors.yellow) == true then
if rs.testBundledInput("left", colors.white) == false then
shell.run("monitor", "back", "statusy")
end
end
if rs.testBundledInput("left", colors.white) == true then
shell.run("monitor", "back", "statusw")
end
end
end
end
main()
Can I get some help please? I need to know how to stop it from yielding.
term.clear()
term.setCursorPos(1,1)
function main()
while true do
if rs.testBundledInput("left", colors.black) == false then
shell.run("monitor", "back", "offline")
if rs.testBundledInput("left", colors.black) == true then
if rs.testBundledInput("left", colors.lime) == false then
shell.run("monitor", "back", "statusb")
end
end
if rs.testBundledInput("left", colors.lime) == true then
if rs.testBundledInput("left", colors.yellow) == false then
shell.run("monitor", "back", "statusg")
end
end
if rs.testBundledInput("left", colors.yellow) == true then
if rs.testBundledInput("left", colors.white) == false then
shell.run("monitor", "back", "statusy")
end
end
if rs.testBundledInput("left", colors.white) == true then
shell.run("monitor", "back", "statusw")
end
end
end
end
main()
Can I get some help please? I need to know how to stop it from yielding.