Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Title: Redstone Control
- --Version: 1
- --Last Revised: N/A
- --Last Revised By: N/A
- --Author: TangentDelta (alias Hydrogen)
- --Platform: ComputerCraft LUA Virtual Machine
- --Notes: Best to be used along side redpower!
- d = "bottom"
- f = "front"
- u = "top"
- b = "back"
- r = "right"
- on = true
- off = false
- step = 1
- local function wire(direction,state)
- redstone.setOutput(direction,state)
- sleep(step)
- end
- -- format to use: wire(DIRECTION,STATE)
- --direction is configurable up at the top in the configuration header
- --state is also configurable, in the configuration header
- --I've also provided a way to control the speed, controlled by "step"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement