Advertisement
Plazter

Simple way to workaround bundled.

Sep 8th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.32 KB | None | 0 0
  1. allColors = 1 + 2 + 4 + 8 + 16 + 32 + 64 + 128 + 256 + 512 + 1024 + 2048 + 4096 + 8192 + 16384 + 32768
  2. -- You can find the colors at this site: http://computercraft.info/wiki/Colors_(API)
  3.  
  4. function redOff()
  5.     rs.setBundledOutput(side, allColors - colors.red)
  6.     sleep(sleepTime)
  7.     rs.setBundledOutput(side, allColors)
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement