Jump to content




os.pullEvent with multiple loops


  • You cannot reply to this topic
20 replies to this topic

#21 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 17 October 2012 - 06:47 PM

Why not handle the monitor stuff in the same loop on its own timer?

rs.setBundledOutput("back", (colors.test(rs.getBundledOutput("back"), colors.blue) and colors.subtract(rs.getBundledOutput("back"), colors.blue) or colors.combine(rs.getBundledOutput("back"), colors.blue)))

That's nasty as a one-liner, but I think it would do the trick.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users