emagiannu

IA Turtle Startup 1

May 29th, 2013
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. --Apro il canale rednet
  2. rednet.open("right")
  3. --ID del computer principale
  4. mainID = 96
  5.  
  6. while true do
  7.     id, m = rednet.receive()
  8.     print(m)
  9.     shell.run(m)
  10.     rednet.send(mainID, "ok")
  11. end
  12. rednet.close("right")
Advertisement
Add Comment
Please, Sign In to add comment