Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Modem Api--
- if rednet.isOpen("top") == false then
- rednet.open("top")
- end
- function send(id,msg,proto)
- rednet.send(id,msg,proto)
- end
- function receive(id,timer,proto)
- event,msg,prot = rednet.receive(proto,timer)
- return msg
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement