Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function move()
- redstone.setOutput("left",true)
- sleep(2)
- redstone.setOutput("left",false)
- end
- function monitor()
- while true do
- local id,msg,dist = rednet.receive()
- func = loadstring(msg.."(..)")
- setfenv(func, getfenv())
- func(id)
- rednet.send(id,"Done")
- end
- end
- move()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement