Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- newprogs = {
- "extsh (extended shell)",
- "nsh (rednet remote desktop)",
- "idspoof (id spoofer)",
- "ifconfig (modem channel checker)",
- "lsh (list hidden)",
- "monc (monitor mirror program)",
- "nocolor (color stripper)",
- "on (computer activator)",
- "pschat (http chat rooms)",
- "taco (text editor with flavor)",
- "tron (multiplayer rednet game)",
- "vncd (rednet vnc)"
- }
- print("New programs:")
- for a = 1, #newprogs do
- x, y = term.getCursorPos()
- scr_x, scr_y = term.getSize()
- if term.isColor() then
- term.setTextColor(colors.white)
- term.setBackgroundColor(colors.gray)
- end
- write("*")
- if term.isColor() then
- term.setTextColor(colors.orange)
- term.setBackgroundColor(colors.black)
- end
- write(" " .. newprogs[a])
- if y >= scr_y then
- if term.isColor() then
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.lightGray)
- end
- write(" ... press a key")
- os.pullEvent("key")
- end
- write("\n")
- end
- term.setTextColor(colors.white)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement