Advertisement
bob558

SG_Test_004

May 25th, 2017
176
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local comp = require("component")
  2. local sg = comp.stargate
  3. local term = require("term")
  4. local key_neth = 'W9MX-YD7-MF'
  5.  
  6. function main()
  7.   term.clear()
  8.  
  9.   sg.dial(address)
  10.   os.sleep(10)
  11.   sg.disconnect()
  12. end
  13.  
  14.  local address = key_neth
  15.  
  16. while true do
  17.  main()
  18. end
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement