Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Advanced()
- shell.run("delete Control")
- shell.run("pastebin get n6eLng4w Control")
- shell.run("delete Commands")
- shell.run("pastebin get iZD0Tp5d Commands")
- shell.run("Control")
- end
- function Normal()
- shell.run("delete Control")
- shell.run("pastebin get r8a8QKhB Control")
- shell.run("delete Commands")
- shell.run("pastebin get n9yHrmv4 Commands")
- shell.run("Control")
- end
- function clear()
- term.clear()
- term.setCursorPos (1,1)
- end
- while true do
- clear()
- print [[Press A for Advanced Computer.
- Press S for Standard Computer.]]
- local event, param1 = os.pullEvent ("char")
- if param1 == "a" then
- clear()
- Advanced()
- break
- elseif param1 == "s" then
- clear()
- Normal()
- break
- else
- clear()
- print ("Wrong button!")
- sleep (1)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement