Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fw = peripheral.wrap("right")
- rednet.open("left")
- while true do
- id, message = rednet.receive()
- if id == 35 and message == "fire" then fw.launch(1, math.random(1,8), math.random(1,8), math.random(1,8))
- end
- end
Add Comment
Please, Sign In to add comment