Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- component = require("component")
- sg = component.getPrimary("stargate")
- local term = require("term")
- while true do
- print("Type any address that you want to dial.")
- add = io.read()
- sg.disconnect()
- sg.dial(add)
- os.sleep(5)
- term.clear()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement