Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x,y = term.getSize()
- local function cPrint(text)
- x2,y2 = term.getCursorPos()
- term.setCursorPos(math.ceil((x / 2) - (text:len() / 2)), y2)
- write(text.. "\n")
- end
- term.clear()
- term.setCursorPos(1,3)
- cPrint("Adminium")
- cPrint("The browser thats impossible to break.")
- print()
- cPrint("Loading Adminium Impossible Antivirus vXv1509.50 Ultimate Pro Edition - Now with color support!")
- term.clear()
- term.setCursorPos(1,1)
- print("rdnt://home")
- for i=1,x do
- term.setCursorPos(i,2)
- write("-")
- end
- term.setCursorPos(1,4)
- cPrint("Welcome to")
- cPrint("Adminium")
- term.setCursorPos(1,6)
- print("rdnt://home - Home")
- print("rdnt://info - Help")
- print("rdnt://settings - Settings")
- print("rdnt://antivirus - Antivirus")
- print("\nPress any key to begin browsing.")
- repeat
- local event, key = os.pullEvent("key")
- until key ~= 1
- term.setCursorPos(1,1)
- term.clearLine()
- write("rdnt://")
- read()
- term.setCursorPos(1,5)
- cPrint("+----------Anti-Virus-----------+")
- cPrint("| Warning! Warining! Warining! |")
- cPrint("| This site tried to call these |")
- cPrint("| malicious variables: |")
- cPrint("| term.clear() - Graphical virus|")
- cPrint("| print() - Graphical virus |")
- cPrint("| write() - Graphical virus |")
- cPrint("| term.write() - Graphical virus|")
- cPrint("+----------Anti-Virus-----------+")
- cPrint("Aborting...")
- sleep(5)
- error()
Advertisement
Add Comment
Please, Sign In to add comment