Advertisement
craftyoyo

turtle atack web

Oct 31st, 2015
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. term.clear()
  2. term.setCursorPos(10,7)
  3.  
  4. i=0
  5.  
  6. while true
  7.   do
  8.     if turtle.attack() then
  9. --      term.clear()
  10.       term.setCursorPos(10,7)
  11.       i = http.get("http://morya.esy.es/turtle/get.php").readAll()
  12.       print(i)
  13.       http.get("http://morya.esy.es/turtle/put.php").readAll()
  14.     end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement