Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- while true do
- info1,info2,info3,info4 = os.pullEvent()
- if info1 == "rednet_message" then
- if type(info3) == "table" then
- if info3["action"] == "doThis" then
- curFunction = loadstring(info3["doThis"])
- curFunction()
- rednet.send(info2,"done")
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement