Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Instructions = {{"Screens","Each screen has a different purpose. When you exit out of a app, you go straight back into your desktop"},{"Desktop","your desktop is the main screen of the OS, and where you will spend most of your time on. The desktop you use can be changed in settings. On default the OS comes with Desktop_2 which has Shortcuts and task bar functionality, but the os also comes with Desktop_1, which acts as a emergency desktop if Desktop_2 is creating errors"},{"File System","the file system allows users to navigate the systems of their Device. There is three file types supported since 2/8/22. Those types are: txt, nfp, and lua. txt is a text file format used for storing information. nfp is a Image format used to storage images. Lua is a program format, used to run Lua programs"},{"Networking","WIP"},{"Servers","WIL"},{"Attachments","your tablet/ computer can handle the following attachments, Speaker, And Wireless modem"},{"Apps","all installed apps are shown on the desktop as long as they have a shortcut file, if not they can be found in your systems files"},{"AppStore","the App Store allows you to download any approved apps, and use them on your device"},{"Updates","Updates are downloaded through the new Version change system. If a new Version is a available, you will be notified apon starting your Device"},{"Login","on default you are not prompted with a need to enter a password, if you want to require a password to login, go to os/System/Client/Files, create a file called Password, then type what you want your password to be, keep in mind the file must be a txt file for this to work"},{"Fixing Errors","most errors are caused by the user, either by creating files they shouldn’t have, editing select files, or by putting in invalid information. But sometimes the errors occurred because of a new update or hidden bugs. Best way to fix these is either by going to settings then reinstalling the OS or by dropping off your device at the nearest Domino Research Labs Facility, we will fix the errors while ensuring you don’t have to lose any saved data on the device unless it’s completely necessary to do so"}}
- local function Clear()
- term.clear()
- term.setCursorPos(1,1)
- end
- function CUI(m) --declare function
- n=0
- local l = #m
- while true do
- for i=1, #m, 1 do --traverse the table of options
- term.setCursorPos(1,i + 2)
- term.write(m[i])
- end
- a, b, c, d = os.pullEvent("mouse_click") --wait for keypress
- for i = 1, #m do
- if i + 2 == d then n = i end
- end
- if n > 0 then break end
- end
- return n --return the value
- end
- function DisplayHelp(I)
- term.setBackgroundColor(colors.lightBlue)
- Clear()
- print(Instructions[I][1])
- print("Press enter to return")
- print(Instructions[n][2])
- repeat
- local event, key = os.pullEvent("key")
- until key == keys.enter
- MenuDisplay()
- end
- function MenuDisplay()
- Clear()
- print("==Instruction Menu==")
- print("-Options-")
- local Options = {"Screens","Desktop","File System","Networking","Servers","Attachments","Apps","AppStore","Updates","Login","fixing errors","exit"}
- local n = CUI(Options)
- if Options[n] == "exit" then
- else
- DisplayHelp(n)
- end
- end
- MenuDisplay()
Add Comment
Please, Sign In to add comment