Guest User

stargate system lua

a guest
Jan 6th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. sg = peripheral.wrap("stargate_0")
  2. print("STARGATE-OA13-QWU-NL")
  3. print("1.Dial stargate")
  4. print("2.Close stargate")
  5. print("3.Open Iris")
  6. print("4.Close Iris")
  7. choice = read()
  8. if choice==1 then
  9. print("Gate adress:")
  10. adress = read()
  11. sg.dial(adress)
  12. end
  13. if choice==2 then
  14. sg.disconnect()
  15. end
  16. if choice==3 then
  17. sg.openIris()
  18. end
  19. if choice==4 then
  20. sg.closeIris()
  21. end
  22. shell.run("clear")
  23. shell.run("startup")
Advertisement
Add Comment
Please, Sign In to add comment