Advertisement
kyle1320

Untitled

Mar 22nd, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. os.loadAPI("spiral")
  2. os.loadAPI("file")
  3.  
  4. state = file.read("state")
  5.  
  6. if state ~= nil then
  7. dists = state[1]
  8. is = state[2]
  9. js = state[3]
  10. end
  11.  
  12. if dists == nil then
  13. dists = 1
  14. end
  15. if is == nil then
  16. is = 1
  17. end
  18. if js == nil then
  19. js = 1
  20. end
  21.  
  22. spiral.start(dists, is, js)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement