Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. function automove()
  2. if aetherBeastCount > 0 then
  3. if LastMove == "southwest" then
  4. send("pilot steer east")
  5. elseif LastMove == "south" then
  6. send("pilot steer north")
  7. elseif LastMove == "east" then
  8. send("pilot steer north")
  9. elseif LastMove == "north" then
  10. send("pilot steer south")
  11. elseif LastMove == "west" then
  12. send("pilot steer east")
  13. end
  14. end
  15. if aetherBeastCount == 0 and LastMove == "southwest" then
  16. send("pilot steer west")
  17. elseif LastMove == "south" then
  18. send("pilot steer west")
  19. elseif LastMove == "east" then
  20. send("pilot steer west")
  21. elseif LastMove == "north" then
  22. send("pilot steer southwest")
  23. elseif LastMove == "west" then
  24. send("pilot steer west")
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement