Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --RUN WITH ' pastebin run ykTU74PF '
- --FOR USE WITH GREG's SGCRAFT ALSO KNOWN AS THE STARGATE MOD
- --TO CUSTOMIZE THIS FOR YOURSELF, YOU WILL NEED BASIC UNDERSTANDING OF LUA
- --THAT IS ALL. HAPPY PORTALLING
- name = os.getComputerLabel()
- while name == nil do
- term.write("Enter computer label: ")
- os.setComputerLabel(read())
- name = os.getComputerLabel()
- end
- kind = string.sub(name,1,4)
- if kind == "cont" then
- shell.run("pastebin get 3iznHe8T startup") -for original without comments use wUqcnmsi
- shell.run("pastebin get be4XiawB button")
- print("Make sure you have a 4x3 monitor to the right, and a wireless modem to the left!")
- print("Rebooting in 7 seconds.")
- sleep(7)
- elseif kind == "gate" then
- shell.run("pastebin get PQvDitee startup")
- print("Make sure you have an entire stargate setup to the right, and a wireless modem to the left!")
- print("Rebooting in 7 seconds.")
- sleep(7)
- else
- print("Incorrect setup, if you are a controller make sure you label starts with 'control' and if you are a gate operator that your label starts with 'gate'.")
- end
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement