os.loadAPI("m") ------------------- if fs.exists("m") then --fs.delete("m") --shell.run("pastebin get nXvVUSuw m") term.clear() term.setCursorPos(1, 1) else shell.run("pastebin get nxvvusuw m") term.clear() term.write("Downloading Text API.") sleep(1) term.write(".") sleep(1) term.write(".") sleep(1) term.write(" Success") term.setCursorPos(1, 2) os.loadAPI("m") shell.run("m") end shell.run("m") ------------- mon2 = peripheral.wrap("left") monX, monY = mon2.getSize() mon2.setTextScale(1) ------------------- monx, mony = mon2.getSize() mon2.setBackgroundColor(colors.black) mon2.clear() mon2.setTextColor(colors.white) mon2.setTextScale(1) mon2.setCursorPos(1, 1) mon2.setBackgroundColor(colors.gray) mon2.write(string.rep(" ", monx)) mon2.setCursorPos(1, mony) mon2.write(string.rep(" ", monx)) mon2.setBackgroundColor(colors.black) mon2.setTextColor(colors.red) mon2.setCursorPos(1, 3) mon2.write("------>") event, side, xpos, ypos = os.pullEvent("monitor_touch") if side == "monitor_5" then page2() else page1() end end