Advertisement
Chaos_Cash

bridge builder turtle

Aug 19th, 2024 (edited)
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. rednet.open("right")
  2.  
  3. while true do
  4. info1,info2,info3,info4 = os.pullEvent()
  5.  
  6. if info1 == "rednet_message" then
  7.  
  8. if type(info3) == "table" then
  9.  
  10. if info3["action"] == "doThis" then
  11. curFunction = loadstring(info3["doThis"])
  12. curFunction()
  13. rednet.send(info2,"done")
  14. end
  15.  
  16. end
  17.  
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement