BillBodkin

gpsHostSetup

Oct 17th, 2021 (edited)
1,101
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. args = {...}
  2. local file = fs.open("startup.lua", "w")
  3. file.write("shell.execute(\"gps\", \"host\", \"" .. args[1] .. "\", \"" .. args[2] .. "\", \"" .. args[3] .. "\")")
  4. os.reboot()
  5. file.close()
RAW Paste Data