Lion4ever

remote turtle program

Sep 8th, 2013
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.13 KB | None | 0 0
  1. peripheral.find("modem").open(os.getComputerID())
  2. while true do
  3. local a,b = rednet.receive()
  4. if turtle[b] then
  5. turtle[b]()
  6. end
  7. end
Advertisement
Add Comment
Please, Sign In to add comment