Advertisement
Xyzzy

MultiFloorLift - 3floor-drv

Jan 19th, 2013
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. local inS = "right"
  2. local otS = "left"
  3.  
  4. function Pulse(nColors)
  5.   rs.setBundledOutput(otS, nColors)
  6.   sleep(0.2)
  7.   rs.setBundledOutput(otS, 0)
  8. end
  9.  
  10.  
  11. Pulse(colors.magenta)
  12. sleep(3)
  13. shell.run("startup")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement