Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.clear()
- term.setCursorPos(1, 1)
- term.setTextColor(colors.lightGray)
- print("--------------------------")
- print("---")
- term.setTextColor(colors.lightBlue)
- term.setCursorPos(4, 2)
- print("Bubble Bot Computers")
- term.setTextColor(colors.lightGray)
- term.setCursorPos(24, 2)
- print("---")
- print("--------------------------")
- term.setTextColor(colors.white)
- term.setCursorPos(1, 5)
- print("[1] Chat")
- term.setCursorPos(1, 7)
- print("[2] Calculator")
- term.setCursorPos(1, 9)
- print("[3] NotePad")
- term.setCursorPos(1, 11)
- print("[4] Games")
- term.setCursorPos(1, 13)
- print("[5] Comp. Info")
- term.setCursorPos(1, 15)
- print("[6] Options")
- term.setCursorPos(1, 17)
- print("[7] Sleep")
- local sEvent, param = os.pullEvent("key")
- if(sEvent == "key" ) then
- if(param == 50) then
- term.clear()
- term.setCursorPos(1, 1)
- print("Bubble Bot Computers V4.1.1")
- print("Remote [1]")
- print("Chat [2]")
- print("Calculator [3]")
- print("NumberGame [4]")
- print("2048 [5]")
- print("Comp. Info [6]")
- print("Options [7]")
- print("Reboot [8]")
- print("Shutdown [9]")
- elseif(param == 2) then
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("chat")
- elseif(param == 3) then
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("calculator")
- elseif(param == 4) then
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("notes")
- elseif(param == 5) then
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("games")
- elseif(param == 6) then
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("id")
- sleep(5)
- shell.run("menu")
- elseif(param == 7) then
- term.clear()
- term.setCursorPos(1, 1)
- shell.run("options")
- elseif(param == 8) then
- sleep(.5)
- term.clear()
- term.setCursorPos(1, 1)
- sleep(.5)
- textutils.slowPrint("Goodbye...")
- sleep(2.5)
- os.shutdown()
- else
- shell.run("menu")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement