Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- var --
- local Map = window.create(term.current(),1,1,51,22)
- local Sap = window.create(term.current(),8,4,28,10)
- -- func --
- function Mdisplay()
- Map.setBackgroundColor(colors.cyan)
- Map.setTextColor(colors.white)
- Map.clear()
- Map.setCursorPos(20,3)
- Map.write("True Security")
- if fs.exists("Tsecure/tData","r") then
- Map.setCursorPos(1,19)
- Map.write("computer:")
- Map.setTextColor(colors.gray)
- Map.setCursorPos(10,19)
- Map.write(os.computerLabel())
- end
- end
- function Sdisplay()
- Sap.setBackgroundColor(colors.white)
- Sap.setTextColor(colors.gray)
- Sap.clear()
- Sap.setCursorPos(10,2)
- Sap.setCursorBlink(false)
- Sap.write("Config")
- Sap.setBackgroundColor(colors.white)
- Sap.setTextColor(colors.gray)
- end
- Mdisplay()
- Sdisplay()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement