Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open'right'
- repeat
- local id,msg,dis=rednet.receive()
- local f,e=loadstring(msg)
- if f then
- local r,err=coroutine.resume(coroutine.create(f))
- if not r then
- print(err)
- rednet.send(id,err)
- end
- else
- print(e)
- rednet.send(id,e)
- end
- until _
Advertisement
Add Comment
Please, Sign In to add comment