Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Following is a template of how a program should work
- --ALWAYS PREVENT ctrl+T
- os.pullEvent = os.pullEventRaw
- --Include the taskbar
- local function drawTaskBar(s,x)
- term.setCursorPos(x,18)
- term.setBackgroundColor( colors.black )
- term.clearLine()
- term.write(s)
- term.setBackgroundColor( colors.gray )
- end
- drawTaskBar("hi.lua", 1)
- --consider noting other background tasks aswell
- --remember to be descriptive and one-worded
- print("Hello, World!")
- sleep(2)
- --Finally issue a return to menu
- os.reboot()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement