Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- tom.gui()
- tom.welcome()
- by = 5
- button.makeButton(by, "TERMINAL")
- by = by +2
- button.makeButton(by, "PROGRAMS")
- by = by +2
- button.makeButton(by, "SHUTDOWN")
- local option = button.selectButton(5,3)
- if option == 1 then
- shell.run("/os/term")
- elseif option == 2 then
- shell.run("/os/progms")
- elseif option == 3 then
- shell.run("/os/shut")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement