Advertisement
charlesthepenguin

warp

Jul 28th, 2020
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. local c = require("component")
  2. local term = require("term")
  3. local component = require("component")
  4. local event = require("event")
  5. local serialization = require("serialization")
  6. local gpu = component.gpu
  7. local tun = component.tunnel
  8. local w, h = gpu.getResolution()
  9. gpu.fill(1, 1, w, h, " ")
  10. local asd = 1
  11. local port = 123
  12. local os = require("os")
  13.  
  14. local address
  15. repeat
  16. term.clear(true)
  17. print("Warp Computer")
  18. print("")
  19. print("Travel between dimensions? y/n")
  20. num = io.read()
  21. print()
  22. if answer == "y" then
  23. print("Traveling.")
  24. tun.send(port, "warp")
  25. print("Command sent.")
  26. os.sleep(5)
  27.  
  28. elseif
  29. print("Aborted")
  30. os.sleep(5)
  31.  
  32. else
  33. print("UNKNOWN ERROR")
  34. os.sleep(5)
  35. end
  36. until asd == 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement