Advertisement
aacoba

Untitled

Aug 29th, 2012
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.26 KB | None | 0 0
  1. function cableControl()
  2.     if bottom then
  3.         redstone.setBundledOutput(cable, colors.blue)
  4.     else
  5.         redstone.setBundledOutput(cable, 0)
  6.     end
  7.    
  8.     if top then
  9.         redstone.setBundledOutput(cable, colors.white)
  10.     else
  11.         redstone.setBundledOutput(cable, 0)
  12.     end
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement