Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local w, h = term.getSize()
- local Page = "start"
- term.clear()
- term.setCursorPos(1,1)
- function CenterText(y,text)
- local x = math.floor((w - string.len(text)) /2)
- term.setCursorPos(x,y)
- term.clearLine()
- term.write(text)
- end
- function SlowCenterText(y,text)
- local x = math.floor((w - string.len(text)) /2)
- term.setCursorPos(x,y)
- term.clearLine()
- textutils.slowWrite(text)
- end
- function DrawMenu()
- Clear()
- if Page == "start" then
- elseif Page == "Installer" then
- elseif Page == "Complete" then
- end
- end
- function Clear()
- end
- function Interaction()
- end
- DrawMenu()
- Interaction()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement