Advertisement
b0nzo

rocket blue OS code

Dec 3rd, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 128.41 KB | None | 0 0
  1. title Rocket blue Beta Test
  2. :: source code Rocket Blue OS
  3. :: Rocket DEEP BLUE software limited (c) 2017 france
  4. X=MsgBox("Rocket DEEP BLUE Software_INC 2017 Rocket Blue OS")
  5.  
  6. @echo offcolor 1b
  7.  
  8. cls
  9.  
  10. @echo off
  11.  
  12. color 1b
  13.  
  14. cls
  15.  
  16. :bootscreen
  17.  
  18. echo Loading cherryX//.........
  19. ping localhost -2 >nul
  20. echo /x/x/x/x/x/x/x/x
  21. ping localhost -2 >nul
  22. echo =:=:=:=:=:=:=:=:
  23. ping localhost -2 >nul
  24. echo Booting X1
  25. echo @/MYutilBLUE/qernel/cherryX//
  26. ping localhost -2 >nul
  27. echo lets ROCK IT
  28. ping localhost -n 3 >nul
  29. echo MADE BY ROCKET DEEP BLUE
  30. ping localhost -n 2 >nul
  31.  
  32. echo Loading GUI .
  33. ping localhost -n 1.5 >nul
  34. echo ..
  35. ping localhost -n 1.5 >nul
  36. echo ...
  37. ping localhost -n 1.5 >nul
  38. echo ....
  39. ping localhost -n 1.5 >nul
  40. echo .....
  41. ping localhost -n 1.5 >nul
  42. echo .......
  43. echo login as:
  44. set/p bootusername=
  45. echo.
  46. cls
  47. echo HY %bootusername%
  48.  
  49. pause
  50.  
  51. cls
  52.  
  53. set /p password= Password:
  54.  
  55. if %password% == Simon desktop
  56.  
  57. if not %password% == simon goto bootscreentwo
  58.  
  59. Thats the end of the code.
  60.  
  61. Change simon in these two for your password if %password% == simon desktop
  62.  
  63. if not %password% == simon goto bootscreentwo
  64. :desktop
  65.  
  66. cls
  67.  
  68. color 0a
  69.  
  70. cls
  71. color 1b
  72. echo.
  73. echo.
  74. echo Date: %date% Time: %time% User: %bootusername% root: done
  75. echo.
  76. echo =========================================
  77. echo.
  78. echo 1) BLUE EDITOR
  79. echo.
  80. echo 2) Info
  81. echo.
  82. echo 3) setings
  83. echo.
  84. echo 4) Fille explorer
  85. echo.
  86. echo 5) calculator
  87. echo.
  88. echo 6) Internet
  89. echo.
  90. echo 7) Games
  91. echo.
  92. echo 8) app folder
  93. echo.
  94. echo 9) Shut down BLUE os
  95. echo.
  96. set /p menuINP= select input_  
  97. if %menuINP% == 1 goto BlueEDITOR
  98. if %menuINP% == 2 goto OSinfo
  99. if %menuINP% == 3 goto OSsetings
  100. if %menuINP% == 4 goto FilleEXP
  101. if %menuINP% == 5 goto calculator
  102. if %menuINP% == 6 goto InternetAPP
  103. if %menuINP% == 7 goto GamesFLDR
  104. if %menuINP% == 8 goto AppDAT
  105. if %menuINP% == B/matrix goto matrix
  106. if %menuINP% == B/SSFILES goto filleEXTERMINATOR
  107. if %menuINP% == B/GODMODE748520963.{DEEPBLUE}7782 goto GODMODE748520963
  108. :BlueEDITOR
  109. :BeditorBETA
  110. @echo off
  111. cls
  112. title Batch fille maker / compiller BY Echo Blue
  113. color 3b
  114. echo ______________________________________________________________
  115. echo %date% %time% %username% %password% %localgroup%
  116. echo ______________________________________________________________
  117. echo.
  118. echo This Program Will Make, Rename, Delete, View and Combine Files.
  119. echo.
  120. echo Press Any Key
  121. pause >nul
  122. :stage1
  123. cls
  124. echo ---------------------------------------------------
  125. echo.
  126. echo ______________________________________________________________
  127. echo A = Make File. B = Rename File. C = Delete File.
  128. echo D = View File. E = Combine Files. F = View Log. G = Clear Log.
  129. echo ______________________________________________________________
  130. set /p opt1=
  131. if %opt1% == a goto a
  132. if %opt1% == b goto b
  133. if %opt1% == c goto c
  134. if %opt1% == d goto d
  135. if %opt1% == e goto e
  136. if %opt1% == f goto g
  137. if %opt1% == g goto f
  138. :error
  139. echo UNKNOWN FUNCTION
  140. echo Press Enter To Return To Start
  141. pause >nul
  142. goto stage1
  143. :a
  144. cls
  145. echo ______________________________________________________________
  146. echo %time%                   CREATE A FILE
  147. echo ______________________________________________________________
  148. set/p input=Type Input Here:
  149. set /p saveas=Save As:
  150. set /p saveasex=Extension:
  151. echo %input% > %saveas%.%saveasex%
  152. echo.
  153. echo Press Enter
  154. echo %saveas%.%saveasex% >> Log.txt
  155. pause >nul
  156. goto stage1
  157. :b
  158. cls
  159. echo ______________________________________________________________
  160. echo %time%                   RENAME A FILE
  161. echo ______________________________________________________________
  162. set /p renamefile=Name Of Current File:
  163. set /p renamefileex=Extension:
  164. if exist %renamefile%.%renamefileex% goto ba
  165. echo ERROR MISSING FILE
  166. echo Press Enter
  167. pause >nul
  168. goto b
  169. :ba
  170. set /p rename=Rename %renamefile%.%renamefileex% To:
  171. echo Renaming %renamefile%.%renamefileex% to %rename%.%renamefileex%.....
  172. rename %renamefile%.%renamefileex% %rename%.%renamefileex%
  173. echo Renaming Complete
  174. echo Press Enter
  175. pause >nul
  176. goto stage1
  177. :c
  178. cls
  179. echo ______________________________________________________________
  180. echo %time%                   DELETE A FILE
  181. echo ______________________________________________________________
  182. set /p delete=File to Delete:
  183. set /p deleteex=Extension:
  184. if exist %delete%.%deleteex% goto delete
  185. pause
  186. goto c
  187. :delete
  188. del %delete%.%deleteex%
  189. echo DELETED
  190. echo UNABLE TO DELETE %delete%.%deleteex% >nul
  191. echo Press Enter
  192. pause >nul
  193. goto stage1
  194. :d
  195. cls
  196. echo ______________________________________________________________
  197. echo %time%                   VIEW A FILE
  198. echo ______________________________________________________________
  199. set /p viewfile=FileName:
  200. set /p viewfileex=Extension:
  201. echo Loading...
  202. type %viewfile%.%viewfileex%
  203. echo.
  204. echo Press Enter
  205. pause >nul
  206. goto stage1
  207. :e
  208. cls
  209. echo ______________________________________________________________
  210. echo %time%                   COMBINE FILES
  211. echo ______________________________________________________________
  212. find /n /i "%var1%" log.txt
  213. echo.
  214. set /p var2=Output File:
  215. echo Seperate Multiple Files With A Space,
  216. echo Include Extensions.
  217. set /p outcome1=Files to Combine:
  218. type %outcome1% >> %var2%.txt
  219. pause
  220. goto stage1
  221. :f
  222. cls
  223. echo ______________________________________________________________
  224. echo %time%                   CLEAR FILE LOG
  225. echo ______________________________________________________________
  226. echo Clearing Log
  227. echo.> Log.txt
  228. echo.
  229. echo Press Enter
  230. pause >nul
  231. goto stage1
  232. :g
  233. cls
  234. echo ______________________________________________________________
  235. echo %time%                   VIEW FILE LOG
  236. echo ______________________________________________________________
  237. type log.txt
  238. echo.
  239. echo Press Enter
  240. pause >nul
  241. goto stage1
  242. :OSinfo
  243. :: DEEP BLUE software (c) 1984
  244. cls
  245. title Rocket BLUE OS
  246. echo ==============================
  247. echo = version : 1.0.0.beta =======
  248. echo = brand : DS_rocket = BLUE====
  249. echo = RICN : DBLS_00.1525.cls4====
  250. echo = TYPE 1 FOR SOFTWARE PLOLICY=
  251. echo ==============================
  252. echo _____________________________
  253. echo ===================================
  254. echo =  HARDWARE DETECTION : ===========
  255. echo = CPU : Intel I3 cpu ==============
  256. echo = GPU : Nvidia GT 9800 TI gpu =====
  257. echo = MOTHERBOARD : Asus mx 300 =======
  258. echo = Sound Card : err Not Found ======
  259. echo = GPU(2) : err Not Found ==========
  260. echo = ram(4 stick) Samsung ddr 4 4go===
  261. echo = PRESS 2 TO REFRESH HARDWARE TOOL=
  262. echo ===================================
  263. echo.
  264. set /p inftoolINP = type 3 to go back to the boot screen
  265. if %inftoolINP% == 1 goto BLUEosPOLICYinf
  266. if %inftoolINP% == 2 goto 2 goto HARDWAREtoolDETCT
  267. if %inftoolINP% == 3 goto desktop
  268. :calculator
  269. cls
  270. title calculator
  271. :calc
  272. :main
  273. echo.
  274. echo           BLUE Calculator v2.0
  275. echo.
  276. echo    The last result found was %sum%
  277. echo ===========================================
  278. echo (i) this version is a updated version of Cal'C 1.0
  279. echo the changes are the GUI.
  280. echo.
  281. echo a)Addition
  282. echo.
  283. echo b)Subtraction
  284. echo.
  285. echo c)Divison
  286. echo.
  287. echo d)Multipication
  288. echo.
  289. echo e)Square, Cube or any power (by Prof.Pickle)
  290. echo.
  291. echo f)return to menu
  292. echo.
  293. set /p do=Value.
  294. if %do%== a goto add
  295. if %do%== A goto add
  296. if %do%== b goto sub
  297. if %do%== B goto sub
  298. if %do%== c goto div
  299. if %do%== C goto div
  300. if %do%== d goto mul
  301. if %do%== D goto mul
  302. if %do%== e goto power1
  303. if %do%== E goto power1
  304. if %do%== f goto menu
  305. echo.
  306. cls
  307. echo Invalid value = %do%
  308. echo.
  309. pause
  310. cls
  311. goto main
  312.  
  313. :add
  314. cls
  315. echo ADDITON
  316. echo.
  317. set /p no1="num1. "
  318. echo       +
  319. set /p no2="num2. "
  320. set /a sum=no1+no2
  321. echo ------------
  322. echo %sum%
  323. echo.
  324. pause
  325. cls
  326. goto main
  327.  
  328.  
  329. :sub
  330. cls
  331. echo SUBTACTION
  332. echo.
  333. set /p no1="num1. "
  334. echo       -
  335. set /p no2="num2. "
  336. set /a sum=no1-no2
  337. echo ------------
  338. echo %sum%
  339. echo.
  340. pause
  341. cls
  342. goto main
  343.  
  344.  
  345. :div
  346. cls
  347. echo DIVISON
  348. echo.
  349. set /p no1="num1. "
  350. echo       /
  351. set /p no2="num2. "
  352. set /a sum=no1/no2
  353. echo ------------
  354. echo %sum%
  355. echo.
  356. pause
  357. cls
  358. goto main
  359.  
  360.  
  361. :mul
  362. cls
  363. echo MULTIPLICATION
  364. echo.
  365. set /p no1="num1. "
  366. echo       *
  367. set /p no2="num2. "
  368. set /a sum=no1*no2
  369. echo ------------
  370. echo %sum%
  371. echo.
  372. pause
  373. cls
  374. goto main
  375. :GODMODE748520963
  376. cls
  377. title GODMODE74852096
  378. echo. GODMODE748520963 version 37623.12205.62.5210.203645.
  379. echo.
  380. echo GOD MODE TERMINAL
  381. set /p godINPC = B_
  382. if %godINPC% == mmode goto MMinpt
  383. if %godINPC% == 1.SCC=125=DDM/BLUESOFtfr goto DE_FANOP
  384. if %godINPC% == _UP_SIDE_D0WN=011 goto BLUEOSdownEMUL
  385. if %godINPC% == toolboxNETSNIFip goto LTL
  386. :InternetAPP
  387. start  "c:\C:\Users\Simon Barr\Desktop\informatique\"
  388. :GamesFLDR
  389. csl
  390. echo.
  391. title Games
  392. echo.
  393. echo 1) pokemon
  394. echo 2) World At War
  395. echo 3) Clasic card game
  396. echo 4) Casino slot game
  397. set /p GamesINPT = please select input
  398. if %GamesINPT% == 1 goto POKEgames1
  399. if %GamesINPT% == 2 goto WAWgames2
  400. if %GamesINPT% == 3 goto CCGgames3
  401. if %GamesINPT% == 4 goto Sltgames4
  402. :POKEgames1
  403. @echo off
  404. echo \---------------------------------------------------\
  405. echo  \    PokeBatch - The Pokemon experience in Batch    \
  406. echo   \---------------------------------------------------\
  407. pause
  408.                              
  409. cls
  410. echo Prof. Oak approaches
  411. echo Prof. Oak: Hi. My name is Prof. Oak.
  412. echo Prof. Oak: Welcome to the wonderful world of Pokemon!
  413. pause
  414.  
  415. :choosename
  416. cls
  417. echo Prof. Oak: It seems I don't remember your name. What is it?
  418. set /p name=
  419. pause
  420. if '%name%' == '' goto choosename
  421.  
  422. cls
  423. echo Hi %name%! It's nice seeing you again
  424. pause
  425.  
  426. ::girlorboy
  427. ::cls
  428. ::echo %name%, Are you a boy or a girl?
  429. ::echo (Enter 'boy', or 'girl')
  430. ::set /p gender=
  431. ::pause
  432. ::if '%gender%'=='boy' goto skip
  433. ::if '%gender%'=='girl' goto skip
  434. ::goto girlorboy
  435. ::skip
  436.  
  437. ::cls
  438. ::echo Prof. Oak: Aah.. so you are a %gender%
  439. ::pause
  440.  
  441. cls
  442. echo Prof. Oak: So %name% what are you waiting for? Choose your pokemon.
  443. pause
  444.  
  445. set starter='Bulbasaur'
  446.  
  447. cls
  448. echo \---------------------------------------------------\
  449. echo  \                  Bulbasaur (Lvl 4)                \
  450. echo   \---------------------------------------------------\
  451.  
  452. echo Prof. Oak: Do you want to pick Bulbasaur?
  453. echo Enter y to choose Bulbasaur
  454. pause
  455. set /p yno=
  456.  
  457. if '%yno%' == 'y' (
  458.     set starter=Bulbasaur
  459.     goto chosen
  460. )
  461.  
  462. cls
  463. echo \---------------------------------------------------\
  464. echo  \                  Squirtle (Lvl 4)                 \
  465. echo   \---------------------------------------------------\
  466.  
  467. echo Prof. Oak: Do you want to pick Squirtle?
  468. echo Enter y to choose Squirtle
  469. pause
  470. set /p yno=
  471.  
  472. if '%yno%' == 'y' (
  473.     set starter=Squirtle
  474.     goto chosen
  475. )
  476.  
  477. cls
  478. echo \---------------------------------------------------\
  479. echo  \                 Charmandar (Lvl 4)                \
  480. echo   \---------------------------------------------------\
  481.  
  482. echo Prof. Oak: Do you want to pick Charmandar?
  483. echo Enter y to choose Charmandar
  484. pause
  485. set /p yno=
  486.  
  487. if '%yno%' == 'y' (
  488.     set starter=Charmandar
  489.     goto chosen
  490. )
  491.  
  492. cls
  493. echo Prof. Oak: Or.. wait.. there is one more.
  494. pause
  495.  
  496. cls
  497. echo \---------------------------------------------------\
  498. echo  \                   Pikachu (Lvl 4)                 \
  499. echo   \---------------------------------------------------\
  500. echo Prof. Oak: Do you want to pick Pikachu?
  501. echo Be careful this pokemon is very energetic.
  502. echo Enter y to choose Pikachu
  503. pause
  504. set /p yno=
  505.  
  506. if '%yno%' == 'y' (
  507.     set starter=Pikachu
  508.     goto chosen
  509. )
  510.  
  511. :chosen
  512. cls
  513. echo Prof. Oak: Congrats! From here on you are now a pokemon trainer!
  514. echo Here, take this with you.
  515. echo (Pokegear received)
  516. echo Prof. Oak: This will help you along the way.
  517. pause
  518.  
  519. cls
  520. echo Prof. Oak: Now your journey begins with %starter%
  521. echo Prof. Oak: Collect gym badges and compete in the Pokemon League.
  522. echo Prof. Oak: Good luck!
  523. pause
  524.  
  525. :start
  526. set starter-lvl=4
  527. set starter-hp=20
  528. set starter-att=2
  529. set starter-def=2
  530. set starter-spd=2
  531. set starter-spatt=2
  532. set starter-spdef=2
  533. set mom=0
  534. set fstone=0
  535. set rwing=0
  536. set leaguecup=0
  537.  
  538. ::Maribou town
  539. ::Rienna city
  540. ::Vicarian city
  541. ::Aminos city
  542.  
  543. :city1
  544. ::Maribou town
  545. cls
  546. echo You are in Maribou town
  547. echo Enter option number to pick an option (1,2,3,4)
  548. echo 1) Go to your home
  549. echo 2) Go to Pokemon Center
  550. echo 3) Go to Pokemon Lab
  551. echo 4) Go to tall grass to exit Maribou town
  552. pause
  553. set /p city1option=
  554. if '%city1option%' == '1' goto city1-1
  555. if '%city1option%' == '2' goto city1-2
  556. if '%city1option%' == '3' goto city1-3
  557. if '%city1option%' == '4' goto city1-4
  558.  
  559. :city1-1
  560. cls
  561. echo \---------------------------------------------------\
  562. echo  \                         Home                      \
  563. echo   \---------------------------------------------------\
  564. echo      __!!_______________
  565. echo     /  !!             /\\
  566. echo    /  /__\           /  \\
  567. echo   /_________________/    \\
  568. echo   !                !  /\  !
  569. echo   !                ! /  \ !
  570. echo   !________________! !  ! !
  571. echo.
  572. echo You are inside your home
  573. echo Enter option number to pick an option (1,2,3)
  574. echo 1) Talk to your Mom
  575. echo 2) Eat food and take rest
  576. echo 3) Go back to town
  577. pause
  578.  
  579. set /p city1-1option=
  580.  
  581. if '%city1-1option%' == '1' goto city1-1-1
  582. if '%city1-1option%' == '2' goto city1-1-2
  583. if '%city1-1option%' == '3' goto city1
  584.  
  585. :city1-1-1
  586. cls
  587. if '%mom%' == '0' (
  588.     echo Mom: %name%! I hate you and your unknown father.
  589.     echo Mom: Go wander around the world on foot for years and never come back!
  590.     echo Mom: But first take these running shoes.
  591.     echo Mom: These won't have any effect in PokeBatch but I'm just giving it so you don't complain.
  592.     set mom=1
  593.     pause
  594.     goto city1-1
  595. )
  596. if '%mom%' == '1' (
  597.     echo Mom: What's the matter? Did you bring something for me?
  598.     echo Mom: No? Get the hell out of my house then! : class="re0">D
  599.     pause
  600.     goto city1-1
  601. )
  602. if '%mom%' == '2' (
  603.     echo Mom: What's the matter? Did you bring something for me?
  604.     echo Mom: Ooooh! That's a HUGE diamond! I almost love you! : class="re0">)
  605.     echo (Handed over the diamond)
  606.     echo Mom: Here, take this fire stone from your father's collection.
  607.     echo (Received Fire stone)
  608.     set fstone=1
  609.     set mom=3
  610.     pause
  611.     goto city1-1
  612. )
  613. if '%mom%' == '3' (
  614.     echo Mom: Yay! Did you bring something else for me?
  615.     echo Mom: No? Oh well, guess I still hate you. :)
  616.     pause
  617.     goto city1-1
  618. )
  619. if '%mom%' == '4' (
  620.     echo Mom: Well? What is it? A surprise you say?
  621.     echo (Hands over the Jade necklace)
  622.     echo Mom: OMG! O_O I love it!!
  623.     echo Mom: You deserve this Rainbow Wing
  624.     echo (Received Rainbow Wing)
  625.     set rwing=1
  626.     set mom=5
  627.     echo Mom: Let me quote your father.
  628.     echo "Only a true Pokemon Champion can make use of this Rainbow Wing."
  629.     echo "The legendary Ho-Oh will appear before only him who is pure of heart and has a strong will."
  630.     echo "He must go to the Bell Tower in Vicarian city at once."
  631.     echo "But there is one thing you should kno... "
  632.     echo Mom: And the rest is unreadable. Your crazy father and his ramblings about some legendary pokemon.
  633.     pause
  634.     goto city1-1
  635. )
  636. if '%mom%' == '5' (
  637.     echo Mom: You know what? You aren't that bad :)
  638.     pause
  639.     goto city1-1
  640. )
  641. if '%mom%' == '6' (
  642.     echo Mom: What the.. Is that a Ho-Oh? :O
  643.     echo Mom: That means your father wasn't a loser!
  644.     pause
  645.     goto city1-1
  646. )
  647.  
  648. :city1-1-2
  649. cls
  650. echo You ate lots of delicious food.. OM NOM NOM NOM
  651. echo You are feeling sleepy. What was in the food?!
  652. echo You wake up 12 hours later. Your %starter% has recovered his HP.
  653. set /a starter-hp=10*%starter-lvl%
  654. pause
  655. goto :city1-1
  656.  
  657. :city1-2
  658. cls
  659. echo \---------------------------------------------------\
  660. echo  \                   Pokemon Center                  \
  661. echo   \---------------------------------------------------\
  662. echo.
  663. echo     ___________________
  664. echo    /___________________\
  665. echo    !       //_\\       !
  666. echo    !_______\\_//_______!
  667. echo    !     !  ___  !     !
  668. echo    !     ! !   ! !     !
  669. echo    !_____! !___! !_____!
  670. echo.
  671. echo You are inside the Pokemon Center
  672. echo Enter option number to pick an option (1,2,3)
  673. echo 1) Get your pokemon healed by Nurse Joy
  674. echo 2) Get other services from Nurse Joy ;)
  675. echo 3) Go back to town
  676. pause
  677.  
  678. set /p city1-2option=
  679.  
  680. if '%city1-2option%' == '1' goto city1-2-1
  681. if '%city1-2option%' == '2' goto city1-2-2
  682. if '%city1-2option%' == '3' goto city1
  683.  
  684. :city1-2-1
  685. cls
  686. echo Nurse Joy: My my, your %starter% doesn't look very good
  687. echo Nurse Joy: Here let me fix him with my love!
  688. echo Your %starter% is blushed red
  689. echo Nurse Joy: Here you go better than ever.
  690. echo %starter%: %STARTER%!
  691. echo Your %starter% has recovered his HP.
  692. set /a starter-hp=10*%starter-lvl%
  693. pause
  694. goto city1-2
  695.  
  696. :city1-2-2
  697. cls
  698. echo %name%: Hey Joy, how about you show me your "Pokemons" ;)
  699. if '%leaguecup%' == '0' (
  700. echo Nurse Joy: I don't think you are trained enough to handle them kid.
  701. echo Nurse Joy: Buzz off like a Beedrill before I doublekick you!
  702. echo You run away to town hiding your face.
  703. )
  704. if '%leaguecup%' == '1' (
  705. :: ;)
  706. )
  707. pause
  708. goto city1
  709.  
  710. :city1-3
  711. cls
  712. echo \---------------------------------------------------\
  713. echo  \                     Pokemon Lab                   \
  714. echo   \---------------------------------------------------\
  715. echo.
  716. echo           _______
  717. echo        .           .
  718. echo     /      //_\\      \
  719. echo    !_______\\ //_______!
  720. echo    /___________________\
  721. echo    !     !  ___  !     !
  722. echo    !     ! /   \ !     !
  723. echo    !_____! !___! !_____!
  724. echo.
  725. echo You are inside the Pokemon Lab
  726. echo Enter option number to pick an option (1,2)
  727. echo 1) Talk to Professor Oak
  728. echo 2) Go back to town
  729. pause
  730.  
  731. set /p city1-2option=
  732.  
  733. if '%city1-2option%' == '1' goto city1-3-1
  734. if '%city1-2option%' == '2' goto city1
  735.  
  736. :city1-3-1
  737. cls
  738. echo Prof Oak: Oh hi %name% I am a little busy right now.
  739. echo Prof Oak: Come back after you've won a gym batch.
  740. pause
  741. goto city1
  742.  
  743. :city1-4
  744. cls
  745. echo \---------------------------------------------------\
  746. echo  \                     Tall grass                    \
  747. echo   \---------------------------------------------------\
  748. echo.
  749. echo    )\  )\ )\ )\ /(  (\ )\  )\  )\  /( /( )\  (\ (\ /)  )\
  750. echo    /( /( )\  (\ (\ /)  )\  )\  )\ )\ )\ /(  (\ )\  )\  )\
  751. echo    )\  (\ (\ /)  )\ (\ )\  )\  )\  /( /( )\ )\ )\ )\ /(  (\
  752. echo.
  753. echo You stepped out of Maribou town.
  754. echo Since your town is very small you can already see Rienna city.
  755. echo Rienna city is famous for their berries and grass pokemon.
  756. echo.
  757. echo You are walking on tall grass
  758. echo Something is inside the grass
  759.  
  760. setlocal ENABLEDELAYEDEXPANSION
  761. set /a r=%random% %%!3 +1
  762. ::Caterpie Oddish Rattata Cubone
  763. if '%r%' == '0' (
  764.     set wildpkmn=Caterpie
  765.     goto wildpokemon
  766. )
  767. if '%r%' == '1' (
  768.     set wildpkmn=Oddish
  769.     goto wildpokemon
  770. )
  771. if '%r%' == '2' (
  772.     set wildpkmn=Rattata
  773.     goto wildpokemon
  774. )
  775. if '%r%' == '3' (
  776.     set wildpkmn=Cubone
  777.     goto wildpokemon
  778. )
  779. :wildpokemon
  780. echo A wild %wildpkmn% has appeared
  781. echo.
  782. echo %wildpkmn%: %wildpkmn%
  783. set wildpkmn-lvl=2
  784. set wildpkmn-hp=10
  785. set wildpkmn-hp=20
  786. set wildpkmn-att=2
  787. set wildpkmn-def=2
  788. set wildpkmn-spd=2
  789. set wildpkmn-spatt=2
  790. set wildpkmn-spdef=2
  791. echo.
  792. echo %name%: Go %starter% I choose you!
  793. echo %starter%: %starter%
  794. pause
  795.  
  796. :wildpokemon-battle
  797. cls
  798. echo \---------------------------------------------------\
  799. echo  \                 %wildpkmn% (Lvl %wildpkmn-lvl%)                \
  800. echo   \---------------------------------------------------\
  801. echo.
  802. echo HP: %wildpkmn-hp%
  803. echo.
  804. echo.
  805. echo \---------------------------------------------------\
  806. echo  \                 %starter% (Lvl %starter-lvl%)                \
  807. echo   \---------------------------------------------------\
  808. echo.
  809. echo HP: %starter-hp%
  810. echo.
  811. echo.
  812. echo What do you want to do?
  813. echo.
  814. echo Enter option number to pick an option (1,2)
  815. echo 1) Tackle Attack
  816. echo 2) Bite
  817. echo 3) [Run]
  818.  
  819. set /p wildpkmn-atk=
  820. pause
  821.  
  822. set /a critical=%random% %%!1 +1
  823.  
  824. if '%wildpkmn-atk%' == '1' set impact-wildpkmn=((2*%wildpkmn-att%)/2)*(%critical%+1)
  825. if '%wildpkmn-atk%' == '2' set impact-wildpkmn=((3*%wildpkmn-att%)/2)*(%critical%+1)
  826.  
  827. cls
  828. echo \---------------------------------------------------\
  829. echo  \                 %wildpkmn% (Lvl %wildpkmn-lvl%)                \
  830. echo   \---------------------------------------------------\
  831. echo.
  832. echo HP: %wildpkmn-hp%
  833.  
  834. set wildpkmn-hp=%wildpkmn-hp%-(%impact-wildpkmn%-%wildpkmn-def%)
  835.  
  836. if '%critical%' == '0' echo %wildpkmn% lost %impact-wildpkmn% HP
  837. if '%critical%' == '1' (
  838.     echo Critical Hit!
  839.     echo %wildpkmn% lost %impact-wildpkmn% HP
  840. )
  841.  
  842. echo HP: %wildpkmn-hp%
  843. echo.
  844. if %wildpkmn-hp% <=0 goto wild-1-victory
  845.  
  846. echo \---------------------------------------------------\
  847. echo  \                 %starter% (Lvl %starter-lvl%)                \
  848. echo   \---------------------------------------------------\
  849. echo.
  850. echo HP: %starter-hp%
  851. echo.
  852. echo.
  853.  
  854. set /a wildpkmn-hit=%random% %%!1 +1
  855. set /a critical=%random% %%!1 +1
  856.  
  857. if '%wildpkmn-hit%' == '0' set impact-starter=((2*%starter-att%)/2)*(%critical%+1)
  858. if '%wildpkmn-hit%' == '1' set impact-starter=((3*%starter-att%)/2)*(%critical%+1)
  859. set starter-hp=%starter-hp%-(%impact-starter%-%starter-def%)
  860.  
  861. if '%critical%' == '0' echo %starter% lost %impact-starter% HP
  862. if '%critical%' == '1' (
  863.     echo Critical Hit!
  864.     echo %starter% lost %impact-starter% HP
  865. )
  866.  
  867. echo HP: %starter-hp%
  868. echo.
  869. echo.
  870.  
  871. if %starter-hp% <=0 goto gameover
  872.  
  873. goto wildpokemon-battle
  874.  
  875. :wild-1-victory
  876. cls
  877. echo \---------------------------------------------------\
  878. echo  \                 %wildpkmn% (Lvl %wildpkmn-lvl%)                \
  879. echo   \---------------------------------------------------\
  880. echo.
  881. echo HP: 0
  882. echo.
  883. echo.
  884. echo \---------------------------------------------------\
  885. echo  \                 %starter% (Lvl %starter-lvl%)                \
  886. echo   \---------------------------------------------------\
  887. echo.
  888. echo HP: %starter-hp%
  889. echo.
  890. echo.
  891. echo %wildpkmn% has fainted
  892. echo.
  893. echo %starter% gained 100 experience points
  894. set /a starter-lvl=%starter-lvl%+1
  895. set /a starter-hp=10*%starter-lvl%
  896. set /a starter-att=%starter-att%+1
  897. set /a starter-def=%starter-def%+1
  898. set /a starter-spd=10*%starter-spd%+1
  899. set /a starter-spatt=10*%starter-spatt%+1
  900. set /a starter-spdef=10*%starter-spdef%+1
  901.  
  902. echo %starter% reached Level %starter-lvl%
  903. echo %starter%'s HP increased to %starter-hp%
  904. echo %starter%'s Attack increased to %starter-att%
  905. echo %starter%'s Defense increased to %starter-def%
  906. echo %starter%'s Speed increased to %starter-spd%
  907. echo %starter%'s Sp.Attack increased to %starter-spatt%
  908. echo %starter%'s Sp.Defense increased to %starter-spdef%
  909. pause
  910. goto city-2
  911.  
  912. :gameover
  913. cls
  914. echo \---------------------------------------------------\
  915. echo  \                 %wildpkmn% (Lvl %wildpkmn-lvl%)                \
  916. echo   \---------------------------------------------------\
  917. echo.
  918. echo HP: %wildpkmn-hp%
  919. echo.
  920. echo.
  921. echo \---------------------------------------------------\
  922. echo  \                 %starter% (Lvl %starter-lvl%)                \
  923. echo   \---------------------------------------------------\
  924. echo.
  925. echo HP: 0
  926. echo.
  927. echo.
  928. echo %starter% has fainted
  929. echo You don't have any more Pokemon
  930. echo %name% runs away to Maribou town to his home.
  931. goto start
  932.  
  933. :city-2
  934. ::Rienna city
  935. cls
  936. echo You are in Rienna city
  937. echo Enter option number to pick an option (1,2,3,4)
  938. echo 1) Talk to the camper
  939. echo 2) Go near the fountain
  940. echo 3) Go to the crossroads
  941. echo 4) Go to Pokemon center
  942. pause
  943. set /p city2option=
  944.  
  945. if '%city2option%' == '1' goto city2-1
  946. if '%city2option%' == '2' goto city2-2
  947. if '%city2option%' == '3' goto city2-3
  948. if '%city2option%' == '4' goto city2-4
  949. :WAWgames2
  950. @echo off
  951. color 0cS
  952. title World At War 1
  953. echo.
  954. echo Welcome to World at War 1, created by Raly-Soft Sudio
  955. echo      This game was made for the Rocket Blue Os
  956. echo.
  957. pause
  958. :players
  959. cls
  960. set player=
  961. set replay=
  962. echo.
  963. set /p player=Select 1 or 2 player mode:
  964. if '%player%'=='1' goto name
  965. if '%player%'=='2' goto p1name
  966. goto players
  967. :name
  968. cls
  969. set name=
  970. echo.
  971. set /p name=Please type in your name (One word):
  972. if '%name%'=='' goto name
  973. rem Easter Egg:
  974. if '%name%'=='Vincent' goto win
  975. :country
  976. cls
  977. set country=
  978. set enemy=
  979. echo.
  980. echo Welcome %name%!
  981. echo.
  982. set /p country=Choose your country; USA, Russia, or Canada:
  983. if '%country%'=='usa' goto enemy1
  984. if '%country%'=='USA' goto enemy1
  985. if '%country%'=='Usa' goto enemy1
  986. if '%country%'=='Russia' goto enemy2
  987. if '%country%'=='russia' goto enemy2
  988. if '%country%'=='canada' goto enemy3
  989. if '%country%'=='Canada' goto enemy3
  990. goto country
  991. :enemy1
  992. set country=USA
  993. goto enemy
  994. :enemy2
  995. set country=Russia
  996. goto enemy
  997. :enemy3
  998. set country=Canada
  999. :enemy
  1000. set /a cpucountryrand=%random% %%5 +1
  1001. if '%cpucountryrand%'=='0' goto enemy
  1002. if '%cpucountryrand%'=='1' set enemy=Russia
  1003. if '%cpucountryrand%'=='2' set enemy=USA
  1004. if '%cpucountryrand%'=='3' set enemy=Canada
  1005. if '%cpucountryrand%'=='4' goto enemy
  1006. if '%cpucountryrand%'=='5' goto enemy
  1007. if '%enemy%'=='%country%' goto enemy
  1008. :begin
  1009. set user=1000
  1010. set cpu=1000
  1011. set nuke=1
  1012. set airstrike=2
  1013. set missiles=3
  1014. set cpunuke=1
  1015. set cpuairstrike=2
  1016. set cpumissiles=3
  1017. :gameplay
  1018. cls
  1019. set move=
  1020. set choice=
  1021. set cpucount=0
  1022. echo.
  1023. echo %name%, your turn.
  1024. echo                                                               %country%: %user% DEF
  1025. echo Options:
  1026. echo                                                               %enemy%: %cpu% DEF
  1027. echo 1. Fire NUKE x %nuke%
  1028. echo.
  1029. echo 2. Fire Airstrike x %airstrike%
  1030. echo.
  1031. echo 3. Fire Missiles x %missiles%
  1032. echo.
  1033. echo 4. Surrender
  1034. echo.
  1035. echo 5. Do nothing
  1036. echo.
  1037. set /p move=Select your option:
  1038. if '%move%'=='1' goto nuke
  1039. if '%move%'=='2' goto airstrike
  1040. if '%move%'=='3' goto missiles
  1041. if '%move%'=='4' goto surrender
  1042. if '%move%'=='5' goto cpu1
  1043. goto gameplay
  1044. :nuke
  1045. cls
  1046. if '%nuke%'=='0' goto nonuke
  1047. echo.
  1048. echo %name% has fired a NUKE headed towards the %enemy%!
  1049. echo.
  1050. ping localhost -n 4 >nul
  1051. echo Hit!
  1052. echo.
  1053. echo %enemy% has lost 400 DEF!
  1054. echo.
  1055. pause
  1056. set /a cpu=%cpu% - 400
  1057. set nuke=0
  1058. if '%cpu%'=='0' goto win
  1059. if '%cpu%'=='-100' goto win
  1060. if '%cpu%'=='-200' goto win
  1061. if '%cpu%'=='-300' goto win
  1062. goto cpu1
  1063. :nonuke
  1064. echo.
  1065. echo You can't use a nuke since you don't have any more left!
  1066. echo.
  1067. pause
  1068. goto gameplay
  1069. :airstrike
  1070. cls
  1071. if '%airstrike%'=='0' goto noairstrike
  1072. echo.
  1073. echo %name% has fired an airstrike on the %enemy%!
  1074. echo.
  1075. ping localhost -n 4 >nul
  1076. echo Hit!
  1077. echo.
  1078. echo %enemy% has lost 300 DEF!
  1079. echo.
  1080. pause
  1081. set /a cpu=%cpu% - 300
  1082. set /a airstrike=%airstrike% - 1
  1083. if '%cpu%'=='0' goto win
  1084. if '%cpu%'=='-100' goto win
  1085. if '%cpu%'=='-200' goto win
  1086. if '%cpu%'=='-300' goto win
  1087. goto cpu1
  1088. :noairstrike
  1089. echo.
  1090. echo You can't use an airstrike since you don't have any more left!
  1091. echo.
  1092. pause
  1093. goto gameplay
  1094. :missiles
  1095. cls
  1096. if '%missiles%'=='0' goto nomissiles
  1097. echo.
  1098. echo %name% has fired multiple missiles headed towards the %enemy%!
  1099. echo.
  1100. ping localhost -n 4 >nul
  1101. echo Hit!
  1102. echo.
  1103. echo %enemy% has lost 200 DEF!
  1104. echo.
  1105. pause
  1106. set /a cpu=%cpu% - 200
  1107. set /a missiles=%missiles% - 1
  1108. if '%cpu%'=='0' goto win
  1109. if '%cpu%'=='-100' goto win
  1110. if '%cpu%'=='-200' goto win
  1111. if '%cpu%'=='-300' goto win
  1112. goto cpu1
  1113. :nomissiles
  1114. echo.
  1115. echo You can't use missiles since you don't have any more left!
  1116. echo.
  1117. pause
  1118. goto gameplay
  1119. :surrender
  1120. cls
  1121. echo.
  1122. echo "We may have lost the war, but we still have our dignity..."
  1123. echo.
  1124. pause
  1125. :end
  1126. cls
  1127. echo.
  1128. echo "We may have lost the war, but we still have our dignity..."
  1129. echo.
  1130. set /p replay=Type anything to replay the game. Type 'x' to exit:
  1131. if '%replay%'=='x' goto suggest
  1132. if '%replay%'=='' goto end
  1133. goto players
  1134. :win
  1135. cls
  1136. echo.
  1137. echo You have won Total War!!!
  1138. echo.
  1139. pause
  1140. :win2
  1141. cls
  1142. echo.
  1143. echo You have won Total War!!!
  1144. echo.
  1145. set /p replay=Type anything to replay the game. Type 'x' to exit:
  1146. if '%replay%'=='x' goto suggest
  1147. if '%replay%'=='' goto win2
  1148. goto players
  1149. :cpu1
  1150. cls
  1151. set /a cpucount=%cpucount% + 1
  1152. if '%cpucount%'=='10' goto cpu2
  1153. echo.
  1154. echo My turn.
  1155. echo                                                               %country%: %user% DEF
  1156. echo Options:
  1157. echo                                                               %enemy%: %cpu% DEF
  1158. echo 1. Fire NUKE x %cpunuke%
  1159. echo.
  1160. echo 2. Fire Airstrike x %cpuairstrike%
  1161. echo.
  1162. echo 3. Fire Missiles x %cpumissiles%
  1163. echo.
  1164. echo 4. Surrender
  1165. echo.
  1166. echo 5. Do nothing
  1167. echo.
  1168. echo Select your option:/
  1169. ping localhost -n 1 >nul
  1170. ping localhost -n 1 >nul
  1171. ping localhost -n 1 >nul
  1172. ping localhost -n 1 >nul
  1173. cls
  1174. echo.
  1175. echo My turn.
  1176. echo                                                               %country%: %user% DEF
  1177. echo Options:
  1178. echo                                                               %enemy%: %cpu% DEF
  1179. echo 1. Fire NUKE x %cpunuke%
  1180. echo.
  1181. echo 2. Fire Airstrike x %cpuairstrike%
  1182. echo.
  1183. echo 3. Fire Missiles x %cpumissiles%
  1184. echo.
  1185. echo 4. Surrender
  1186. echo.
  1187. echo 5. Do nothing
  1188. echo.
  1189. echo Select your option:-
  1190. ping localhost -n 1 >nul
  1191. ping localhost -n 1 >nul
  1192. ping localhost -n 1 >nul
  1193. ping localhost -n 1 >nul
  1194. cls
  1195. echo.
  1196. echo My turn.
  1197. echo                                                               %country%: %user% DEF
  1198. echo Options:
  1199. echo                                                               %enemy%: %cpu% DEF
  1200. echo 1. Fire NUKE x %cpunuke%
  1201. echo.
  1202. echo 2. Fire Airstrike x %cpuairstrike%
  1203. echo.
  1204. echo 3. Fire Missiles x %cpumissiles%
  1205. echo.
  1206. echo 4. Surrender
  1207. echo.
  1208. echo 5. Do nothing
  1209. echo.
  1210. echo Select your option:\
  1211. ping localhost -n 1 >nul
  1212. ping localhost -n 1 >nul
  1213. ping localhost -n 1 >nul
  1214. ping localhost -n 1 >nul
  1215. goto cpu1
  1216. :cpu2
  1217. cls
  1218. set /a choice=%random% %%6
  1219. if '%choice%'=='0' goto cpu2
  1220. if '%choice%'=='4' goto cpu2
  1221. if '%choice%'=='6' goto cpu2
  1222. echo.
  1223. echo My turn.
  1224. echo                                                               %country%: %user% DEF
  1225. echo Options:
  1226. echo                                                               %enemy%: %cpu% DEF
  1227. echo 1. Fire NUKE x %cpunuke%
  1228. echo.
  1229. echo 2. Fire Airstrike x %cpuairstrike%
  1230. echo.
  1231. echo 3. Fire Missiles x %cpumissiles%
  1232. echo.
  1233. echo 4. Surrender
  1234. echo.
  1235. echo 5. Do nothing
  1236. echo.
  1237. echo Select your option:%choice%
  1238. ping localhost -n 4 >nul
  1239. if '%choice%'=='1' goto cpunuke
  1240. if '%choice%'=='2' goto cpuairstrike
  1241. if '%choice%'=='3' goto cpumissiles
  1242. if '%choice%'=='5' goto gameplay
  1243. :cpunuke
  1244. cls
  1245. if '%cpunuke%'=='0' goto nocpunuke
  1246. echo.
  1247. echo I have fired a NUKE headed towards the %country%!
  1248. echo.
  1249. ping localhost -n 4 >nul
  1250. echo Hit!
  1251. echo.
  1252. echo %country% has lost 400 DEF!
  1253. echo.
  1254. ping localhost -n 4 >nul
  1255. set /a user=%user% - 400
  1256. set cpunuke=0
  1257. if '%user%'=='0' goto cpuwin
  1258. if '%user%'=='-100' goto cpuwin
  1259. if '%user%'=='-200' goto cpuwin
  1260. if '%user%'=='-300' goto cpuwin
  1261. goto gameplay
  1262. :nocpunuke
  1263. echo.
  1264. echo I can't use a nuke since I don't have any more left!
  1265. echo.
  1266. ping localhost -n 4 >nul
  1267. set cpucount=0
  1268. goto cpu1
  1269. :cpuairstrike
  1270. cls
  1271. if '%cpuairstrike%'=='0' goto nocpuairstrike
  1272. echo.
  1273. echo I have fired an airstrike on the %country%!
  1274. echo.
  1275. ping localhost -n 4 >nul
  1276. echo Hit!
  1277. echo.
  1278. echo %country% has lost 300 DEF!
  1279. echo.
  1280. ping localhost -n 4 >nul
  1281. set /a user=%user% - 300
  1282. set /a cpuairstrike=%cpuairstrike% - 1
  1283. if '%user%'=='0' goto cpuwin
  1284. if '%user%'=='-100' goto cpuwin
  1285. if '%user%'=='-200' goto cpuwin
  1286. if '%user%'=='-300' goto cpuwin
  1287. goto gameplay
  1288. :nocpuairstrike
  1289. echo.
  1290. echo I can't use an airstrike since I don't have any more left!
  1291. echo.
  1292. ping localhost -n 4 >nul
  1293. set cpucount=0
  1294. goto cpu1
  1295. :cpumissiles
  1296. cls
  1297. if '%cpumissiles%'=='0' goto nocpumissiles
  1298. echo.
  1299. echo I have fired multiple missiles headed towards the %country%!
  1300. echo.
  1301. ping localhost -n 4 >nul
  1302. echo Hit!
  1303. echo.
  1304. echo %country% has lost 200 DEF!
  1305. echo.
  1306. ping localhost -n 4 >nul
  1307. set /a user=%user% - 200
  1308. set /a cpumissiles=%cpumissiles% - 1
  1309. if '%user%'=='0' goto cpuwin
  1310. if '%user%'=='-100' goto cpuwin
  1311. if '%user%'=='-200' goto cpuwin
  1312. if '%user%'=='-300' goto cpuwin
  1313. goto gameplay
  1314. :nocpumissiles
  1315. echo.
  1316. echo I can't use missiles since I don't have any more left!
  1317. echo.
  1318. ping localhost -n 4 >nul
  1319. set cpucount=0
  1320. goto cpu1
  1321. :cpuwin
  1322. cls
  1323. echo.
  1324. echo It was a long battle today. I have emerged victorious, even though you tried
  1325. echo very well.
  1326. echo.
  1327. pause
  1328. :cpuwin2
  1329. cls
  1330. echo.
  1331. echo It was a long battle today. I have emerged victorious, even though you tried
  1332. echo very well.
  1333. echo.
  1334. set /p replay=Type anything to replay the game. Type 'x' to exit:
  1335. if '%replay%'=='x' goto suggest
  1336. if '%replay%'=='' goto cpuwin2
  1337. goto players
  1338. :p1name
  1339. cls
  1340. set p1name=
  1341. echo.
  1342. set /p p1name=Player 1, please type in your name (One word):
  1343. if '%p1name%'=='' goto p1name
  1344. :p2name
  1345. cls
  1346. set p2name=
  1347. echo.
  1348. set /p p2name=Player 2, please type in your name (One word):
  1349. if '%p2name%'=='%p1name%' goto p2name
  1350. if '%p2name%'=='' goto p2name
  1351. rem Easter Egg:
  1352. if '%p1name%'=='Vincent' goto p1win
  1353. if '%p2name%'=='Vincent' goto p2win
  1354. :p1country
  1355. cls
  1356. set p1country=
  1357. echo.
  1358. echo Welcome %p1name%!
  1359. echo.
  1360. set /p p1country=Choose your country; USA, Russia, or Canada:
  1361. if '%p1country%'=='usa' goto p1country1
  1362. if '%p1country%'=='USA' goto p1country1
  1363. if '%p1country%'=='Usa' goto p1country1
  1364. if '%p1country%'=='Russia' goto p1country2
  1365. if '%p1country%'=='russia' goto p1country2
  1366. if '%p1country%'=='canada' goto p1country3
  1367. if '%p1country%'=='Canada' goto p1country3
  1368. goto p1country
  1369. :p1country1
  1370. set p1country=USA
  1371. goto p2country
  1372. :p1country2
  1373. set p1country=Russia
  1374. goto p2country
  1375. :p1country3
  1376. set p1country=Canada
  1377. :p2country
  1378. cls
  1379. set p2country=
  1380. echo.
  1381. echo Welcome %p2name%!
  1382. echo.
  1383. set /p p2country=Choose your country; USA, Russia, or Canada:
  1384. if '%p2country%'=='%p1country%' goto na
  1385. if '%p2country%'=='usa' goto p2country1
  1386. if '%p2country%'=='USA' goto p2country1
  1387. if '%p2country%'=='Usa' goto p2country1
  1388. if '%p2country%'=='Russia' goto p2country2
  1389. if '%p2country%'=='russia' goto p2country2
  1390. if '%p2country%'=='canada' goto p2country3
  1391. if '%p2country%'=='Canada' goto p2country3
  1392. goto p2country
  1393. :na
  1394. cls
  1395. echo.
  1396. echo You can't choose %p1country% because %p1name% has already chosen it.
  1397. pause >nul
  1398. goto p2country
  1399. :p2country1
  1400. set p2country=USA
  1401. goto begin2
  1402. :p2country2
  1403. set p2country=Russia
  1404. goto begin2
  1405. :p2country3
  1406. set p2country=Canada
  1407. :begin2
  1408. set p1health=1000
  1409. set p2health=1000
  1410. set p1nuke=1
  1411. set p1airstrike=2
  1412. set p1missiles=3
  1413. set p2nuke=1
  1414. set p2airstrike=2
  1415. set p2missiles=3
  1416. :p1gameplay
  1417. cls
  1418. set move=
  1419. set choice=
  1420. echo.
  1421. echo %p1name%, your turn.
  1422. echo                                                               %p1country%: %p1health% DEF
  1423. echo Options:
  1424. echo                                                               %p2country%: %p2health% DEF
  1425. echo 1. Fire NUKE x %p1nuke%
  1426. echo.
  1427. echo 2. Fire Airstrike x %p1airstrike%
  1428. echo.
  1429. echo 3. Fire Missiles x %p1missiles%
  1430. echo.
  1431. echo 4. Surrender
  1432. echo.
  1433. echo 5. Do nothing
  1434. echo.
  1435. set /p move=Select your option:
  1436. if '%move%'=='1' goto p1nuke
  1437. if '%move%'=='2' goto p1airstrike
  1438. if '%move%'=='3' goto p1missiles
  1439. if '%move%'=='4' goto p1surrender
  1440. if '%move%'=='5' goto p2gameplay
  1441. goto p1gameplay
  1442. :p1nuke
  1443. cls
  1444. if '%p1nuke%'=='0' goto nop1nuke
  1445. echo.
  1446. echo %p1name% has fired a NUKE headed towards %p2country%!
  1447. echo.
  1448. ping localhost -n 4 >nul
  1449. echo Hit!
  1450. echo.
  1451. echo %p2country% has lost 400 DEF!
  1452. echo.
  1453. pause
  1454. set /a p2health=%p2health% - 400
  1455. set p1nuke=0
  1456. if '%p2health%'=='0' goto p1win
  1457. if '%p2health%'=='-100' goto p1win
  1458. if '%p2health%'=='-200' goto p1win
  1459. if '%p2health%'=='-300' goto p1win
  1460. goto p2gameplay
  1461. :nop1nuke
  1462. echo.
  1463. echo You can't use a nuke since you don't have any more left!
  1464. echo.
  1465. pause
  1466. goto p1gameplay
  1467. :p1airstrike
  1468. cls
  1469. if '%p1airstrike%'=='0' goto nop1airstrike
  1470. echo.
  1471. echo %p1name% has fired an airstrike on %p2country%!
  1472. echo.
  1473. ping localhost -n 4 >nul
  1474. echo Hit!
  1475. echo.
  1476. echo %p2country% has lost 300 DEF!
  1477. echo.
  1478. pause
  1479. set /a p2health=%p2health% - 300
  1480. set /a p1airstrike=%p1airstrike% - 1
  1481. if '%p2health%'=='0' goto p1win
  1482. if '%p2health%'=='-100' goto p1win
  1483. if '%p2health%'=='-200' goto p1win
  1484. if '%p2health%'=='-300' goto p1win
  1485. goto p2gameplay
  1486. :nop1airstrike
  1487. echo.
  1488. echo You can't use an airstrike since you don't have any more left!
  1489. echo.
  1490. pause
  1491. goto p1gameplay
  1492. :p1missiles
  1493. cls
  1494. if '%p1missiles%'=='0' goto nop1missiles
  1495. echo.
  1496. echo %p1name% has fired multiple missiles headed towards %p2country%!
  1497. echo.
  1498. ping localhost -n 4 >nul
  1499. echo Hit!
  1500. echo.
  1501. echo %p2country% has lost 200 DEF!
  1502. echo.
  1503. pause
  1504. set /a p2health=%p2health% - 200
  1505. set /a p1missiles=%p1missiles% - 1
  1506. if '%p2health%'=='0' goto p1win
  1507. if '%p2health%'=='-100' goto p1win
  1508. if '%p2health%'=='-200' goto p1win
  1509. if '%p2health%'=='-300' goto p1win
  1510. goto p2gameplay
  1511. :nop1missiles
  1512. echo.
  1513. echo You can't use missiles since you don't have any more left!
  1514. echo.
  1515. pause
  1516. goto p1gameplay
  1517. :p1surrender
  1518. cls
  1519. echo.
  1520. echo %p2name% has won Total War!!!
  1521. echo.
  1522. pause
  1523. :p1surrender2
  1524. cls
  1525. echo.
  1526. echo %p2name% has won Total War!!!
  1527. echo.
  1528. set /p replay=Type anything to replay the game. Type 'x' to exit:
  1529. if '%replay%'=='x' goto suggest
  1530. if '%replay%'=='' goto p1surrender2
  1531. goto players
  1532. :p1win
  1533. cls
  1534. echo.
  1535. echo %p1name% has won Total War!!!
  1536. echo.
  1537. pause
  1538. :p1win2
  1539. cls
  1540. echo.
  1541. echo %p1name% has won Total War!!!
  1542. echo.
  1543. set /p replay=Type anything to replay the game. Type 'x' to exit:
  1544. if '%replay%'=='x' goto suggest
  1545. if '%replay%'=='' goto p1win2
  1546. goto players
  1547. :p2gameplay
  1548. cls
  1549. set move=
  1550. set choice=
  1551. echo.
  1552. echo %p2name%, your turn.
  1553. echo                                                               %p2country%: %p2health% DEF
  1554. echo Options:
  1555. echo                                                               %p1country%: %p1health% DEF
  1556. echo 1. Fire NUKE x %p2nuke%
  1557. echo.
  1558. echo 2. Fire Airstrike x %p2airstrike%
  1559. echo.
  1560. echo 3. Fire Missiles x %p2missiles%
  1561. echo.
  1562. echo 4. Surrender
  1563. echo.
  1564. echo 5. Do nothing
  1565. echo.
  1566. set /p move=Select your option:
  1567. if '%move%'=='1' goto p2nuke
  1568. if '%move%'=='2' goto p2airstrike
  1569. if '%move%'=='3' goto p2missiles
  1570. if '%move%'=='4' goto p2surrender
  1571. if '%move%'=='5' goto p1gameplay
  1572. goto p2gameplay
  1573. :p2nuke
  1574. cls
  1575. if '%p2nuke%'=='0' goto nop2nuke
  1576. echo.
  1577. echo %p2name% has fired a NUKE headed towards %p1country%!
  1578. echo.
  1579. ping localhost -n 4 >nul
  1580. echo Hit!
  1581. echo.
  1582. echo %p1country% has lost 400 DEF!
  1583. echo.
  1584. pause
  1585. set /a p1health=%p1health% - 400
  1586. set p2nuke=0
  1587. if '%p1health%'=='0' goto p2win
  1588. if '%p1health%'=='-100' goto p2win
  1589. if '%p1health%'=='-200' goto p2win
  1590. if '%p1health%'=='-300' goto p2win
  1591. goto p1gameplay
  1592. :nop2nuke
  1593. echo.
  1594. echo You can't use a nuke since you don't have any more left!
  1595. echo.
  1596. pause
  1597. goto p2gameplay
  1598. :p2airstrike
  1599. cls
  1600. if '%p2airstrike%'=='0' goto nop2airstrike
  1601. echo.
  1602. echo %p2name% has fired an airstrike on %p1country%!
  1603. echo.
  1604. ping localhost -n 4 >nul
  1605. echo Hit!
  1606. echo.
  1607. echo %p1country% has lost 300 DEF!
  1608. echo.
  1609. pause
  1610. set /a p1health=%p1health% - 300
  1611. set /a p2airstrike=%p2airstrike% - 1
  1612. if '%p1health%'=='0' goto p2win
  1613. if '%p1health%'=='-100' goto p2win
  1614. if '%p1health%'=='-200' goto p2win
  1615. if '%p1health%'=='-300' goto p2win
  1616. goto p1gameplay
  1617. :nop2airstrike
  1618. echo.
  1619. echo You can't use an airstrike since you don't have any more left!
  1620. echo.
  1621. pause
  1622. goto p2gameplay
  1623. :p2missiles
  1624. cls
  1625. if '%p2missiles%'=='0' goto nop2missiles
  1626. echo.
  1627. echo %p2name% has fired multiple missiles headed towards %p1country%!
  1628. echo.
  1629. ping localhost -n 4 >nul
  1630. echo Hit!
  1631. echo.
  1632. echo %p1country% has lost 200 DEF!
  1633. echo.
  1634. pause
  1635. set /a p1health=%p1health% - 200
  1636. set /a p2missiles=%p2missiles% - 1
  1637. if '%p1health%'=='0' goto p2win
  1638. if '%p1health%'=='-100' goto p2win
  1639. if '%p1health%'=='-200' goto p2win
  1640. if '%p1health%'=='-300' goto p2win
  1641. goto p1gameplay
  1642. :nop2missiles
  1643. echo.
  1644. echo You can't use missiles since you don't have any more left!
  1645. echo.
  1646. pause
  1647. goto p2gameplay
  1648. :p2surrender
  1649. cls
  1650. echo.
  1651. echo %p1name% has won Total War!!!
  1652. echo.
  1653. pause
  1654. :p2surrender2
  1655. cls
  1656. echo.
  1657. echo %p1name% has won Total War!!!
  1658. echo.
  1659. set /p replay=Type anything to replay the game. Type 'x' to exit:
  1660. if '%replay%'=='x' goto suggest
  1661. if '%replay%'=='' goto p2surrender2
  1662. goto players
  1663. :p2win
  1664. cls
  1665. echo.
  1666. echo %p2name% has won Total War!!!
  1667. echo.
  1668. pause
  1669. :p2win2
  1670. cls
  1671. echo.
  1672. echo %p2name% has won Total War!!!
  1673. echo.
  1674. set /p replay=Type anything to replay the game. Type 'x' to exit:
  1675. if '%replay%'=='x' goto suggest
  1676. if '%replay%'=='' goto p2win2
  1677. goto players
  1678. :suggest
  1679. cls
  1680. echo.
  1681. echo Before you leave, can you suggest a country I can add to the file?
  1682. echo.
  1683. set /p suggestion=Suggest a country here:
  1684. if '%suggestion%'=='' goto suggest
  1685. echo %suggestion% >> suggestions.txt
  1686. :BLUEOSdownEMUL
  1687. :: this is a powerfull OS emulator that comes in whith other DEEP BLUE OS wand other
  1688. :: one to from other developers or studio that we neded to include in the package
  1689. title UP SIDE DOWN
  1690. echo.
  1691. echo ==========================
  1692. echo = ALL THE DEEP BLUE OS: ==
  1693. echo = ====================== =
  1694. echo = 1) ROCKET OS UNO =======
  1695. echo = 2) ROCKET X1 ===========
  1696. echo ==========================
  1697. echo.
  1698. echo ==========================
  1699. echo = OTHER STUDIOS ==========
  1700. echo = ====================== =
  1701. echo =                        =
  1702. echo ==========================
  1703. echo.
  1704. set /p UPDOWNinpt = please select a input
  1705. if %UPDOWNinpt% == 1 goto UPemulROSuno
  1706. if %UPDOWNinpt% == 2 goto UPemulROSx1
  1707. :LTL
  1708. mode 1000
  1709. @echo off
  1710.  
  1711. color 0a
  1712. title -LiTlE SnItCh Beta-
  1713. cls
  1714.  echo   -_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-
  1715.  echo            o   ______  _______         _____     ______               o ______  _____
  1716.  echo    /      /      /       /     /      /         /         /\      /  /    /    /       /     /
  1717.  echo   /      /      /       /     /      /_____    /______   /  \    /  /    /    /       /     /
  1718.  echo  /      /      /       /     /      /                /  /    \  /  /    /    /       /____ /
  1719.  echo /____  /      /       /     /____  /_____      _____/  /      \/  /    /    /_____  /     /                                                                              
  1720.  echo  -_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  echo `                  .------//:.``.`.:::-`                                                          
  1726.  echo                  -/+/-//-```````.:///++/-`                                                        
  1727.  echo              `:+++/:-..```````:/-.-::///.                                                      
  1728.  echo               `:///-.` ` ``  `.//++/:::--::.                                                       :/-`                                                  
  1729.                                          
  1730.  echo               `-.````      ` `-///////:::-.--`                                                    
  1731.  echo               ...````        `//////////::--/:                                                    
  1732.  echo              .`.````        `:+/++++++++++//-                                                    
  1733.  echo               .`-.---.`````````----/++++++++/.                                                    
  1734.  echo               .``-+++//-..`````````.+++++++-..                                                    
  1735.  echo               `.`-/+++++++/````````.-+++++/..`        ``-::--..````                                
  1736.  echo                ....//+++++:```````..:+++++/..      `-///+++++++/////::--..``                      
  1737.  echo                 ...../+++/.``.......-++++/..    .:+oss:+++++++++++/+++/++///::-.`                  
  1738.  echo                  `...:++/-...........:++/.`    :syyyyy://////////////////////////:.`              
  1739.  echo                    `.-//-............-:-`      syyyyyy/////////////////////////////:.`            
  1740.  echo                       `..............`         syyyyyh://////////////////////////////:`            
  1741.  echo                           ````````             yhhhhhh:///////////syssoo++////////////:`          
  1742.  echo                                                yhhhhhh::::::::::::hmmmmmmddyo/::::::::::`          
  1743.  echo                         ``-::::::::--.``       yhhhhhh::::::::::::/ydddddddddy/:::::::::-          
  1744.  echo                      `-/+:+///////////+:`      hhhhhhh:-----------` -yhhhhhhhhh:---------`        
  1745.  echo                      -sso://////////////.      hhhhhhd------------`  .yhhhhhhhhs---------`        
  1746.  echo                      :yys://////////////`      dhddddd--.......-..`   +hhhhhhhhy..-..-.-:.        
  1747.  echo                      :yys:::::::::::::::`      ddddddd-...........`   :yyyyyyyyy.--::::::-        
  1748.  echo                      /hhy---------------`      ddddddh-...........    /yyyyyyyys:////////.        
  1749.  echo                      /hhy-------..-----.`      ddddddh-...........   `oyyyyyyyy//////////`        
  1750.  echo                      /hhy-..............`      ddddddh....----:://`  /yyyyyyyyo/////////:          
  1751.  echo                      /hhy...............`      ddddddh:///////////`-ohhhhhhhyo//////////.          
  1752.  echo                      /ddy:::::::::::::::`      ddddddh////////////syyyyyyys+///////////-          
  1753.  echo                      /ddy:/:::::::::::::`     `ddddddh////////////////////////////////-            
  1754.  echo                      /ddy://////////////`     `ddddddh///////////////////////////////.            
  1755.  echo                      /ddy://////////////`     `ddddddh///////////////////////////+/-`              
  1756.  echo                      /ddy///////////////`     `ddddddy/++++++++/++++++++++++++//:.`                
  1757.  echo                      +ddy///////////////`     `ddddddy/+++++++++++///////::--.``                  
  1758.  echo                      +ddy///////////////`     `ddddddy/++++++++++/``````                          
  1759.  echo                      +ddy///////////////`     `ddddddy/++++++++++/                                
  1760.  echo                      +ddy///////////////`     .ddddddy/++++++++++/                                
  1761.  echo                      +ddy/+++++++++++++/`     .ddddddy/++++++++++/                                
  1762.  echo                      +ddy/+++++++++++++/`     .ddddddy+++++++++++/                                
  1763.  echo                      +ddy/+++++++++++++/`     .ddddddy+++++++++++/                                
  1764.  echo                      +ddy/++++++++++++++`     .ddddddy+++++++++++/`                                
  1765.  echo                      +ddy/++++++++++++++`     .ddddddy+oooooooooo+``````````````                  
  1766.  echo                      +ddy+++++++++++++++`    `-ddddddy+oooooooooo+`````````````                    
  1767.  echo                      +ddy+++++++++++++++``````.yhddddy+oooooooooo+`````````                        
  1768.  echo                      oddy+o+++++++++++++.`....../shddy+oooooooooo/````                            
  1769.  echo                      /hdy+ooooooooooooo+.........../ss+oooooooo+/.                                
  1770.  echo                    ```+dy+ooooooooooooo+..```````````.-:/:::-.``                                  
  1771.  echo                 ```````+y+ooooooooooooo/`````````                                                  
  1772.  echo               ``````````:+oooooooo+/:-.`                                                          
  1773.  echo                          `---...`            
  1774.  
  1775.  
  1776. echo    -----_____________-----
  1777. echo     ____press any key____
  1778. echo    -----_____________----
  1779.  
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786. pause >nul
  1787.  
  1788.  
  1789.  
  1790.  
  1791. :c
  1792. cls
  1793. echo.
  1794. echo.
  1795. echo       -_-_-_-_-_-
  1796. echo _-_-_-MENU SCREEN-_-_-_
  1797. echo       -_-_-_-_-_-
  1798. echo -_-_-_-        -_-_-_-_-
  1799. echo Type "1" to snitch some IPs
  1800. echo.
  1801. echo Type "2" to return to menu screen
  1802. echo.
  1803. echo Type "3" to use extra tools
  1804. echo.
  1805. echo Type "4" to get out of there!!!
  1806. echo tool made by Simon B
  1807. echo.
  1808.  
  1809.  
  1810.  
  1811.  
  1812.  
  1813. set /p ans=">>>"
  1814. if %ans%==1 (
  1815. goto b
  1816. )
  1817. if %ans%==2 (
  1818. goto a
  1819. )
  1820. if %ans%==3 (
  1821. goto d
  1822. )
  1823. if %ans%==4 (
  1824. goto e
  1825. )
  1826. if %ans%!=1 (
  1827. goto e
  1828. )
  1829. if %ans%!=2 (
  1830. goto e
  1831. )
  1832. if %ans%!=3 (
  1833. goto e
  1834. )
  1835. if %ans%!=4 (
  1836. goto e
  1837. )
  1838.  
  1839.  
  1840.  
  1841. :b
  1842. cls
  1843. echo.
  1844. echo.
  1845. echo Press Enter When You Are Ready to Steal IPs
  1846. echo.
  1847. echo After pressing enter send a message to victim
  1848. pause >nul
  1849. cls
  1850. netstat
  1851. pause
  1852. echo.
  1853. echo.
  1854. goto c
  1855.  
  1856.  
  1857.  
  1858. :d
  1859. cls
  1860. echo.
  1861. echo.
  1862. echo EXTRA TOOLS: Hit enter to initiate:
  1863. echo.
  1864. echo.
  1865. pause >nul
  1866. netstat
  1867. net view
  1868. pause
  1869. cls
  1870. goto c
  1871.  
  1872.  
  1873.  
  1874. :e
  1875. cls
  1876. echo.
  1877. echo Are you sure you want to quit? (y/n)
  1878. echo.
  1879. set /p ans=">>>"
  1880. if %ans%==n (
  1881. goto c
  1882. )
  1883. if %ans%==y (
  1884. goto f
  1885. )
  1886.  
  1887.  
  1888.  
  1889. :f
  1890. :UPemulROSuno
  1891. ::this is a emulated version of rocket UNO for the UP SIDE DOWN emulator of rocket blue OS
  1892.  @echo off
  1893. color 0a
  1894. title rocket OS lite ver= 1.0 beta
  1895. echo Finding Kernel.........
  1896. echo Kernel Found! Booting rocket OS lite beta
  1897. pause
  1898.  
  1899. cls            
  1900. echo what is your name?
  1901. set/p name=
  1902. echo.
  1903. cls
  1904. echo wellcome! %name%
  1905. echo.
  1906. pause
  1907.  
  1908. cls
  1909. echo What is on your mind %name% ? Type the number.
  1910. echo.
  1911. echo 1.System Info 2.Calc 3.Clock 4.pokemon 5.terminal 6.Antivirus
  1912. echo 7.war_game
  1913. set /p input=
  1914. if %input% == 1 goto info
  1915. if %input% == 2 goto calc
  1916. if %input% == 3 goto clock
  1917. if %input% == 4 goto games
  1918. if %input% == 5 goto terminal
  1919. if %input% == 6 goto antivirus
  1920. if %input% == 7 goto game2
  1921.  
  1922. :info
  1923.  
  1924. cls
  1925. echo.=======================
  1926. echo     ROCKET__OS_beta
  1927. echo.=======================
  1928. echo     DETAILS  
  1929. echo.
  1930. echo     VERSION = 1.0
  1931. echo.    
  1932. echo     RAM = 1GB
  1933. echo.
  1934. echo     CORE = INTEL I3
  1935. echo.
  1936. echo     HARD_DRIVE = 1TB    
  1937. echo.  
  1938. echo     Kernel ver = 5.6.7
  1939. echo.  
  1940. echo    Build = 1
  1941. echo.
  1942. echo    Gpu = Nvida GTX 650 TI
  1943. echo.
  1944. echo    DirectX vo.9.0
  1945. echo.========================
  1946. echo     @Copyright R.inc
  1947. echo.========================
  1948. echo this is a free version
  1949. echo it is still in beta mode
  1950. echo Wanna check for update?
  1951. echo ========================
  1952. echo using rice core 1.0.5
  1953. echo using fpt usr 1.05.2
  1954. echo using MT terminal plus 1.0.6.5
  1955. echo ========================
  1956. echo !ANTIVIRUS IS IN TEST MODE!
  1957. echo !USE IT AT YOUR OWN RISK
  1958. echo.
  1959. echo  1. to check for update
  1960. echo  2. Menu
  1961. echo  3.login in devloper mode !
  1962. set /p check=
  1963.  
  1964. if %check% == 1 goto update
  1965.  
  1966. if %check% == 2 goto menu
  1967.  
  1968. if %check% == 3 goto devmode
  1969.  
  1970.      
  1971. :update
  1972. cls
  1973.  
  1974. echo Checking for new version /Update.............
  1975. echo.
  1976. pause
  1977. cls
  1978. echo.
  1979. echo no update available,Try Againg after some time.
  1980. echo.
  1981. pause
  1982. goto menu
  1983. :calc
  1984. @echo off
  1985. title rice core plus calculator
  1986. color 0A
  1987. :main
  1988. echo.
  1989. echo ---------------------------
  1990. echo.
  1991. echo WELCOME %USERNAME% to
  1992. echo.
  1993. echo Cal'C Ver 0.1
  1994. echo.
  1995. echo ---------------------------
  1996. echo.
  1997. echo /////////////////////////////////////
  1998. echo Your previous Calulated number was %sum%
  1999. echo ////////////////////////////////////
  2000. echo.
  2001. echo Enter the specified alphabet to continue..
  2002. echo.
  2003. echo a)Addition
  2004. echo.
  2005. echo b)Subtraction
  2006. echo.
  2007. echo c)Divison
  2008. echo.
  2009. echo d)Multipication
  2010. echo.
  2011. echo e)Square, Cube or any power (by Prof.Pickle)
  2012. echo.
  2013. echo f)return to menu
  2014. echo.
  2015. set /p do=Value.
  2016. if %do%== a goto add
  2017. if %do%== A goto add
  2018. if %do%== b goto sub
  2019. if %do%== B goto sub
  2020. if %do%== c goto div
  2021. if %do%== C goto div
  2022. if %do%== d goto mul
  2023. if %do%== D goto mul
  2024. if %do%== e goto power1
  2025. if %do%== E goto power1
  2026. if %do%== f goto menu
  2027. echo.
  2028. cls
  2029. echo Invalid value = %do%
  2030. echo.
  2031. pause
  2032. cls
  2033. goto main
  2034.  
  2035. :add
  2036. cls
  2037. echo ADDITON
  2038. echo.
  2039. set /p no1="num1. "
  2040. echo       +
  2041. set /p no2="num2. "
  2042. set /a sum=no1+no2
  2043. echo ------------
  2044. echo %sum%
  2045. echo.
  2046. pause
  2047. cls
  2048. goto main
  2049.  
  2050.  
  2051. :sub
  2052. cls
  2053. echo SUBTACTION
  2054. echo.
  2055. set /p no1="num1. "
  2056. echo       -
  2057. set /p no2="num2. "
  2058. set /a sum=no1-no2
  2059. echo ------------
  2060. echo %sum%
  2061. echo.
  2062. pause
  2063. cls
  2064. goto main
  2065.  
  2066.  
  2067. :div
  2068. cls
  2069. echo DIVISON
  2070. echo.
  2071. set /p no1="num1. "
  2072. echo       /
  2073. set /p no2="num2. "
  2074. set /a sum=no1/no2
  2075. echo ------------
  2076. echo %sum%
  2077. echo.
  2078. pause
  2079. cls
  2080. goto main
  2081.  
  2082.  
  2083. :mul
  2084. cls
  2085. echo MULTIPLICATION
  2086. echo.
  2087. set /p no1="num1. "
  2088. echo       *
  2089. set /p no2="num2. "
  2090. set /a sum=no1*no2
  2091. echo ------------
  2092. echo %sum%
  2093. echo.
  2094. pause
  2095. cls
  2096. goto main
  2097.  
  2098. :power1
  2099. cls
  2100. echo Square, Cube or any power (by Prof.Pickle)
  2101. echo.
  2102. echo Select the number
  2103. set /p num=
  2104. cls
  2105. echo Select the power
  2106. set /p pow=
  2107. set /a pow=%pow%+1
  2108. set ans=%num%
  2109. cls
  2110. :power2
  2111. set /a pow=%pow%-1
  2112. if %pow% LSS 1 goto next
  2113. set /a ans=%ans%*%num%
  2114. goto power2
  2115. :next
  2116. echo Your answer is %ans%
  2117. echo.
  2118. echo To open Prof.Pickle's instrutable's profile type 'I'. Type 'M' to goto main
  2119. set /p open=
  2120. if %open%== I start https://www.instructables.com/member/Prof.+Pickle/
  2121. if %open%== i start https://www.instructables.com/member/Prof.+Pickle/
  2122. if %open%== m goto main
  2123. if %open%== M goto main
  2124. goto main
  2125. :clock
  2126. @echo off
  2127. setlocal delayexpansion
  2128. cls
  2129. @mode con cols=35 lines=7
  2130. title %username%`s watch
  2131. :time    
  2132. echo.      =====rocket======
  2133. echo.      Â³     %time%³
  2134. echo.      ======time=======
  2135. echo.      Â³      %date% ³  
  2136. echo.      =====date========
  2137. ping -n 2 0.0.0.0 >nul
  2138. cls
  2139. goto :time
  2140. :games
  2141.  
  2142. @echo off
  2143. echo \---------------------------------------------------\
  2144. echo  \    PokeBatch - The Pokemon experience in Batch    \
  2145. echo   \---------------------------------------------------\
  2146. pause
  2147.                              
  2148. cls
  2149. echo Prof. Oak approaches
  2150. echo Prof. Oak: Hi. My name is Prof. Oak.
  2151. echo Prof. Oak: Welcome to the wonderful world of Pokemon!
  2152. pause
  2153.  
  2154. :choosename
  2155. cls
  2156. echo Prof. Oak: It seems I don't remember your name. What is it?
  2157. set /p name=
  2158. pause
  2159. if '%name%' == '' goto choosename
  2160.  
  2161. cls
  2162. echo Hi %name%! It's nice seeing you again
  2163. pause
  2164.  
  2165. ::girlorboy
  2166. ::cls
  2167. ::echo %name%, Are you a boy or a girl?
  2168. ::echo (Enter 'boy', or 'girl')
  2169. ::set /p gender=
  2170. ::pause
  2171. ::if '%gender%'=='boy' goto skip
  2172. ::if '%gender%'=='girl' goto skip
  2173. ::goto girlorboy
  2174. ::skip
  2175.  
  2176. ::cls
  2177. ::echo Prof. Oak: Aah.. so you are a %gender%
  2178. ::pause
  2179.  
  2180. cls
  2181. echo Prof. Oak: So %name% what are you waiting for? Choose your pokemon.
  2182. pause
  2183.  
  2184. set starter='Bulbasaur'
  2185.  
  2186. cls
  2187. echo \---------------------------------------------------\
  2188. echo  \                  Bulbasaur (Lvl 4)                \
  2189. echo   \---------------------------------------------------\
  2190.  
  2191. echo Prof. Oak: Do you want to pick Bulbasaur?
  2192. echo Enter y to choose Bulbasaur
  2193. pause
  2194. set /p yno=
  2195.  
  2196. if '%yno%' == 'y' (
  2197.     set starter=Bulbasaur
  2198.     goto chosen
  2199. )
  2200.  
  2201. cls
  2202. echo \---------------------------------------------------\
  2203. echo  \                  Squirtle (Lvl 4)                 \
  2204. echo   \---------------------------------------------------\
  2205.  
  2206. echo Prof. Oak: Do you want to pick Squirtle?
  2207. echo Enter y to choose Squirtle
  2208. pause
  2209. set /p yno=
  2210.  
  2211. if '%yno%' == 'y' (
  2212.     set starter=Squirtle
  2213.     goto chosen
  2214. )
  2215.  
  2216. cls
  2217. echo \---------------------------------------------------\
  2218. echo  \                 Charmandar (Lvl 4)                \
  2219. echo   \---------------------------------------------------\
  2220.  
  2221. echo Prof. Oak: Do you want to pick Charmandar?
  2222. echo Enter y to choose Charmandar
  2223. pause
  2224. set /p yno=
  2225.  
  2226. if '%yno%' == 'y' (
  2227.     set starter=Charmandar
  2228.     goto chosen
  2229. )
  2230.  
  2231. cls
  2232. echo Prof. Oak: Or.. wait.. there is one more.
  2233. pause
  2234.  
  2235. cls
  2236. echo \---------------------------------------------------\
  2237. echo  \                   Pikachu (Lvl 4)                 \
  2238. echo   \---------------------------------------------------\
  2239. echo Prof. Oak: Do you want to pick Pikachu?
  2240. echo Be careful this pokemon is very energetic.
  2241. echo Enter y to choose Pikachu
  2242. pause
  2243. set /p yno=
  2244.  
  2245. if '%yno%' == 'y' (
  2246.     set starter=Pikachu
  2247.     goto chosen
  2248. )
  2249.  
  2250. :chosen
  2251. cls
  2252. echo Prof. Oak: Congrats! From here on you are now a pokemon trainer!
  2253. echo Here, take this with you.
  2254. echo (Pokegear received)
  2255. echo Prof. Oak: This will help you along the way.
  2256. pause
  2257.  
  2258. cls
  2259. echo Prof. Oak: Now your journey begins with %starter%
  2260. echo Prof. Oak: Collect gym badges and compete in the Pokemon League.
  2261. echo Prof. Oak: Good luck!
  2262. pause
  2263.  
  2264. :start
  2265. set starter-lvl=4
  2266. set starter-hp=20
  2267. set starter-att=2
  2268. set starter-def=2
  2269. set starter-spd=2
  2270. set starter-spatt=2
  2271. set starter-spdef=2
  2272. set mom=0
  2273. set fstone=0
  2274. set rwing=0
  2275. set leaguecup=0
  2276.  
  2277. ::Maribou town
  2278. ::Rienna city
  2279. ::Vicarian city
  2280. ::Aminos city
  2281.  
  2282. :city1
  2283. ::Maribou town
  2284. cls
  2285. echo You are in Maribou town
  2286. echo Enter option number to pick an option (1,2,3,4)
  2287. echo 1) Go to your home
  2288. echo 2) Go to Pokemon Center
  2289. echo 3) Go to Pokemon Lab
  2290. echo 4) Go to tall grass to exit Maribou town
  2291. pause
  2292. set /p city1option=
  2293. if '%city1option%' == '1' goto city1-1
  2294. if '%city1option%' == '2' goto city1-2
  2295. if '%city1option%' == '3' goto city1-3
  2296. if '%city1option%' == '4' goto city1-4
  2297.  
  2298. :city1-1
  2299. cls
  2300. echo \---------------------------------------------------\
  2301. echo  \                         Home                      \
  2302. echo   \---------------------------------------------------\
  2303. echo      __!!_______________
  2304. echo     /  !!             /\\
  2305. echo    /  /__\           /  \\
  2306. echo   /_________________/    \\
  2307. echo   !                !  /\  !
  2308. echo   !                ! /  \ !
  2309. echo   !________________! !  ! !
  2310. echo.
  2311. echo You are inside your home
  2312. echo Enter option number to pick an option (1,2,3)
  2313. echo 1) Talk to your Mom
  2314. echo 2) Eat food and take rest
  2315. echo 3) Go back to town
  2316. pause
  2317.  
  2318. set /p city1-1option=
  2319.  
  2320. if '%city1-1option%' == '1' goto city1-1-1
  2321. if '%city1-1option%' == '2' goto city1-1-2
  2322. if '%city1-1option%' == '3' goto city1
  2323.  
  2324. :city1-1-1
  2325. cls
  2326. if '%mom%' == '0' (
  2327.     echo Mom: %name%! I hate you and your unknown father.
  2328.     echo Mom: Go wander around the world on foot for years and never come back!
  2329.     echo Mom: But first take these running shoes.
  2330.     echo Mom: These won't have any effect in PokeBatch but I'm just giving it so you don't complain.
  2331.     set mom=1
  2332.     pause
  2333.     goto city1-1
  2334. )
  2335. if '%mom%' == '1' (
  2336.     echo Mom: What's the matter? Did you bring something for me?
  2337.     echo Mom: No? Get the hell out of my house then! : class="re0">D
  2338.     pause
  2339.     goto city1-1
  2340. )
  2341. if '%mom%' == '2' (
  2342.     echo Mom: What's the matter? Did you bring something for me?
  2343.     echo Mom: Ooooh! That's a HUGE diamond! I almost love you! : class="re0">)
  2344.     echo (Handed over the diamond)
  2345.     echo Mom: Here, take this fire stone from your father's collection.
  2346.     echo (Received Fire stone)
  2347.     set fstone=1
  2348.     set mom=3
  2349.     pause
  2350.     goto city1-1
  2351. )
  2352. if '%mom%' == '3' (
  2353.     echo Mom: Yay! Did you bring something else for me?
  2354.     echo Mom: No? Oh well, guess I still hate you. :)
  2355.     pause
  2356.     goto city1-1
  2357. )
  2358. if '%mom%' == '4' (
  2359.     echo Mom: Well? What is it? A surprise you say?
  2360.     echo (Hands over the Jade necklace)
  2361.     echo Mom: OMG! O_O I love it!!
  2362.     echo Mom: You deserve this Rainbow Wing
  2363.     echo (Received Rainbow Wing)
  2364.     set rwing=1
  2365.     set mom=5
  2366.     echo Mom: Let me quote your father.
  2367.     echo "Only a true Pokemon Champion can make use of this Rainbow Wing."
  2368.     echo "The legendary Ho-Oh will appear before only him who is pure of heart and has a strong will."
  2369.     echo "He must go to the Bell Tower in Vicarian city at once."
  2370.     echo "But there is one thing you should kno... "
  2371.     echo Mom: And the rest is unreadable. Your crazy father and his ramblings about some legendary pokemon.
  2372.     pause
  2373.     goto city1-1
  2374. )
  2375. if '%mom%' == '5' (
  2376.     echo Mom: You know what? You aren't that bad :)
  2377.     pause
  2378.     goto city1-1
  2379. )
  2380. if '%mom%' == '6' (
  2381.     echo Mom: What the.. Is that a Ho-Oh? :O
  2382.     echo Mom: That means your father wasn't a loser!
  2383.     pause
  2384.     goto city1-1
  2385. )
  2386.  
  2387. :city1-1-2
  2388. cls
  2389. echo You ate lots of delicious food.. OM NOM NOM NOM
  2390. echo You are feeling sleepy. What was in the food?!
  2391. echo You wake up 12 hours later. Your %starter% has recovered his HP.
  2392. set /a starter-hp=10*%starter-lvl%
  2393. pause
  2394. goto :city1-1
  2395.  
  2396. :city1-2
  2397. cls
  2398. echo \---------------------------------------------------\
  2399. echo  \                   Pokemon Center                  \
  2400. echo   \---------------------------------------------------\
  2401. echo.
  2402. echo     ___________________
  2403. echo    /___________________\
  2404. echo    !       //_\\       !
  2405. echo    !_______\\_//_______!
  2406. echo    !     !  ___  !     !
  2407. echo    !     ! !   ! !     !
  2408. echo    !_____! !___! !_____!
  2409. echo.
  2410. echo You are inside the Pokemon Center
  2411. echo Enter option number to pick an option (1,2,3)
  2412. echo 1) Get your pokemon healed by Nurse Joy
  2413. echo 2) Get other services from Nurse Joy ;)
  2414. echo 3) Go back to town
  2415. pause
  2416.  
  2417. set /p city1-2option=
  2418.  
  2419. if '%city1-2option%' == '1' goto city1-2-1
  2420. if '%city1-2option%' == '2' goto city1-2-2
  2421. if '%city1-2option%' == '3' goto city1
  2422.  
  2423. :city1-2-1
  2424. cls
  2425. echo Nurse Joy: My my, your %starter% doesn't look very good
  2426. echo Nurse Joy: Here let me fix him with my love!
  2427. echo Your %starter% is blushed red
  2428. echo Nurse Joy: Here you go better than ever.
  2429. echo %starter%: %STARTER%!
  2430. echo Your %starter% has recovered his HP.
  2431. set /a starter-hp=10*%starter-lvl%
  2432. pause
  2433. goto city1-2
  2434.  
  2435. :city1-2-2
  2436. cls
  2437. echo %name%: Hey Joy, how about you show me your "Pokemons" ;)
  2438. if '%leaguecup%' == '0' (
  2439. echo Nurse Joy: I don't think you are trained enough to handle them kid.
  2440. echo Nurse Joy: Buzz off like a Beedrill before I doublekick you!
  2441. echo You run away to town hiding your face.
  2442. )
  2443. if '%leaguecup%' == '1' (
  2444. :: ;)
  2445. )
  2446. pause
  2447. goto city1
  2448.  
  2449. :city1-3
  2450. cls
  2451. echo \---------------------------------------------------\
  2452. echo  \                     Pokemon Lab                   \
  2453. echo   \---------------------------------------------------\
  2454. echo.
  2455. echo           _______
  2456. echo        .           .
  2457. echo     /      //_\\      \
  2458. echo    !_______\\ //_______!
  2459. echo    /___________________\
  2460. echo    !     !  ___  !     !
  2461. echo    !     ! /   \ !     !
  2462. echo    !_____! !___! !_____!
  2463. echo.
  2464. echo You are inside the Pokemon Lab
  2465. echo Enter option number to pick an option (1,2)
  2466. echo 1) Talk to Professor Oak
  2467. echo 2) Go back to town
  2468. pause
  2469.  
  2470. set /p city1-2option=
  2471.  
  2472. if '%city1-2option%' == '1' goto city1-3-1
  2473. if '%city1-2option%' == '2' goto city1
  2474.  
  2475. :city1-3-1
  2476. cls
  2477. echo Prof Oak: Oh hi %name% I am a little busy right now.
  2478. echo Prof Oak: Come back after you've won a gym batch.
  2479. pause
  2480. goto city1
  2481.  
  2482. :city1-4
  2483. cls
  2484. echo \---------------------------------------------------\
  2485. echo  \                     Tall grass                    \
  2486. echo   \---------------------------------------------------\
  2487. echo.
  2488. echo    )\  )\ )\ )\ /(  (\ )\  )\  )\  /( /( )\  (\ (\ /)  )\
  2489. echo    /( /( )\  (\ (\ /)  )\  )\  )\ )\ )\ /(  (\ )\  )\  )\
  2490. echo    )\  (\ (\ /)  )\ (\ )\  )\  )\  /( /( )\ )\ )\ )\ /(  (\
  2491. echo.
  2492. echo You stepped out of Maribou town.
  2493. echo Since your town is very small you can already see Rienna city.
  2494. echo Rienna city is famous for their berries and grass pokemon.
  2495. echo.
  2496. echo You are walking on tall grass
  2497. echo Something is inside the grass
  2498.  
  2499. setlocal ENABLEDELAYEDEXPANSION
  2500. set /a r=%random% %%!3 +1
  2501. ::Caterpie Oddish Rattata Cubone
  2502. if '%r%' == '0' (
  2503.     set wildpkmn=Caterpie
  2504.     goto wildpokemon
  2505. )
  2506. if '%r%' == '1' (
  2507.     set wildpkmn=Oddish
  2508.     goto wildpokemon
  2509. )
  2510. if '%r%' == '2' (
  2511.     set wildpkmn=Rattata
  2512.     goto wildpokemon
  2513. )
  2514. if '%r%' == '3' (
  2515.     set wildpkmn=Cubone
  2516.     goto wildpokemon
  2517. )
  2518. :wildpokemon
  2519. echo A wild %wildpkmn% has appeared
  2520. echo.
  2521. echo %wildpkmn%: %wildpkmn%
  2522. set wildpkmn-lvl=2
  2523. set wildpkmn-hp=10
  2524. set wildpkmn-hp=20
  2525. set wildpkmn-att=2
  2526. set wildpkmn-def=2
  2527. set wildpkmn-spd=2
  2528. set wildpkmn-spatt=2
  2529. set wildpkmn-spdef=2
  2530. echo.
  2531. echo %name%: Go %starter% I choose you!
  2532. echo %starter%: %starter%
  2533. pause
  2534.  
  2535. :wildpokemon-battle
  2536. cls
  2537. echo \---------------------------------------------------\
  2538. echo  \                 %wildpkmn% (Lvl %wildpkmn-lvl%)                \
  2539. echo   \---------------------------------------------------\
  2540. echo.
  2541. echo HP: %wildpkmn-hp%
  2542. echo.
  2543. echo.
  2544. echo \---------------------------------------------------\
  2545. echo  \                 %starter% (Lvl %starter-lvl%)                \
  2546. echo   \---------------------------------------------------\
  2547. echo.
  2548. echo HP: %starter-hp%
  2549. echo.
  2550. echo.
  2551. echo What do you want to do?
  2552. echo.
  2553. echo Enter option number to pick an option (1,2)
  2554. echo 1) Tackle Attack
  2555. echo 2) Bite
  2556. echo 3) [Run]
  2557.  
  2558. set /p wildpkmn-atk=
  2559. pause
  2560.  
  2561. set /a critical=%random% %%!1 +1
  2562.  
  2563. if '%wildpkmn-atk%' == '1' set impact-wildpkmn=((2*%wildpkmn-att%)/2)*(%critical%+1)
  2564. if '%wildpkmn-atk%' == '2' set impact-wildpkmn=((3*%wildpkmn-att%)/2)*(%critical%+1)
  2565.  
  2566. cls
  2567. echo \---------------------------------------------------\
  2568. echo  \                 %wildpkmn% (Lvl %wildpkmn-lvl%)                \
  2569. echo   \---------------------------------------------------\
  2570. echo.
  2571. echo HP: %wildpkmn-hp%
  2572.  
  2573. set wildpkmn-hp=%wildpkmn-hp%-(%impact-wildpkmn%-%wildpkmn-def%)
  2574.  
  2575. if '%critical%' == '0' echo %wildpkmn% lost %impact-wildpkmn% HP
  2576. if '%critical%' == '1' (
  2577.     echo Critical Hit!
  2578.     echo %wildpkmn% lost %impact-wildpkmn% HP
  2579. )
  2580.  
  2581. echo HP: %wildpkmn-hp%
  2582. echo.
  2583. if %wildpkmn-hp% <=0 goto wild-1-victory
  2584.  
  2585. echo \---------------------------------------------------\
  2586. echo  \                 %starter% (Lvl %starter-lvl%)                \
  2587. echo   \---------------------------------------------------\
  2588. echo.
  2589. echo HP: %starter-hp%
  2590. echo.
  2591. echo.
  2592.  
  2593. set /a wildpkmn-hit=%random% %%!1 +1
  2594. set /a critical=%random% %%!1 +1
  2595.  
  2596. if '%wildpkmn-hit%' == '0' set impact-starter=((2*%starter-att%)/2)*(%critical%+1)
  2597. if '%wildpkmn-hit%' == '1' set impact-starter=((3*%starter-att%)/2)*(%critical%+1)
  2598. set starter-hp=%starter-hp%-(%impact-starter%-%starter-def%)
  2599.  
  2600. if '%critical%' == '0' echo %starter% lost %impact-starter% HP
  2601. if '%critical%' == '1' (
  2602.     echo Critical Hit!
  2603.     echo %starter% lost %impact-starter% HP
  2604. )
  2605.  
  2606. echo HP: %starter-hp%
  2607. echo.
  2608. echo.
  2609.  
  2610. if %starter-hp% <=0 goto gameover
  2611.  
  2612. goto wildpokemon-battle
  2613.  
  2614. :wild-1-victory
  2615. cls
  2616. echo \---------------------------------------------------\
  2617. echo  \                 %wildpkmn% (Lvl %wildpkmn-lvl%)                \
  2618. echo   \---------------------------------------------------\
  2619. echo.
  2620. echo HP: 0
  2621. echo.
  2622. echo.
  2623. echo \---------------------------------------------------\
  2624. echo  \                 %starter% (Lvl %starter-lvl%)                \
  2625. echo   \---------------------------------------------------\
  2626. echo.
  2627. echo HP: %starter-hp%
  2628. echo.
  2629. echo.
  2630. echo %wildpkmn% has fainted
  2631. echo.
  2632. echo %starter% gained 100 experience points
  2633. set /a starter-lvl=%starter-lvl%+1
  2634. set /a starter-hp=10*%starter-lvl%
  2635. set /a starter-att=%starter-att%+1
  2636. set /a starter-def=%starter-def%+1
  2637. set /a starter-spd=10*%starter-spd%+1
  2638. set /a starter-spatt=10*%starter-spatt%+1
  2639. set /a starter-spdef=10*%starter-spdef%+1
  2640.  
  2641. echo %starter% reached Level %starter-lvl%
  2642. echo %starter%'s HP increased to %starter-hp%
  2643. echo %starter%'s Attack increased to %starter-att%
  2644. echo %starter%'s Defense increased to %starter-def%
  2645. echo %starter%'s Speed increased to %starter-spd%
  2646. echo %starter%'s Sp.Attack increased to %starter-spatt%
  2647. echo %starter%'s Sp.Defense increased to %starter-spdef%
  2648. pause
  2649. goto city-2
  2650.  
  2651. :gameover
  2652. cls
  2653. echo \---------------------------------------------------\
  2654. echo  \                 %wildpkmn% (Lvl %wildpkmn-lvl%)                \
  2655. echo   \---------------------------------------------------\
  2656. echo.
  2657. echo HP: %wildpkmn-hp%
  2658. echo.
  2659. echo.
  2660. echo \---------------------------------------------------\
  2661. echo  \                 %starter% (Lvl %starter-lvl%)                \
  2662. echo   \---------------------------------------------------\
  2663. echo.
  2664. echo HP: 0
  2665. echo.
  2666. echo.
  2667. echo %starter% has fainted
  2668. echo You don't have any more Pokemon
  2669. echo %name% runs away to Maribou town to his home.
  2670. goto start
  2671.  
  2672. :city-2
  2673. ::Rienna city
  2674. cls
  2675. echo You are in Rienna city
  2676. echo Enter option number to pick an option (1,2,3,4)
  2677. echo 1) Talk to the camper
  2678. echo 2) Go near the fountain
  2679. echo 3) Go to the crossroads
  2680. echo 4) Go to Pokemon center
  2681. pause
  2682. set /p city2option=
  2683.  
  2684. if '%city2option%' == '1' goto city2-1
  2685. if '%city2option%' == '2' goto city2-2
  2686. if '%city2option%' == '3' goto city2-3
  2687. if '%city2option%' == '4' goto city2-4
  2688. :game2
  2689. @echo off
  2690. color 0c
  2691. title TOTAL WAR!!!
  2692. echo.
  2693. echo Welcome to Total War, created by Vincent Allain.
  2694. echo.
  2695. pause
  2696. :players
  2697. cls
  2698. set player=
  2699. set replay=
  2700. echo.
  2701. set /p player=Select 1 or 2 player mode:
  2702. if '%player%'=='1' goto name
  2703. if '%player%'=='2' goto p1name
  2704. goto players
  2705. :name
  2706. cls
  2707. set name=
  2708. echo.
  2709. set /p name=Please type in your name (One word):
  2710. if '%name%'=='' goto name
  2711. rem Easter Egg:
  2712. if '%name%'=='Vincent' goto win
  2713. :country
  2714. cls
  2715. set country=
  2716. set enemy=
  2717. echo.
  2718. echo Welcome %name%!
  2719. echo.
  2720. set /p country=Choose your country; USA, Russia, or Canada:
  2721. if '%country%'=='usa' goto enemy1
  2722. if '%country%'=='USA' goto enemy1
  2723. if '%country%'=='Usa' goto enemy1
  2724. if '%country%'=='Russia' goto enemy2
  2725. if '%country%'=='russia' goto enemy2
  2726. if '%country%'=='canada' goto enemy3
  2727. if '%country%'=='Canada' goto enemy3
  2728. goto country
  2729. :enemy1
  2730. set country=USA
  2731. goto enemy
  2732. :enemy2
  2733. set country=Russia
  2734. goto enemy
  2735. :enemy3
  2736. set country=Canada
  2737. :enemy
  2738. set /a cpucountryrand=%random% %%5 +1
  2739. if '%cpucountryrand%'=='0' goto enemy
  2740. if '%cpucountryrand%'=='1' set enemy=Russia
  2741. if '%cpucountryrand%'=='2' set enemy=USA
  2742. if '%cpucountryrand%'=='3' set enemy=Canada
  2743. if '%cpucountryrand%'=='4' goto enemy
  2744. if '%cpucountryrand%'=='5' goto enemy
  2745. if '%enemy%'=='%country%' goto enemy
  2746. :begin
  2747. set user=1000
  2748. set cpu=1000
  2749. set nuke=1
  2750. set airstrike=2
  2751. set missiles=3
  2752. set cpunuke=1
  2753. set cpuairstrike=2
  2754. set cpumissiles=3
  2755. :gameplay
  2756. cls
  2757. set move=
  2758. set choice=
  2759. set cpucount=0
  2760. echo.
  2761. echo %name%, your turn.
  2762. echo                                                               %country%: %user% DEF
  2763. echo Options:
  2764. echo                                                               %enemy%: %cpu% DEF
  2765. echo 1. Fire NUKE x %nuke%
  2766. echo.
  2767. echo 2. Fire Airstrike x %airstrike%
  2768. echo.
  2769. echo 3. Fire Missiles x %missiles%
  2770. echo.
  2771. echo 4. Surrender
  2772. echo.
  2773. echo 5. Do nothing
  2774. echo.
  2775. set /p move=Select your option:
  2776. if '%move%'=='1' goto nuke
  2777. if '%move%'=='2' goto airstrike
  2778. if '%move%'=='3' goto missiles
  2779. if '%move%'=='4' goto surrender
  2780. if '%move%'=='5' goto cpu1
  2781. goto gameplay
  2782. :nuke
  2783. cls
  2784. if '%nuke%'=='0' goto nonuke
  2785. echo.
  2786. echo %name% has fired a NUKE headed towards the %enemy%!
  2787. echo.
  2788. ping localhost -n 4 >nul
  2789. echo Hit!
  2790. echo.
  2791. echo %enemy% has lost 400 DEF!
  2792. echo.
  2793. pause
  2794. set /a cpu=%cpu% - 400
  2795. set nuke=0
  2796. if '%cpu%'=='0' goto win
  2797. if '%cpu%'=='-100' goto win
  2798. if '%cpu%'=='-200' goto win
  2799. if '%cpu%'=='-300' goto win
  2800. goto cpu1
  2801. :nonuke
  2802. echo.
  2803. echo You can't use a nuke since you don't have any more left!
  2804. echo.
  2805. pause
  2806. goto gameplay
  2807. :airstrike
  2808. cls
  2809. if '%airstrike%'=='0' goto noairstrike
  2810. echo.
  2811. echo %name% has fired an airstrike on the %enemy%!
  2812. echo.
  2813. ping localhost -n 4 >nul
  2814. echo Hit!
  2815. echo.
  2816. echo %enemy% has lost 300 DEF!
  2817. echo.
  2818. pause
  2819. set /a cpu=%cpu% - 300
  2820. set /a airstrike=%airstrike% - 1
  2821. if '%cpu%'=='0' goto win
  2822. if '%cpu%'=='-100' goto win
  2823. if '%cpu%'=='-200' goto win
  2824. if '%cpu%'=='-300' goto win
  2825. goto cpu1
  2826. :noairstrike
  2827. echo.
  2828. echo You can't use an airstrike since you don't have any more left!
  2829. echo.
  2830. pause
  2831. goto gameplay
  2832. :missiles
  2833. cls
  2834. if '%missiles%'=='0' goto nomissiles
  2835. echo.
  2836. echo %name% has fired multiple missiles headed towards the %enemy%!
  2837. echo.
  2838. ping localhost -n 4 >nul
  2839. echo Hit!
  2840. echo.
  2841. echo %enemy% has lost 200 DEF!
  2842. echo.
  2843. pause
  2844. set /a cpu=%cpu% - 200
  2845. set /a missiles=%missiles% - 1
  2846. if '%cpu%'=='0' goto win
  2847. if '%cpu%'=='-100' goto win
  2848. if '%cpu%'=='-200' goto win
  2849. if '%cpu%'=='-300' goto win
  2850. goto cpu1
  2851. :nomissiles
  2852. echo.
  2853. echo You can't use missiles since you don't have any more left!
  2854. echo.
  2855. pause
  2856. goto gameplay
  2857. :surrender
  2858. cls
  2859. echo.
  2860. echo "We may have lost the war, but we still have our dignity..."
  2861. echo.
  2862. pause
  2863. :end
  2864. cls
  2865. echo.
  2866. echo "We may have lost the war, but we still have our dignity..."
  2867. echo.
  2868. set /p replay=Type anything to replay the game. Type 'x' to exit:
  2869. if '%replay%'=='x' goto suggest
  2870. if '%replay%'=='' goto end
  2871. goto players
  2872. :win
  2873. cls
  2874. echo.
  2875. echo You have won Total War!!!
  2876. echo.
  2877. pause
  2878. :win2
  2879. cls
  2880. echo.
  2881. echo You have won Total War!!!
  2882. echo.
  2883. set /p replay=Type anything to replay the game. Type 'x' to exit:
  2884. if '%replay%'=='x' goto suggest
  2885. if '%replay%'=='' goto win2
  2886. goto players
  2887. :cpu1
  2888. cls
  2889. set /a cpucount=%cpucount% + 1
  2890. if '%cpucount%'=='10' goto cpu2
  2891. echo.
  2892. echo My turn.
  2893. echo                                                               %country%: %user% DEF
  2894. echo Options:
  2895. echo                                                               %enemy%: %cpu% DEF
  2896. echo 1. Fire NUKE x %cpunuke%
  2897. echo.
  2898. echo 2. Fire Airstrike x %cpuairstrike%
  2899. echo.
  2900. echo 3. Fire Missiles x %cpumissiles%
  2901. echo.
  2902. echo 4. Surrender
  2903. echo.
  2904. echo 5. Do nothing
  2905. echo.
  2906. echo Select your option:/
  2907. ping localhost -n 1 >nul
  2908. ping localhost -n 1 >nul
  2909. ping localhost -n 1 >nul
  2910. ping localhost -n 1 >nul
  2911. cls
  2912. echo.
  2913. echo My turn.
  2914. echo                                                               %country%: %user% DEF
  2915. echo Options:
  2916. echo                                                               %enemy%: %cpu% DEF
  2917. echo 1. Fire NUKE x %cpunuke%
  2918. echo.
  2919. echo 2. Fire Airstrike x %cpuairstrike%
  2920. echo.
  2921. echo 3. Fire Missiles x %cpumissiles%
  2922. echo.
  2923. echo 4. Surrender
  2924. echo.
  2925. echo 5. Do nothing
  2926. echo.
  2927. echo Select your option:-
  2928. ping localhost -n 1 >nul
  2929. ping localhost -n 1 >nul
  2930. ping localhost -n 1 >nul
  2931. ping localhost -n 1 >nul
  2932. cls
  2933. echo.
  2934. echo My turn.
  2935. echo                                                               %country%: %user% DEF
  2936. echo Options:
  2937. echo                                                               %enemy%: %cpu% DEF
  2938. echo 1. Fire NUKE x %cpunuke%
  2939. echo.
  2940. echo 2. Fire Airstrike x %cpuairstrike%
  2941. echo.
  2942. echo 3. Fire Missiles x %cpumissiles%
  2943. echo.
  2944. echo 4. Surrender
  2945. echo.
  2946. echo 5. Do nothing
  2947. echo.
  2948. echo Select your option:\
  2949. ping localhost -n 1 >nul
  2950. ping localhost -n 1 >nul
  2951. ping localhost -n 1 >nul
  2952. ping localhost -n 1 >nul
  2953. goto cpu1
  2954. :cpu2
  2955. cls
  2956. set /a choice=%random% %%6
  2957. if '%choice%'=='0' goto cpu2
  2958. if '%choice%'=='4' goto cpu2
  2959. if '%choice%'=='6' goto cpu2
  2960. echo.
  2961. echo My turn.
  2962. echo                                                               %country%: %user% DEF
  2963. echo Options:
  2964. echo                                                               %enemy%: %cpu% DEF
  2965. echo 1. Fire NUKE x %cpunuke%
  2966. echo.
  2967. echo 2. Fire Airstrike x %cpuairstrike%
  2968. echo.
  2969. echo 3. Fire Missiles x %cpumissiles%
  2970. echo.
  2971. echo 4. Surrender
  2972. echo.
  2973. echo 5. Do nothing
  2974. echo.
  2975. echo Select your option:%choice%
  2976. ping localhost -n 4 >nul
  2977. if '%choice%'=='1' goto cpunuke
  2978. if '%choice%'=='2' goto cpuairstrike
  2979. if '%choice%'=='3' goto cpumissiles
  2980. if '%choice%'=='5' goto gameplay
  2981. :cpunuke
  2982. cls
  2983. if '%cpunuke%'=='0' goto nocpunuke
  2984. echo.
  2985. echo I have fired a NUKE headed towards the %country%!
  2986. echo.
  2987. ping localhost -n 4 >nul
  2988. echo Hit!
  2989. echo.
  2990. echo %country% has lost 400 DEF!
  2991. echo.
  2992. ping localhost -n 4 >nul
  2993. set /a user=%user% - 400
  2994. set cpunuke=0
  2995. if '%user%'=='0' goto cpuwin
  2996. if '%user%'=='-100' goto cpuwin
  2997. if '%user%'=='-200' goto cpuwin
  2998. if '%user%'=='-300' goto cpuwin
  2999. goto gameplay
  3000. :nocpunuke
  3001. echo.
  3002. echo I can't use a nuke since I don't have any more left!
  3003. echo.
  3004. ping localhost -n 4 >nul
  3005. set cpucount=0
  3006. goto cpu1
  3007. :cpuairstrike
  3008. cls
  3009. if '%cpuairstrike%'=='0' goto nocpuairstrike
  3010. echo.
  3011. echo I have fired an airstrike on the %country%!
  3012. echo.
  3013. ping localhost -n 4 >nul
  3014. echo Hit!
  3015. echo.
  3016. echo %country% has lost 300 DEF!
  3017. echo.
  3018. ping localhost -n 4 >nul
  3019. set /a user=%user% - 300
  3020. set /a cpuairstrike=%cpuairstrike% - 1
  3021. if '%user%'=='0' goto cpuwin
  3022. if '%user%'=='-100' goto cpuwin
  3023. if '%user%'=='-200' goto cpuwin
  3024. if '%user%'=='-300' goto cpuwin
  3025. goto gameplay
  3026. :nocpuairstrike
  3027. echo.
  3028. echo I can't use an airstrike since I don't have any more left!
  3029. echo.
  3030. ping localhost -n 4 >nul
  3031. set cpucount=0
  3032. goto cpu1
  3033. :cpumissiles
  3034. cls
  3035. if '%cpumissiles%'=='0' goto nocpumissiles
  3036. echo.
  3037. echo I have fired multiple missiles headed towards the %country%!
  3038. echo.
  3039. ping localhost -n 4 >nul
  3040. echo Hit!
  3041. echo.
  3042. echo %country% has lost 200 DEF!
  3043. echo.
  3044. ping localhost -n 4 >nul
  3045. set /a user=%user% - 200
  3046. set /a cpumissiles=%cpumissiles% - 1
  3047. if '%user%'=='0' goto cpuwin
  3048. if '%user%'=='-100' goto cpuwin
  3049. if '%user%'=='-200' goto cpuwin
  3050. if '%user%'=='-300' goto cpuwin
  3051. goto gameplay
  3052. :nocpumissiles
  3053. echo.
  3054. echo I can't use missiles since I don't have any more left!
  3055. echo.
  3056. ping localhost -n 4 >nul
  3057. set cpucount=0
  3058. goto cpu1
  3059. :cpuwin
  3060. cls
  3061. echo.
  3062. echo It was a long battle today. I have emerged victorious, even though you tried
  3063. echo very well.
  3064. echo.
  3065. pause
  3066. :cpuwin2
  3067. cls
  3068. echo.
  3069. echo It was a long battle today. I have emerged victorious, even though you tried
  3070. echo very well.
  3071. echo.
  3072. set /p replay=Type anything to replay the game. Type 'x' to exit:
  3073. if '%replay%'=='x' goto suggest
  3074. if '%replay%'=='' goto cpuwin2
  3075. goto players
  3076. :p1name
  3077. cls
  3078. set p1name=
  3079. echo.
  3080. set /p p1name=Player 1, please type in your name (One word):
  3081. if '%p1name%'=='' goto p1name
  3082. :p2name
  3083. cls
  3084. set p2name=
  3085. echo.
  3086. set /p p2name=Player 2, please type in your name (One word):
  3087. if '%p2name%'=='%p1name%' goto p2name
  3088. if '%p2name%'=='' goto p2name
  3089. rem Easter Egg:
  3090. if '%p1name%'=='Vincent' goto p1win
  3091. if '%p2name%'=='Vincent' goto p2win
  3092. :p1country
  3093. cls
  3094. set p1country=
  3095. echo.
  3096. echo Welcome %p1name%!
  3097. echo.
  3098. set /p p1country=Choose your country; USA, Russia, or Canada:
  3099. if '%p1country%'=='usa' goto p1country1
  3100. if '%p1country%'=='USA' goto p1country1
  3101. if '%p1country%'=='Usa' goto p1country1
  3102. if '%p1country%'=='Russia' goto p1country2
  3103. if '%p1country%'=='russia' goto p1country2
  3104. if '%p1country%'=='canada' goto p1country3
  3105. if '%p1country%'=='Canada' goto p1country3
  3106. goto p1country
  3107. :p1country1
  3108. set p1country=USA
  3109. goto p2country
  3110. :p1country2
  3111. set p1country=Russia
  3112. goto p2country
  3113. :p1country3
  3114. set p1country=Canada
  3115. :p2country
  3116. cls
  3117. set p2country=
  3118. echo.
  3119. echo Welcome %p2name%!
  3120. echo.
  3121. set /p p2country=Choose your country; USA, Russia, or Canada:
  3122. if '%p2country%'=='%p1country%' goto na
  3123. if '%p2country%'=='usa' goto p2country1
  3124. if '%p2country%'=='USA' goto p2country1
  3125. if '%p2country%'=='Usa' goto p2country1
  3126. if '%p2country%'=='Russia' goto p2country2
  3127. if '%p2country%'=='russia' goto p2country2
  3128. if '%p2country%'=='canada' goto p2country3
  3129. if '%p2country%'=='Canada' goto p2country3
  3130. goto p2country
  3131. :na
  3132. cls
  3133. echo.
  3134. echo You can't choose %p1country% because %p1name% has already chosen it.
  3135. pause >nul
  3136. goto p2country
  3137. :p2country1
  3138. set p2country=USA
  3139. goto begin2
  3140. :p2country2
  3141. set p2country=Russia
  3142. goto begin2
  3143. :p2country3
  3144. set p2country=Canada
  3145. :begin2
  3146. set p1health=1000
  3147. set p2health=1000
  3148. set p1nuke=1
  3149. set p1airstrike=2
  3150. set p1missiles=3
  3151. set p2nuke=1
  3152. set p2airstrike=2
  3153. set p2missiles=3
  3154. :p1gameplay
  3155. cls
  3156. set move=
  3157. set choice=
  3158. echo.
  3159. echo %p1name%, your turn.
  3160. echo                                                               %p1country%: %p1health% DEF
  3161. echo Options:
  3162. echo                                                               %p2country%: %p2health% DEF
  3163. echo 1. Fire NUKE x %p1nuke%
  3164. echo.
  3165. echo 2. Fire Airstrike x %p1airstrike%
  3166. echo.
  3167. echo 3. Fire Missiles x %p1missiles%
  3168. echo.
  3169. echo 4. Surrender
  3170. echo.
  3171. echo 5. Do nothing
  3172. echo.
  3173. set /p move=Select your option:
  3174. if '%move%'=='1' goto p1nuke
  3175. if '%move%'=='2' goto p1airstrike
  3176. if '%move%'=='3' goto p1missiles
  3177. if '%move%'=='4' goto p1surrender
  3178. if '%move%'=='5' goto p2gameplay
  3179. goto p1gameplay
  3180. :p1nuke
  3181. cls
  3182. if '%p1nuke%'=='0' goto nop1nuke
  3183. echo.
  3184. echo %p1name% has fired a NUKE headed towards %p2country%!
  3185. echo.
  3186. ping localhost -n 4 >nul
  3187. echo Hit!
  3188. echo.
  3189. echo %p2country% has lost 400 DEF!
  3190. echo.
  3191. pause
  3192. set /a p2health=%p2health% - 400
  3193. set p1nuke=0
  3194. if '%p2health%'=='0' goto p1win
  3195. if '%p2health%'=='-100' goto p1win
  3196. if '%p2health%'=='-200' goto p1win
  3197. if '%p2health%'=='-300' goto p1win
  3198. goto p2gameplay
  3199. :nop1nuke
  3200. echo.
  3201. echo You can't use a nuke since you don't have any more left!
  3202. echo.
  3203. pause
  3204. goto p1gameplay
  3205. :p1airstrike
  3206. cls
  3207. if '%p1airstrike%'=='0' goto nop1airstrike
  3208. echo.
  3209. echo %p1name% has fired an airstrike on %p2country%!
  3210. echo.
  3211. ping localhost -n 4 >nul
  3212. echo Hit!
  3213. echo.
  3214. echo %p2country% has lost 300 DEF!
  3215. echo.
  3216. pause
  3217. set /a p2health=%p2health% - 300
  3218. set /a p1airstrike=%p1airstrike% - 1
  3219. if '%p2health%'=='0' goto p1win
  3220. if '%p2health%'=='-100' goto p1win
  3221. if '%p2health%'=='-200' goto p1win
  3222. if '%p2health%'=='-300' goto p1win
  3223. goto p2gameplay
  3224. :nop1airstrike
  3225. echo.
  3226. echo You can't use an airstrike since you don't have any more left!
  3227. echo.
  3228. pause
  3229. goto p1gameplay
  3230. :p1missiles
  3231. cls
  3232. if '%p1missiles%'=='0' goto nop1missiles
  3233. echo.
  3234. echo %p1name% has fired multiple missiles headed towards %p2country%!
  3235. echo.
  3236. ping localhost -n 4 >nul
  3237. echo Hit!
  3238. echo.
  3239. echo %p2country% has lost 200 DEF!
  3240. echo.
  3241. pause
  3242. set /a p2health=%p2health% - 200
  3243. set /a p1missiles=%p1missiles% - 1
  3244. if '%p2health%'=='0' goto p1win
  3245. if '%p2health%'=='-100' goto p1win
  3246. if '%p2health%'=='-200' goto p1win
  3247. if '%p2health%'=='-300' goto p1win
  3248. goto p2gameplay
  3249. :nop1missiles
  3250. echo.
  3251. echo You can't use missiles since you don't have any more left!
  3252. echo.
  3253. pause
  3254. goto p1gameplay
  3255. :p1surrender
  3256. cls
  3257. echo.
  3258. echo %p2name% has won Total War!!!
  3259. echo.
  3260. pause
  3261. :p1surrender2
  3262. cls
  3263. echo.
  3264. echo %p2name% has won Total War!!!
  3265. echo.
  3266. set /p replay=Type anything to replay the game. Type 'x' to exit:
  3267. if '%replay%'=='x' goto suggest
  3268. if '%replay%'=='' goto p1surrender2
  3269. goto players
  3270. :p1win
  3271. cls
  3272. echo.
  3273. echo %p1name% has won Total War!!!
  3274. echo.
  3275. pause
  3276. :p1win2
  3277. cls
  3278. echo.
  3279. echo %p1name% has won Total War!!!
  3280. echo.
  3281. set /p replay=Type anything to replay the game. Type 'x' to exit:
  3282. if '%replay%'=='x' goto suggest
  3283. if '%replay%'=='' goto p1win2
  3284. goto players
  3285. :p2gameplay
  3286. cls
  3287. set move=
  3288. set choice=
  3289. echo.
  3290. echo %p2name%, your turn.
  3291. echo                                                               %p2country%: %p2health% DEF
  3292. echo Options:
  3293. echo                                                               %p1country%: %p1health% DEF
  3294. echo 1. Fire NUKE x %p2nuke%
  3295. echo.
  3296. echo 2. Fire Airstrike x %p2airstrike%
  3297. echo.
  3298. echo 3. Fire Missiles x %p2missiles%
  3299. echo.
  3300. echo 4. Surrender
  3301. echo.
  3302. echo 5. Do nothing
  3303. echo.
  3304. set /p move=Select your option:
  3305. if '%move%'=='1' goto p2nuke
  3306. if '%move%'=='2' goto p2airstrike
  3307. if '%move%'=='3' goto p2missiles
  3308. if '%move%'=='4' goto p2surrender
  3309. if '%move%'=='5' goto p1gameplay
  3310. goto p2gameplay
  3311. :p2nuke
  3312. cls
  3313. if '%p2nuke%'=='0' goto nop2nuke
  3314. echo.
  3315. echo %p2name% has fired a NUKE headed towards %p1country%!
  3316. echo.
  3317. ping localhost -n 4 >nul
  3318. echo Hit!
  3319. echo.
  3320. echo %p1country% has lost 400 DEF!
  3321. echo.
  3322. pause
  3323. set /a p1health=%p1health% - 400
  3324. set p2nuke=0
  3325. if '%p1health%'=='0' goto p2win
  3326. if '%p1health%'=='-100' goto p2win
  3327. if '%p1health%'=='-200' goto p2win
  3328. if '%p1health%'=='-300' goto p2win
  3329. goto p1gameplay
  3330. :nop2nuke
  3331. echo.
  3332. echo You can't use a nuke since you don't have any more left!
  3333. echo.
  3334. pause
  3335. goto p2gameplay
  3336. :p2airstrike
  3337. cls
  3338. if '%p2airstrike%'=='0' goto nop2airstrike
  3339. echo.
  3340. echo %p2name% has fired an airstrike on %p1country%!
  3341. echo.
  3342. ping localhost -n 4 >nul
  3343. echo Hit!
  3344. echo.
  3345. echo %p1country% has lost 300 DEF!
  3346. echo.
  3347. pause
  3348. set /a p1health=%p1health% - 300
  3349. set /a p2airstrike=%p2airstrike% - 1
  3350. if '%p1health%'=='0' goto p2win
  3351. if '%p1health%'=='-100' goto p2win
  3352. if '%p1health%'=='-200' goto p2win
  3353. if '%p1health%'=='-300' goto p2win
  3354. goto p1gameplay
  3355. :nop2airstrike
  3356. echo.
  3357. echo You can't use an airstrike since you don't have any more left!
  3358. echo.
  3359. pause
  3360. goto p2gameplay
  3361. :p2missiles
  3362. cls
  3363. if '%p2missiles%'=='0' goto nop2missiles
  3364. echo.
  3365. echo %p2name% has fired multiple missiles headed towards %p1country%!
  3366. echo.
  3367. ping localhost -n 4 >nul
  3368. echo Hit!
  3369. echo.
  3370. echo %p1country% has lost 200 DEF!
  3371. echo.
  3372. pause
  3373. set /a p1health=%p1health% - 200
  3374. set /a p2missiles=%p2missiles% - 1
  3375. if '%p1health%'=='0' goto p2win
  3376. if '%p1health%'=='-100' goto p2win
  3377. if '%p1health%'=='-200' goto p2win
  3378. if '%p1health%'=='-300' goto p2win
  3379. goto p1gameplay
  3380. :nop2missiles
  3381. echo.
  3382. echo You can't use missiles since you don't have any more left!
  3383. echo.
  3384. pause
  3385. goto p2gameplay
  3386. :p2surrender
  3387. cls
  3388. echo.
  3389. echo %p1name% has won Total War!!!
  3390. echo.
  3391. pause
  3392. :p2surrender2
  3393. cls
  3394. echo.
  3395. echo %p1name% has won Total War!!!
  3396. echo.
  3397. set /p replay=Type anything to replay the game. Type 'x' to exit:
  3398. if '%replay%'=='x' goto suggest
  3399. if '%replay%'=='' goto p2surrender2
  3400. goto players
  3401. :p2win
  3402. cls
  3403. echo.
  3404. echo %p2name% has won Total War!!!
  3405. echo.
  3406. pause
  3407. :p2win2
  3408. cls
  3409. echo.
  3410. echo %p2name% has won Total War!!!
  3411. echo.
  3412. set /p replay=Type anything to replay the game. Type 'x' to exit:
  3413. if '%replay%'=='x' goto suggest
  3414. if '%replay%'=='' goto p2win2
  3415. goto players
  3416. :suggest
  3417. cls
  3418. echo.
  3419. echo Before you leave, can you suggest a country I can add to the file?
  3420. echo.
  3421. set /p suggestion=Suggest a country here:
  3422. if '%suggestion%'=='' goto suggest
  3423. echo %suggestion% >> suggestions.txt
  3424. :antivirus
  3425. @echo off
  3426. goto nodebug
  3427. :: @@@@@ Below Block is for Debugging Purposes Only @@@@@
  3428. @echo on
  3429. echo ERROR TEST LOG FLAG
  3430. IF NOT %1!==/go! %0 /go 1>C:\state\%~n0.log 2>&1
  3431. SHIFT
  3432. ECHO %1 %2 %3 %4 %5
  3433. :: @@@@@ Above Block is for Debugging Purposes Only @@@@@@
  3434. :nodebug
  3435. :: :::::::::::::::::::::::::::::::::::::::
  3436. :: Automatically check & get admin rights
  3437. :: :::::::::::::::::::::::::::::::::::::::
  3438. :: http://stackoverflow.com/questions/...
  3439. echo Hello Computer Name: %computername%
  3440. echo.
  3441. ECHO.
  3442. ECHO =============================
  3443. ECHO Running Admin shell
  3444. ECHO =============================
  3445. :checkPrivileges
  3446. NET FILE 1>NUL 2>NUL
  3447. if '%errorlevel%' == '0' ( goto gotPrivileges ) else ( goto getPrivileges )
  3448. :getPrivileges
  3449. if '%1'=='ELEV' (shift & goto gotPrivileges)
  3450. ECHO.
  3451. ECHO **************************************
  3452. ECHO Invoking UAC for Privilege Escalation
  3453. ECHO **************************************
  3454. setlocal DisableDelayedExpansion
  3455. set "batchPath=%~0"
  3456. setlocal EnableDelayedExpansion
  3457. ECHO Set UAC = CreateObject^("Shell.Application"^) > "%temp%\OEgetPrivileges.vbs"
  3458. ECHO UAC.ShellExecute "!batchPath!", "ELEV", "", "runas", 1 >> "%temp%\OEgetPrivileges.vbs"
  3459. "%temp%\OEgetPrivileges.vbs"
  3460. exit /B
  3461. echo Current path is %cd%
  3462. echo Changing directory to the path of the current script
  3463. cd %~dp0
  3464. echo Current path is %cd%
  3465. :gotPrivileges
  3466. ::::::::::::::::::::::::::::
  3467. ::START
  3468. :: @@@@@@@@@@@@ DEEP OR QUICK MODE SELECTION BELOW @@@@@@@@@@@@
  3469. @For /F "tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do @(
  3470. Set Day=%%A
  3471. Set Month=%%B
  3472. Set Year=%%C
  3473. )
  3474. echo -------------------------------------------------
  3475. echo %Year%-%Month%-%Day%
  3476. echo.
  3477. set choice=n
  3478. echo -------------------------------------------------
  3479. echo Do you want to RUN Manual Deep Scans ALSO ? Press: y : then : ENTER.
  3480. echo.
  3481. echo NOTE: Some of these deep scans can take a long time to complete ...
  3482. echo You should only run the DEEP scans about once a month to save time...
  3483. echo OR If you KNOW their is a problem with your computer and it needs fixing.
  3484. echo.
  3485. echo If you Want FULL Automation and DO NOT want to
  3486. echo be bothered with DEEP Manual Scans JUST Press Enter.
  3487. echo -------------------------------------------------
  3488. set /P choice=: [y] or [n] ^>
  3489. echo.
  3490. echo You Pressed The: %choice% Key
  3491. :: Check and MAKE SURE an Invalid Key was not pressed if so set n
  3492. if not %choice%==y if not %choice%==n set choice=n
  3493. echo.
  3494. :: @@@@@@@@@@@@ DEEP OR QUICK MODE SELECTION ABOVE @@@@@@@@@@@@
  3495. :: The User Selection Options y or n are taken into consideration
  3496. :: further down the script in various selected regions.
  3497. :: ------------------------------------------------------------
  3498. :: This Sets a TIME SLOT of FULL scan mode on EMSISOFT if ALL true
  3499. if %choice%==y (set scanmode=deep) else (set scanmode=smart)
  3500. echo -----------------------------------------------------------
  3501. echo This AUTOMATED batch cleaning tool was written by Chelley
  3502. echo It can ONLY work if you have several programs Installed
  3503. echo Including SPYBOT SEARCH AND DESTROY. Including the Following !
  3504. echo Malwarebytes : Emsisoft : Defraggler : CCleaner :
  3505. echo IF some or ALL of these programs are missing or not Installed
  3506. echo in their USUAL C:\Program Files Location then this Batch
  3507. echo file MAY not be effective in AUTOCLEANING your system,
  3508. echo if you have any problems please contact Chelley
  3509. echo.
  3510. echo THIS BATCH MUST BE STARTED VIA RUNNING: RUNME.bat AS an ADMINISTRATOR
  3511. echo -----------------------------------------------------------
  3512. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3513. if not exist "%SystemRoot%\System32\Contig.exe" if exist "Contig.exe" xcopy /y Contig.exe "%SystemRoot%\System32\Contig.exe"
  3514. cls
  3515. :: ###########################################################
  3516. > cleaning.tmp echo Running
  3517. set state="C:\state\clnstate.txt"
  3518. if not exist C:\state\ md C:\state\
  3519. >> %state% echo.
  3520. >> %state% echo STARTING NEW SCAN ON Time: %time% Date: %date%
  3521. >> %state% echo ----------------------------------------
  3522. :: http://www.makeuseof.com/tag/xx-way...
  3523. :: ###########################################################
  3524. :: https://helpdesk.malwarebytes.org/h...
  3525. if exist "C:\Program Files\Malwarebytes Anti-Malware\mbam.exe" (set mbytes=11) else (set mbytes=10)
  3526. if exist "C:\Program Files\Malwarebytes Anti-Malware\mbam.exe" (set mbaU="C:\Program Files\Malwarebytes Anti-Malware\mbam.exe" /runupdate) else (set mbaU=>> %state% echo Malware Bytes is Not Installed or path LOCATION ERROR on %date%)
  3527. if exist "C:\Program Files\Malwarebytes Anti-Malware\mbam.exe" (set mbaS="C:\Program Files\Malwarebytes Anti-Malware\mbam.exe" /fullauto) else (set mbaS=echo none)
  3528. if exist "C:\Program Files\Defraggler\df.exe" (set def="C:\Program Files\Defraggler\df") else (set def=%SystemRoot%\system32\Defrag)
  3529. if exist "C:\Program Files\CCleaner\CCleaner.exe" (set cc=1) else (set cc=10)
  3530. if exist "C:\Program Files\CCleaner\CCleaner.exe" (set ccscf="C:\Program Files\CCleaner\CCleaner.exe" /AUTO) else (set ccscf=>> %state% echo CCleaner is Not Installed or path LOCATION ERROR on %date%)
  3531. if exist "C:\Program Files\CCleaner\CCleaner.exe" (set ccscr="C:\Program Files\CCleaner\CCleaner.exe" /REGISTRY /AUTO) else (set ccscr=echo none)
  3532. if exist "C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" (set spb=1) else (set spb=10)
  3533. if exist "C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" (set spybot1="C:\Program Files\Spybot - Search & Destroy\SpybotSD.exe" /autoupdate /autoimmunize /autocheck /autofix /autoclose) else (set spybot1=>> %state% echo Spybot Search and Destroy is Not Installed or path LOCATION ERROR on %date%)
  3534. if exist "C:\Program Files\Emsisoft Anti-Malware\a2cmd.exe" (set a2c=1) else (set a2c=10)
  3535. if exist "C:\Program Files\Emsisoft Anti-Malware\a2cmd.exe" (set amalu="C:\Program Files\Emsisoft Anti-Malware\a2cmd.exe" /s /update &&echo UPDATED Emsisoft &&if exist sleep.com sleep 5) else (set amalu=>> %state% echo Emsisoft Antimalware is Not Installed or path LOCATION ERROR on %date%)
  3536. if exist "C:\Program Files\Emsisoft Anti-Malware\a2cmd.exe" (set amals="C:\Program Files\Emsisoft Anti-Malware\a2cmd.exe" /s /%scanmode% /h /m /t /r /d /whitelist="C:\Program Files\Emsisoft Anti-Malware\a2whitelist.ini" /quarantine="C:\Program Files\Emsisoft Anti-Malware\Quarantine" /delete) else (set amals=echo none)
  3537. if %mbytes%==11 echo Updating MalwareBytes &&%mbaU%
  3538. :: http://www.safer-networking.org/faq...
  3539. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3540. :: SPYBOT SEARCH AND DESTROY LOG SNOOPING LOOKING FOR SPYWARE START
  3541. :: ---------------------------------------------------
  3542. if exist "%ALLUSERSPROFILE%\Application Data\Spybot - Search & Destroy\Logs" set splogs="%ALLUSERSPROFILE%\Application Data\Spybot - Search & Destroy\Logs\Checks.*%Month%%Day%-*.log"
  3543. set spiesfound=0
  3544. if exist %splogs% (goto check1a) else (goto nochk1a)
  3545. :check1a
  3546. >nul find "found:" %splogs% && (
  3547. echo Spybot has found Spyware on %computername%.
  3548. set spiesfound=1
  3549. goto :notice2
  3550. ) || (
  3551. echo Spybot has found no Spyware on %computername%.
  3552. goto :nofix2
  3553. )
  3554. if %spiesfound%==1 echo SPYWARE WAS FOUND BY SPYBOT SEARCH AND DESTROY.
  3555. if %spiesfound%==1 >> %state% echo SPYWARE WAS FOUND BY SPYBOT SEARCH AND DESTROY T:%time D:%date%
  3556. :nochk1a
  3557. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3558. :: SPYBOT SEARCH AND DESTROY LOG SNOOPING LOOKING FOR SPYWARE END
  3559. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3560. >> %state% echo Operating System = Windows %os%
  3561. >> %state% echo --------------------------------------------------------------------------------
  3562. >> %state% echo.
  3563. >> %state% echo NEW SCAN INITIALIZED FOR CLEANING AND DEFRAG AT %time% on %date%
  3564. if %a2c%==10 >> %state% echo Emsisoft Antimalware Is Missing Please Instal http://tinyurl.com/knd5aod
  3565. if %mbytes%==10 >> %state% echo MalwareBytes is Not Installed Will try Portable Version OR Please Install from https://www.malwarebytes.org/
  3566. if %cc%==10 >> %state% echo Ccleaner is Missing Please Install http://www.piriform.com/
  3567. if %spb%==10 >> %state% echo Spybot Search and Destroy is Missing Please Install http://www.safer-networking.org/
  3568. if %Day%==8 Cleanmgr /sagerun:1
  3569. if %Day%==22 Cleanmgr /sagerun:1
  3570. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3571. cls
  3572. :: ------------------------------------------------------
  3573. >> %state% echo CLEANING YOUR SYSTEM T: %time% D: %date%
  3574. if %a2c%==1 echo Updating Emsisoft &&%amalu%
  3575. echo.&&cls
  3576. echo DONE Emsisoft Update
  3577. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3578. cls
  3579. :: ------------------------------------------------------
  3580. if %cc%==1 echo Running Ccleaner File Clean &&%ccscf%
  3581. echo.&&cls
  3582. if %cc%==1 echo DONE Ccleaner File Clean
  3583. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3584. cls
  3585. :: ------------------------------------------------------
  3586. if %cc%==1 echo Running Ccleaner Reg Clean &&%ccscr%
  3587. echo.&&cls
  3588. if %cc%==1 echo DONE Ccleaner Registry Clean
  3589. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3590. cls
  3591. if %choice%==n goto donesbsd
  3592. if %spb%==10 goto donesbsd
  3593. :: ---------- Prevents Repeat Checks Same Month ---------
  3594. set noloop2=0
  3595. if exist Month2.tmp set /p noloop2=<Month2.tmp
  3596. if %noloop2% NEQ %Month% goto spsdr
  3597. if %noloop2% EQU %Month% echo SPYBOT Search 8 Destroy HAS ALREADY RUN ONCE THIS Month
  3598. if %noloop2% EQU %Month% >> %state% echo SPYBOT Search 8 Destroy HAS ALREADY RUN ONCE THIS Month %Month%
  3599. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3600. if %noloop2%==%Month% goto donesbsd
  3601. :: ------------------------------------------------------
  3602. :spsdr
  3603. > Month2.tmp echo %Month%
  3604. if %choice%==y echo Running Spybot Search and Destroy Please Wait ... &&%spybot1%
  3605. echo.&&cls
  3606. if %choice%==y echo DONE Spybot Search and Destroy Scan &&goto donesbsd
  3607. cls
  3608. :: ------------------------------------------------------
  3609. if %Day%==21 echo Running Spybot Search and Destroy &&%spybot1%
  3610. if %Day%==21 echo DONE Spybot Search and Destroy Scan
  3611. :donesbsd
  3612. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3613. cls
  3614. :: ------------------------------------------------------
  3615. if %mbytes%==11 if %choice%==y echo Running MalwareBytes Antimalware &&%mbaS%
  3616. echo.&&cls
  3617. if %mbytes%==11 if %choice%==y echo Done MalwareBytes Antimalware
  3618. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3619. cls
  3620. :: ------------------------------------------------------
  3621. if %a2c%==1 echo Emsisoft Antimalware Scanning &&%amals%
  3622. echo.&&cls
  3623. if %a2c%==1 echo Completed Emsisoft Antimalware Scan.
  3624. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3625. cls
  3626. set malfound=0
  3627. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3628. :: @@@@@@@@@@@@@@@@@@@@ OPTIONAL @@@@@@@@@@@@@@@@@@@@@@@@
  3629. :: ------------------------------------------------------
  3630. :: If in "mbar-log-*.txt" a "Removal queue found" or "Cleaning up" or "Infected" then run fixdamage
  3631. if exist Mbar\mbar.exe (goto mbar1) else (goto nofix)
  3632. :mbar1
  3633. :: ----------------------------------------------------------------
  3634. echo.
  3635. echo.
  3636. :: If all the scanners did a DEEP scan all at once it could take 24 Hours
  3637. :: to complete so these Variables below check to ensure only one scanner at
  3638. :: a time gets to run in deep scan mode to save time.
  3639. :: also if Malwarebytes is already installed skip portable MBAR version.
  3640. :: ----------------------------------------------------------------
  3641. if %mbytes%==11 goto nocheck1
  3642. if %scanmode%==deep goto nocheck1
  3643. if %choice%==n goto nocheck1
  3644. echo -------------------------------------------------
  3645. echo PLEASE LEAVE THIS WINDOW OPEN or BEHIND an Active Scan Window
  3646. echo as you may have to read further scan results or Input [y] or [n]
  3647. echo.
  3648. echo STARTING PORTABLE VERSION OF MALWAREBYTES MBAR
  3649. echo Starting Mbar Scanner Please Wait ....
  3650. echo.
  3651. if exist Mbar\mbar.exe call Mbar\mbar.exe
  3652. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3653. cd %1
  3654. cls
  3655. if exist "Mbar\Plugins\fixdamage.exe" (goto fixdamage) else (goto nofix)
  3656. echo --------------------------------------------------------------
  3657. :fixdamage
  3658. echo PRESS PAUSE BREAK KEY TO READ TEXT BELOW : PRESS SPACE BAR TO CONTINUE
  3659. echo.
  3660. echo --------------------------------------------------------------
  3661. if exist Mbar\mbar-log-%year%-%Month%-%Day%*.txt (goto :check1) else (goto :nocheck1)
  3662. :check1
  3663. >nul find "Infected" Mbar\mbar-log-%year%-%Month%-%Day%*.txt && (
  3664. echo MBAR has found A Virus on %computername%.
  3665. set malfound=1
  3666. goto :notice
  3667. ) || (
  3668. echo Mbar has found no Infection on %computername%.
  3669. goto :nofix
  3670. )
  3671. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3672. :notice
  3673. echo.
  3674. echo Selecting fixdamage will open another console window and request
  3675. echo confirmation to apply any fixes to %computername%. Input: Y
  3676. echo to begin the fix.
  3677. echo.
  3678. :nocheck1
  3679. echo IMPORTANT If MBAR should ever find an Infection on %computername%
  3680. echo You MUST Run the FIX DAMAGE application to repair any Damage
  3681. echo A Virus / Trojan Horse / or other Malware may have caused.
  3682. echo.
  3683. echo However PLEASE NOTE that Running FIXDAMAGE.EXE Unnecesarily
  3684. echo may result in losing some user settings, these are not critical but
  3685. echo will mean you may have to reconfigure some user preferences again.
  3686. echo.
  3687. echo.
  3688. :nofix
  3689. pathping 127.0.0.1 -n -q 1 -p 15000 >nul 2>&1
  3690. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3691. echo.
  3692. if %spiesfound%==1 if %malfound%==1 echo Multiple Problems were found on your computer Virus's and Spyware
  3693. echo.
  3694. :: ---------------------------------------------------
  3695. >> %state% echo.
  3696. if %spiesfound%==1 if %malfound%==1 >> %state% echo Multiple Problems were found on your computer Virus's and Spyware
  3697. >> %state% echo.
  3698. :: @@@@@@@@@@@@@@@@@@@@ OPTIONAL @@@@@@@@@@@@@@@@@@@@@@@@
  3699. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3700. echo Now Defragmenting YOUR HARD DRIVE
  3701. >> %state% echo DEFRAGMENTING YOUR SYSTEM T: %time% D: %date%
  3702. %def% C:
  3703. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3704. if exist "D:\"* (set drvexist01=1) else (set drvexist01=0)
  3705. if exist "E:\"* (set drvexist02=1) else (set drvexist02=0)
  3706. if exist "F:\"* (set drvexist03=1) else (set drvexist03=0)
  3707. if exist "G:\"* (set drvexist04=1) else (set drvexist04=0)
  3708. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3709. :: -----------------------
  3710. if "%drvexist01%"=="0" goto noD
  3711. echo.
  3712. echo Now Checking Defrag Schedule for D: Drive
  3713. echo.
  3714. if %Day%==2 %def% D:
  3715. if %Day%==5 %def% D:
  3716. if %Day%==10 %def% D:
  3717. if %Day%==28 %def% D:
  3718. :: -----------------------
  3719. :noD
  3720. if "%drvexist02%"=="0" goto noE
  3721. echo.
  3722. echo Now Checking Defrag Schedule for E: Drive
  3723. echo.
  3724. if %Day%==3 %def% E:
  3725. if %Day%==12 %def% E:
  3726. :: -----------------------
  3727. :noE
  3728. if "%drvexist03%"=="0" goto noF
  3729. echo.
  3730. echo Now Checking Defrag Schedule for F: Drive
  3731. echo.
  3732. if %Day%==4 %def% F:
  3733. if %Day%==26 %def% F:
  3734. :: -----------------------
  3735. :noF
  3736. if "%drvexist03%"=="0" goto noG
  3737. echo.
  3738. echo Now Checking Defrag Schedule for G: Drive
  3739. echo.
  3740. if %Day%==25 %def% G:
  3741. :: -----------------------
  3742. :noG
  3743. :: @@@@@@@@@@@@@@@@@
  3744. :: CHECK DISK FOR ERRORS chkdsk
  3745. if %Day% GTR 25 if %Day% LSS 27 goto chk
  3746. if %Day% GTR 10 if %Day% LSS 14 goto chk
  3747. if %Day% LSS 03 goto chk
  3748. goto nochk
  3749. :chk
  3750. set noloop1=0
  3751. if exist today1.tmp set /p noloop1=<today1.tmp
  3752. if %noloop1%==%Day% echo HARD DISKS HAVE ALREADY BEEN CHECKED ONCE TODAY
  3753. >> %state% echo HARD DISKS HAVE ALREADY BEEN CHECKED ONCE TODAY %date%
  3754. if %noloop1%==%Day% goto nochk
  3755. > today1.tmp echo %Day%
  3756. >> %state% echo Now CHECKING YOUR HARD DRIVE
  3757. echo Now CHECKING YOUR HARD DRIVE
  3758. echo y > confirm.txt
  3759. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3760. :: -----------------------
  3761. if "%drvexist01%"=="0" goto noD1
  3762. echo Checking Drive D: For Errors
  3763. echo.
  3764. cls
  3765. >> %state% echo Checking Drive D: For Errors
  3766. >> %state% echo.
  3767. chkdsk D: /F < confirm.txt
  3768. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3769. :noD1
  3770. if "%drvexist02%"=="0" goto noE1
  3771. echo Checking Drive E: For Errors
  3772. echo.
  3773. cls
  3774. >> %state% echo Checking Drive E: For Errors
  3775. >> %state% echo.
  3776. chkdsk E: /F < confirm.txt
  3777. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3778. :noE1
  3779. :: -----------------------
  3780. if "%drvexist03%"=="0" goto noF1
  3781. echo Checking Drive F: For Errors
  3782. echo.
  3783. cls
  3784. >> %state% echo Checking Drive F: For Errors
  3785. >> %state% echo.
  3786. chkdsk F: /F < confirm.txt
  3787. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3788. :noF1
  3789. :: -----------------------
  3790. if "%drvexist04%"=="0" goto noG1
  3791. echo Checking Drive G: For Errors
  3792. echo.
  3793. cls
  3794. >> %state% echo Checking Drive G: For Errors
  3795. >> %state% echo.
  3796. chkdsk G: /F < confirm.txt
  3797. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3798. :noG1
  3799. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3800. echo Checking Drive C: For Errors
  3801. echo.
  3802. >> %state% echo Checking Drive C: For Errors
  3803. >> %state% echo.
  3804. chkdsk C: /F < confirm.txt
  3805. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3806. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3807. :nochk
  3808. if %malfound%==0 goto nomrt
  3809. echo BECAUSE A VIRUS WAS DETECTED A FULL MICROSOFT
  3810. echo M.R.T. MUST BE RUN this Can take some time,
  3811. echo IT SHOULD BE ALLOWED TO BE COMPLETED.
  3812. :nomrt
  3813. if %spiesfound%==1 if %malfound%==1 goto malrem
  3814. if %choice%==n goto nomalrem
  3815. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3816. if exist "malremove.exe" goto malrem
  3817. goto nomalrem
  3818. :malrem
  3819. echo Running Microsoft Malacious Software Removal Tool Time: %time%
  3820. >> %state% echo PLEASE Un-Check The Check Box to ASK for Permission Time: %time% Date: %date%
  3821. >> %state% echo should it be displayed.
  3822. echo.
  3823. echo Please WAIT This can Take quite a long time this Scan is Only run
  3824. echo If other virus Detections have been confirmed during earlier scans.
  3825. echo.
  3826. echo ----------------------------------------
  3827. if %spiesfound%==1 if %malfound%==1 goto mrtcln
  3828. echo skipping M.R.T. On this occasion I'm feeling lazy
  3829. >> %state% echo ----------------------------------------
  3830. >> %state% echo skipping M.R.T. On this occasion
  3831. >> %state% echo as no virus to cleanup
  3832. >> %state% echo ----------------------------------------
  3833. goto skipmrt
  3834. :mrtcln
  3835. echo PLEASE select CONTINUE and DE-SELECT The Check Box
  3836. echo for "M.S. Malacious Software Removal Tool"
  3837. echo IF it should ask for your permission to run ....
  3838. echo should it be displayed..
  3839. echo.
  3840. malremove.exe /Q /F:Y
  3841. :skipmrt
  3842. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3843. cls
  3844. :nomalrem
  3845. :: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
  3846. if not exist "%SystemRoot%\System32\Contig.exe" goto nocontig
  3847. >> %state% echo Starting CONTIG this program defragments system files
  3848. >> %state% echo including the paging file and Multi Fat Table etc.
  3849. >> %state% echo.
  3850. echo Starting CONTIG this program defragments system files
  3851. echo including the paging file and Multi Fat Table.
  3852. echo.
  3853. >> %state% echo ----------------------------------------
  3854. contig $Mft
  3855. contig $LogFile
  3856. contig $Volume
  3857. contig $AttrDef
  3858. contig $Bitmap
  3859. contig $Boot
  3860. contig $BadClus
  3861. contig $Secure
  3862. contig $UpCase
  3863. contig $Extend
  3864. >> %state% echo ----------------------------------------
  3865. >> %state% echo.
  3866. pathping 127.0.0.1 -n -q 1 -p 19000 >nul 2>&1
  3867. cls
  3868. :: ::::::::::::::::::::::::::
  3869. :nocontig
  3870. echo Please Scroll Down for any Software errors
  3871. echo When NOTEPAD opens the LOG FILE to read batch log
  3872. echo and send to chelley if their are errors listed.
  3873. echo.
  3874. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3875. notepad %state%
  3876. del cleaning.tmp
  3877. if %malfound%==0 goto nowarn
  3878. >> %state% echo MALWARE OR A VIRUS WAS FOUND
  3879. >> %state% echo YOU MAY WISH TO DO FURTHER
  3880. >> %state% echo DEEP SCANS ON YOUR COMPUTER.
  3881. :nowarn
  3882. >> %state% echo.
  3883. >> %state% echo Clean5.bat Completed Successfully Date: %date% Time: %time%
  3884. echo Clean5.bat Completed Successfully %time%
  3885. :: ------------------------------------------
  3886. :: --------- BELOW COMMAND DISABLED ---------
  3887. :: echo COMPUTER WILL SHUTDOWN IN 10 MINUTES TIME
  3888. :: shutdown -i -s -t 600
  3889. :: ------------------------------------------
  3890. :: ::::::::::::::::::::::::::
  3891. setlocal & pushd .
  3892. echo Current path is %cd%
  3893. echo Changing directory to the path of the current script
  3894. cd %~dp0
  3895. echo Current path is %cd%
  3896. REM Run shell as admin (example) - put here code as you like
  3897. >> %state% echo %choice% Key
  3898. >> %state% echo You Pressed The: %choice% Key y = full n = quick
  3899. >> %state% echo Completed
  3900. >> %state% echo.
  3901. >> %state% echo ----------------------------------------
  3902. pathping 127.0.0.1 -n -q 1 -p 5000 >nul 2>&1
  3903. :: cmd /k
  3904. endlocal
  3905.  
  3906. :devmode
  3907. @ECHO OFF
  3908.  
  3909. set tries=6
  3910. :top
  3911. cls
  3912. set /a tries=%tries% -1
  3913. if %tries%==0 (
  3914. goto penalty
  3915. )
  3916. Echo You have %tries% attempts left.
  3917. Echo Please enter your password to proceed
  3918. set /p password=
  3919. if %password%==root s ta (
  3920. echo Welcome Your Name
  3921. ping localhost -n 5 >nul
  3922. cls
  3923. Echo CONNECTED!
  3924.  
  3925.  
  3926.  
  3927. C:
  3928. CD\
  3929. CLS
  3930.  
  3931. :MENU
  3932. CLS
  3933.  
  3934. ECHO  ============= DEVLOPER MODE =============
  3935. ECHO -------------------------------------
  3936. ECHO 1.  System Information for devloper mode
  3937. ECHO +=+=+=+=+=+=+DEVLOPER TOOLS+=+=+=+=+=+=+=+
  3938. ECHO 2.  BONZO
  3939. ECHO 3.  LITTLE SNITCH
  3940. ECHO 4.  POSEIDON
  3941. ECHO 5.  RICE SHELL CORE SCRIPT
  3942. ECHO 6.  ROCKET BATCH EDITOR
  3943. ECHO ==========PRESS 'Q' TO QUIT==========ECHO.
  3944.  
  3945. SET INPUT=
  3946. SET /P INPUT=Please select a number:
  3947.  
  3948. IF /I '%INPUT%'=='1' GOTO INFODEV
  3949. IF /I '%INPUT%'=='2' GOTO BONZO
  3950. IF /I '%INPUT%'=='3' GOTO LITTLESNITCH
  3951. IF /I '%INPUT%'=='4' GOTO POSEIDON
  3952. IF /I '%INPUT%'=='5' GOTO RICECODES
  3953. IF /I '%INPUT%'=='6' GOTO EDIT
  3954. IF /I '%INPUT%'=='Q' GOTO info
  3955. CLS
  3956.  
  3957. ECHO ============INVALID INPUT============
  3958. ECHO -------------------------------------
  3959. ECHO Please select a number from the Main
  3960. echo Menu [1-9] or select 'Q' to quit.
  3961. ECHO -------------------------------------
  3962. ECHO ======PRESS ANY KEY TO CONTINUE======
  3963.  
  3964. PAUSE > NUL
  3965. GOTO MENU
  3966.  
  3967. :INFODEV
  3968. @ECHO OFF
  3969. CLS
  3970. ECHO YOU ARE IN THE DEVLOPER MODE
  3971. ECHO THIS PERMITS YOU TO HIDEN
  3972. ECHO PROGRAMS AND CODES YOU CAN
  3973. ECHO ACCES THE RICE CORE CODE AN THE
  3974. ECHO ROCKET OS MAIN CODE THAT PERMITS
  3975. ECHO YOU TO ADD/DELETE PROGRAMS AND
  3976. ECHO CUSTOMISE AS YOU WISH
  3977. ECHO ================================
  3978. echo GOOD NOLIGE IN CODING AN BATCH IS
  3979. ECHO             NEEDED
  3980. ECHO ================================
  3981. ECHO.
  3982. PAUSE > NUL
  3983. :
  3984.  
  3985.  
  3986.  
  3987. :POSEIDON
  3988. TITLE =====POSEIDON=====
  3989.    @echo off
  3990. mode 67,16
  3991. title POSEIDON DDOS TOOLKIT MADE BY SIMON BARR THE ROCKET COMPANY
  3992. color 0a
  3993. cls
  3994. echo.
  3995. echo ================================================================
  3996. echo =============POSEIDON=============DDOS========TOOLKIT===========
  3997. echo ================================================================
  3998. echo.
  3999. set /p x=Server-Target:
  4000. echo.
  4001. echo =*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=
  4002. ping ============================%x%==================================
  4003. echo *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
  4004. @ping.exe 127.0.0.1 -n 5 -w 1000 > nul
  4005. goto Next
  4006. :Next
  4007. echo.
  4008. echo.
  4009. echo.
  4010. set /p m=IP Host:
  4011. echo.
  4012. set /p n=Packet Size:
  4013. echo.
  4014. :DDOS
  4015. color 0c
  4016. echo Attacking Server %m%
  4017. ping %m% -i %n% -t >nul
  4018. goto DDOS
  4019.  
  4020. :Quit
  4021. CLS
  4022.  
  4023. ECHO ==============THANKYOU===============
  4024. ECHO -------------------------------------
  4025. ECHO ======PRESS ANY KEY TO CONTINUE======
  4026.  
  4027. PAUSE>NUL
  4028. EXIT
  4029.  
  4030. pause
  4031. cls
  4032. ) else (
  4033. goto top
  4034. )
  4035. goto top
  4036. :EDIT
  4037. @echo off
  4038. cls
  4039. title File Creator by Kingsterjam
  4040. color 3b
  4041. echo ______________________________________________________________
  4042. echo %date% %time% %username% %password% %localgroup%
  4043. echo ______________________________________________________________
  4044. echo.
  4045. echo This Program Will Make, Rename, Delete, View and Combine Files.
  4046. echo.
  4047. echo Press Enter
  4048. pause >nul
  4049. :stage1
  4050. cls
  4051. echo -------------------------Pick A Task--------------------------
  4052. echo.
  4053. echo ______________________________________________________________
  4054. echo A = Make File. B = Rename File. C = Delete File.
  4055. echo D = View File. E = Combine Files. F = View Log. G = Clear Log.
  4056. echo ______________________________________________________________
  4057. set /p opt1=
  4058. if %opt1% == a goto a
  4059. if %opt1% == b goto b
  4060. if %opt1% == c goto c
  4061. if %opt1% == d goto d
  4062. if %opt1% == e goto e
  4063. if %opt1% == f goto g
  4064. if %opt1% == g goto f
  4065. :error
  4066. echo UNKNOWN FUNCTION
  4067. echo Press Enter To Return To Start
  4068. pause >nul
  4069. goto stage1
  4070. :a
  4071. cls
  4072. echo ______________________________________________________________
  4073. echo %time%                   CREATE A FILE
  4074. echo ______________________________________________________________
  4075. set/p input=Type Input Here:
  4076. set /p saveas=Save As:
  4077. set /p saveasex=Extension:
  4078. echo %input% > %saveas%.%saveasex%
  4079. echo.
  4080. echo Press Enter
  4081. echo %saveas%.%saveasex% >> Log.txt
  4082. pause >nul
  4083. goto stage1
  4084. :b
  4085. cls
  4086. echo ______________________________________________________________
  4087. echo %time%                   RENAME A FILE
  4088. echo ______________________________________________________________
  4089. set /p renamefile=Name Of Current File:
  4090. set /p renamefileex=Extension:
  4091. if exist %renamefile%.%renamefileex% goto ba
  4092. echo ERROR MISSING FILE
  4093. echo Press Enter
  4094. pause >nul
  4095. goto b
  4096. :ba
  4097. set /p rename=Rename %renamefile%.%renamefileex% To:
  4098. echo Renaming %renamefile%.%renamefileex% to %rename%.%renamefileex%.....
  4099. rename %renamefile%.%renamefileex% %rename%.%renamefileex%
  4100. echo Renaming Complete
  4101. echo Press Enter
  4102. pause >nul
  4103. goto stage1
  4104. :c
  4105. cls
  4106. echo ______________________________________________________________
  4107. echo %time%                   DELETE A FILE
  4108. echo ______________________________________________________________
  4109. set /p delete=File to Delete:
  4110. set /p deleteex=Extension:
  4111. if exist %delete%.%deleteex% goto delete
  4112. pause
  4113. goto c
  4114. :delete
  4115. del %delete%.%deleteex%
  4116. echo DELETED
  4117. echo UNABLE TO DELETE %delete%.%deleteex% >nul
  4118. echo Press Enter
  4119. pause >nul
  4120. goto stage1
  4121. :d
  4122. cls
  4123. echo ______________________________________________________________
  4124. echo %time%                   VIEW A FILE
  4125. echo ______________________________________________________________
  4126. set /p viewfile=FileName:
  4127. set /p viewfileex=Extension:
  4128. echo Loading...
  4129. type %viewfile%.%viewfileex%
  4130. echo.
  4131. echo Press Enter
  4132. pause >nul
  4133. goto stage1
  4134. :e
  4135. cls
  4136. echo ______________________________________________________________
  4137. echo %time%                   COMBINE FILES
  4138. echo ______________________________________________________________
  4139. find /n /i "%var1%" log.txt
  4140. echo.
  4141. set /p var2=Output File:
  4142. echo Seperate Multiple Files With A Space,
  4143. echo Include Extensions.
  4144. set /p outcome1=Files to Combine:
  4145. type %outcome1% >> %var2%.txt
  4146. pause
  4147. goto stage1
  4148. :f
  4149. cls
  4150. echo ______________________________________________________________
  4151. echo %time%                   CLEAR FILE LOG
  4152. echo ______________________________________________________________
  4153. echo Clearing Log
  4154. echo.> Log.txt
  4155. echo.
  4156. echo Press Enter
  4157. pause >nul
  4158. goto stage1
  4159. :g
  4160. cls
  4161. echo ______________________________________________________________
  4162. echo %time%                   VIEW FILE LOG
  4163. echo ______________________________________________________________
  4164. type log.txt
  4165. echo.
  4166. echo Press Enter
  4167. pause >nul
  4168. goto stage1
  4169. :LITTLESNITCH
  4170. mode 1000
  4171. @echo off
  4172.  
  4173. color 0a
  4174. title -LiTlE SnItCh Beta-
  4175. cls
  4176.  echo   -_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-
  4177.  echo            o   ______  _______         _____     ______               o ______  _____
  4178.  echo    /      /      /       /     /      /         /         /\      /  /    /    /       /     /
  4179.  echo   /      /      /       /     /      /_____    /______   /  \    /  /    /    /       /     /
  4180.  echo  /      /      /       /     /      /                /  /    \  /  /    /    /       /____ /
  4181.  echo /____  /      /       /     /____  /_____      _____/  /      \/  /    /    /_____  /     /                                                                              
  4182.  echo  -_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_-_-_-_-_-_-_-_-_-_-_-_-_-
  4183.  
  4184.  
  4185.  
  4186.  
  4187.  echo `                  .------//:.``.`.:::-`                                                          
  4188.  echo                  -/+/-//-```````.:///++/-`                                                        
  4189.  echo              `:+++/:-..```````:/-.-::///.                                                      
  4190.  echo               `:///-.` ` ``  `.//++/:::--::.                                                       :/-`                                                  
  4191.                                          
  4192.  echo               `-.````      ` `-///////:::-.--`                                                    
  4193.  echo               ...````        `//////////::--/:                                                    
  4194.  echo              .`.````        `:+/++++++++++//-                                                    
  4195.  echo               .`-.---.`````````----/++++++++/.                                                    
  4196.  echo               .``-+++//-..`````````.+++++++-..                                                    
  4197.  echo               `.`-/+++++++/````````.-+++++/..`        ``-::--..````                                
  4198.  echo                ....//+++++:```````..:+++++/..      `-///+++++++/////::--..``                      
  4199.  echo                 ...../+++/.``.......-++++/..    .:+oss:+++++++++++/+++/++///::-.`                  
  4200.  echo                  `...:++/-...........:++/.`    :syyyyy://////////////////////////:.`              
  4201.  echo                    `.-//-............-:-`      syyyyyy/////////////////////////////:.`            
  4202.  echo                       `..............`         syyyyyh://////////////////////////////:`            
  4203.  echo                           ````````             yhhhhhh:///////////syssoo++////////////:`          
  4204.  echo                                                yhhhhhh::::::::::::hmmmmmmddyo/::::::::::`          
  4205.  echo                         ``-::::::::--.``       yhhhhhh::::::::::::/ydddddddddy/:::::::::-          
  4206.  echo                      `-/+:+///////////+:`      hhhhhhh:-----------` -yhhhhhhhhh:---------`        
  4207.  echo                      -sso://////////////.      hhhhhhd------------`  .yhhhhhhhhs---------`        
  4208.  echo                      :yys://////////////`      dhddddd--.......-..`   +hhhhhhhhy..-..-.-:.        
  4209.  echo                      :yys:::::::::::::::`      ddddddd-...........`   :yyyyyyyyy.--::::::-        
  4210.  echo                      /hhy---------------`      ddddddh-...........    /yyyyyyyys:////////.        
  4211.  echo                      /hhy-------..-----.`      ddddddh-...........   `oyyyyyyyy//////////`        
  4212.  echo                      /hhy-..............`      ddddddh....----:://`  /yyyyyyyyo/////////:          
  4213.  echo                      /hhy...............`      ddddddh:///////////`-ohhhhhhhyo//////////.          
  4214.  echo                      /ddy:::::::::::::::`      ddddddh////////////syyyyyyys+///////////-          
  4215.  echo                      /ddy:/:::::::::::::`     `ddddddh////////////////////////////////-            
  4216.  echo                      /ddy://////////////`     `ddddddh///////////////////////////////.            
  4217.  echo                      /ddy://////////////`     `ddddddh///////////////////////////+/-`              
  4218.  echo                      /ddy///////////////`     `ddddddy/++++++++/++++++++++++++//:.`                
  4219.  echo                      +ddy///////////////`     `ddddddy/+++++++++++///////::--.``                  
  4220.  echo                      +ddy///////////////`     `ddddddy/++++++++++/``````                          
  4221.  echo                      +ddy///////////////`     `ddddddy/++++++++++/                                
  4222.  echo                      +ddy///////////////`     .ddddddy/++++++++++/                                
  4223.  echo                      +ddy/+++++++++++++/`     .ddddddy/++++++++++/                                
  4224.  echo                      +ddy/+++++++++++++/`     .ddddddy+++++++++++/                                
  4225.  echo                      +ddy/+++++++++++++/`     .ddddddy+++++++++++/                                
  4226.  echo                      +ddy/++++++++++++++`     .ddddddy+++++++++++/`                                
  4227.  echo                      +ddy/++++++++++++++`     .ddddddy+oooooooooo+``````````````                  
  4228.  echo                      +ddy+++++++++++++++`    `-ddddddy+oooooooooo+`````````````                    
  4229.  echo                      +ddy+++++++++++++++``````.yhddddy+oooooooooo+`````````                        
  4230.  echo                      oddy+o+++++++++++++.`....../shddy+oooooooooo/````                            
  4231.  echo                      /hdy+ooooooooooooo+.........../ss+oooooooo+/.                                
  4232.  echo                    ```+dy+ooooooooooooo+..```````````.-:/:::-.``                                  
  4233.  echo                 ```````+y+ooooooooooooo/`````````                                                  
  4234.  echo               ``````````:+oooooooo+/:-.`                                                          
  4235.  echo                          `---...`            
  4236.  
  4237.  
  4238. echo    -----_____________-----
  4239. echo     ____press any key____
  4240. echo    -----_____________----
  4241.  
  4242.  
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248. pause >nul
  4249.  
  4250.  
  4251.  
  4252.  
  4253. :c
  4254. cls
  4255. echo.
  4256. echo.
  4257. echo       -_-_-_-_-_-
  4258. echo _-_-_-MENU SCREEN-_-_-_
  4259. echo       -_-_-_-_-_-
  4260. echo -_-_-_-        -_-_-_-_-
  4261. echo Type "1" to snitch some IPs
  4262. echo.
  4263. echo Type "2" to return to menu screen
  4264. echo.
  4265. echo Type "3" to use extra tools
  4266. echo.
  4267. echo Type "4" to get out of there!!!
  4268. echo tool made by Simon B
  4269. echo.
  4270.  
  4271.  
  4272.  
  4273.  
  4274.  
  4275. set /p ans=">>>"
  4276. if %ans%==1 (
  4277. goto b
  4278. )
  4279. if %ans%==2 (
  4280. goto a
  4281. )
  4282. if %ans%==3 (
  4283. goto d
  4284. )
  4285. if %ans%==4 (
  4286. goto e
  4287. )
  4288. if %ans%!=1 (
  4289. goto e
  4290. )
  4291. if %ans%!=2 (
  4292. goto e
  4293. )
  4294. if %ans%!=3 (
  4295. goto e
  4296. )
  4297. if %ans%!=4 (
  4298. goto e
  4299. )
  4300.  
  4301.  
  4302.  
  4303. :b
  4304. cls
  4305. echo.
  4306. echo.
  4307. echo Press Enter When You Are Ready to Steal IPs
  4308. echo.
  4309. echo After pressing enter send a message to victim
  4310. pause >nul
  4311. cls
  4312. netstat
  4313. pause
  4314. echo.
  4315. echo.
  4316. goto c
  4317.  
  4318.  
  4319.  
  4320. :d
  4321. cls
  4322. echo.
  4323. echo.
  4324. echo EXTRA TOOLS: Hit enter to initiate:
  4325. echo.
  4326. echo.
  4327. pause >nul
  4328. netstat
  4329. net view
  4330. pause
  4331. cls
  4332. goto c
  4333.  
  4334.  
  4335.  
  4336. :e
  4337. cls
  4338. echo.
  4339. echo Are you sure you want to quit? (y/n)
  4340. echo.
  4341. set /p ans=">>>"
  4342. if %ans%==n (
  4343. goto c
  4344. )
  4345. if %ans%==y (
  4346. goto f
  4347. )
  4348.  
  4349.  
  4350.  
  4351. :f
  4352. :Sltgames4
  4353. @echo off
  4354. setlocal enableextensions enabledelayedexpansion
  4355. color e0
  4356. title Slot Machine
  4357.  
  4358. :Intro
  4359. cls
  4360. echo Hello and welcome to Slot Machine by Prof. Pickle.
  4361. echo.
  4362. echo 1) Play
  4363. echo 2) Instructions
  4364. echo 3) Exit
  4365. choice /c 123 /n
  4366. if %errorlevel% equ 1 goto diff
  4367. if %errorlevel% equ 2 goto help
  4368. if %errorlevel% equ 3 goto exit
  4369.  
  4370. :help
  4371. cls
  4372. echo INSTRUCTIONS:
  4373. echo.
  4374. echo The aim of "Slot Machine" is to gain as much money as possible.
  4375. echo.
  4376. echo You do this by trying your luck with a slot machine.
  4377. echo If you get a combination of three or more, you gain money.
  4378. echo.
  4379. echo.
  4380. echo How much money you gain is dictated by your difficulty level (easy, medium
  4381. echo or hard).
  4382. echo.
  4383. echo To win, you need to reach a cash limit, once again, this is dependent on
  4384. echo your difficulty.
  4385. echo.
  4386. echo.
  4387. echo If you reach $0 then you lose, and can either start again or quit.
  4388. echo.
  4389. echo.
  4390. echo.
  4391. echo Press any key to go back
  4392. pause >nul
  4393. goto Intro
  4394.  
  4395. :diff
  4396. cls
  4397. echo Choose your difficulty
  4398. echo.
  4399. echo 1) Easy
  4400. echo 2) Medium
  4401. echo 3) Hard
  4402. choice /c 123 /n
  4403. if %errorlevel% equ 1 goto easy
  4404. if %errorlevel% equ 2 goto med
  4405. if %errorlevel% equ 3 goto hard
  4406.  
  4407. :easy
  4408. cls
  4409. set round=0
  4410. set diff=1
  4411. set num1=2
  4412. set num2=1
  4413. set money=500
  4414. goto Play
  4415. :med
  4416. cls
  4417. set round=0
  4418. set diff=2
  4419. set num1=4
  4420. set num2=1
  4421. set money=300
  4422. goto play
  4423. :hard
  4424. cls
  4425. set round=0
  4426. set diff=3
  4427. set num1=6
  4428. set num2=1
  4429. set money=200
  4430. goto play
  4431.  
  4432. :Play
  4433. set /a round=%round%+1
  4434. cls
  4435. echo Money: %money%
  4436. echo.
  4437. if %round% equ 1 if %diff% equ 1 echo        
  4438. if %round% equ 1 if %diff% equ 2 echo            
  4439. if %round% equ 1 if %diff% equ 3 echo                
  4440. if %round% gtr 1 if %diff% equ 1 echo    %char1%  %char2%  %char3%
  4441. if %round% gtr 1 if %diff% equ 2 echo    %char1%  %char2%  %char3%  %char4%  %char5%
  4442. if %round% gtr 1 if %diff% equ 3 echo    %char1%  %char2%  %char3%  %char4%  %char5%  %char6%  %char7%
  4443. echo.
  4444. if %round% gtr 1 echo   %msg%
  4445. if %round% gtr 1 echo   Money %factor% by %amount%
  4446. echo.
  4447. echo.
  4448. if %round% equ 1 echo Press any key to start spinning
  4449. if %round% gtr 1 echo Press any key to go again
  4450. pause >nul
  4451. goto spin
  4452.  
  4453. :spin
  4454. set count=0
  4455. set char1=
  4456. set char2=
  4457. set char3=
  4458. set char4=
  4459. set char5=
  4460. set char6=
  4461. set char7=
  4462. set char8=
  4463. set char9=
  4464. set char10=
  4465. goto spin%diff%
  4466. :spin1
  4467. set /a slot=%random% %% %num1% + %num2%
  4468. set /a count=%count%+1
  4469. if %slot% equ 1 set char%count%=
  4470. if %slot% equ 2 set char%count%=
  4471. if %slot% equ 3 set char%count%=
  4472. if %count% equ 3 goto check%diff%
  4473. goto spin1
  4474. :spin2
  4475. set /a slot=%random% %% %num1% + %num2%
  4476. set /a count=%count%+1
  4477. if %slot% equ 1 set char%count%=
  4478. if %slot% equ 2 set char%count%=
  4479. if %slot% equ 3 set char%count%=
  4480. if %slot% equ 4 set char%count%=
  4481. if %slot% equ 5 set char%count%=
  4482. if %count% equ 5 goto check%diff%
  4483. goto spin2
  4484. :spin3
  4485. set /a slot=%random% %% %num1% + %num2%
  4486. set /a count=%count%+1
  4487. if %slot% equ 1 set char%count%=
  4488. if %slot% equ 2 set char%count%=
  4489. if %slot% equ 3 set char%count%=
  4490. if %slot% equ 4 set char%count%=
  4491. if %slot% equ 5 set char%count%=
  4492. if %slot% equ 6 set char%count%=
  4493. if %slot% equ 7 set char%count%=
  4494. if %count% equ 7 goto check%diff%
  4495. goto spin3
  4496. :check1
  4497. set win=0
  4498. if %char1% equ %char2% if %char2% equ %char3% (
  4499. set factor=increased
  4500. set msg=WIN!
  4501. set amount=$100
  4502. set /a money=%money%+100
  4503. set win=1
  4504. )
  4505. if %win% equ 0 (
  4506. set factor=decreased
  4507. set msg=LOSE!
  4508. set amount=10
  4509. set /a money=%money%-10
  4510. )
  4511. if %money% geq 5000 goto win
  4512. if %money% leq 0 goto lose
  4513. goto play
  4514. :check2
  4515. set win=0
  4516. if %char1% equ %char2% if %char2% equ %char3% (
  4517. set factor=increased
  4518. set msg=WIN!
  4519. set amount=$50
  4520. set /a money=%money%+50
  4521. set win=1
  4522. goto check3n
  4523. )
  4524. if %char2% equ %char3% if %char3% equ %char4% (
  4525. set factor=increased
  4526. set msg=WIN!
  4527. set amount=$50
  4528. set /a money=%money%+50
  4529. set win=1
  4530. goto check3n
  4531. )
  4532. if %char3% equ %char4% if %char4% equ %char5% (
  4533. set factor=increased
  4534. set msg=WIN!
  4535. set amount=$50
  4536. set /a money=%money%+50
  4537. set win=1
  4538. goto check3n
  4539. )
  4540. if %char1% equ %char2% if %char2% equ %char3% if %char3% equ %char4% (
  4541. set factor=increased
  4542. set msg=WIN!
  4543. set amount=$75
  4544. set /a money=%money%+75
  4545. set win=1
  4546. goto check3n
  4547. )
  4548. if %char2% equ %char3% if %char3% equ %char4% if %char4% equ %char5% (
  4549. set factor=increased
  4550. set msg=WIN!
  4551. set amount=$75
  4552. set /a money=%money%+75
  4553. set win=1
  4554. goto check3n
  4555. )
  4556. if %char1% equ %char2% if %char2% equ %char3% if %char3% equ %char4% if %char4% equ %char5% (
  4557. set factor=increased
  4558. set msg=WIN!
  4559. set amount=$100
  4560. set /a money=%money%+100
  4561. set win=1
  4562. goto check3n
  4563. )
  4564. :check3n
  4565. if %win% equ 0 (
  4566. set factor=decreased
  4567. set msg=LOSE!
  4568. set amount=20
  4569. set /a money=%money%-20
  4570. )
  4571. if %money% geq 1000 goto win
  4572. if %money% leq 0 goto lose
  4573. goto play
  4574. :check3
  4575. set win=0
  4576. if %char1% equ %char2% if %char2% equ %char3% (
  4577. set factor=increased
  4578. set msg=WIN!
  4579. set amount=$25
  4580. set /a money=%money%+25
  4581. set win=1goto check3n
  4582. )
  4583. if %char2% equ %char3% if %char3% equ %char4% (
  4584. set factor=increased
  4585. set msg=WIN!
  4586. set amount=$25
  4587. set /a money=%money%+25
  4588. set win=1
  4589. goto check3n
  4590. )
  4591. if %char3% equ %char4% if %char4% equ %char5% (
  4592. set factor=increased
  4593. set msg=WIN!
  4594. set amount=$25
  4595. set /a money=%money%+25
  4596. set win=1
  4597. goto check3n
  4598. )
  4599. if %char4% equ %char5% if %char5% equ %char6% (
  4600. set factor=increased
  4601. set msg=WIN!
  4602. set amount=$25
  4603. set /a money=%money%+25
  4604. set win=1
  4605. goto check3n
  4606. )
  4607. if %char5% equ %char6% if %char6% equ %char7% (
  4608. set factor=increased
  4609. set msg=WIN!
  4610. set amount=$25
  4611. set /a money=%money%+25
  4612. set win=1
  4613. goto check3n
  4614. )
  4615. if %char1% equ %char2% if %char2% equ %char3% if %char3% equ %char4% (
  4616. set factor=increased
  4617. set msg=WIN!
  4618. set amount=$50
  4619. set /a money=%money%+50
  4620. set win=1
  4621. goto check3n
  4622. )
  4623. if %char2% equ %char3% if %char3% equ %char4% if %char4% equ %char5% (
  4624. set factor=increased
  4625. set msg=WIN!
  4626. set amount=$50
  4627. set /a money=%money%+50
  4628. set win=1
  4629. goto check3n
  4630. )
  4631. if %char3% equ %char4% if %char4% equ %char5% if %char5% equ %char6% (
  4632. set factor=increased
  4633. set msg=WIN!
  4634. set amount=$50
  4635. set /a money=%money%+50
  4636. set win=1
  4637. goto check3n
  4638. )
  4639. if %char4% equ %char5% if %char5% equ %char6% if %char6% equ %char7% (
  4640. set factor=increased
  4641. set msg=WIN!
  4642. set amount=$50
  4643. set /a money=%money%+50
  4644. set win=1
  4645. goto check3n
  4646. )
  4647. if %char1% equ %char2% if %char2% equ %char3% if %char3% equ %char4% if %char4% equ %char5% (
  4648. set factor=increased
  4649. set msg=WIN!
  4650. set amount=$75
  4651. set /a money=%money%+75
  4652. set win=1
  4653. goto check3n
  4654. )
  4655. if %char2% equ %char3% if %char3% equ %char4% if %char4% equ %char5% if %char5% equ %char6% (
  4656. set factor=increased
  4657. set msg=WIN!
  4658. set amount=$75
  4659. set /a money=%money%+75
  4660. set win=1
  4661. goto check3n
  4662. )
  4663. if %char3% equ %char4% if %char4% equ %char5% if %char5% equ %char6% if %char6% equ %char7% (
  4664. set factor=increased
  4665. set msg=WIN!
  4666. set amount=$75
  4667. set /a money=%money%+75
  4668. set win=1
  4669. goto check3n
  4670. )
  4671. if %char1% equ %char2% if %char2% equ %char3% if %char3% equ %char4% if %char4% equ %char5% if %char5% equ %char6% (
  4672. set factor=increased
  4673. set msg=WIN!
  4674. set amount=$100
  4675. set /a money=%money%+100
  4676. set win=1
  4677. goto check3n
  4678. )
  4679. if %char2% equ %char3% if %char3% equ %char4% if %char4% equ %char5% if %char5% equ %char6% if %char6% equ %char7% (
  4680. set factor=increased
  4681. set msg=WIN!
  4682. set amount=$100
  4683. set /a money=%money%+100
  4684. set win=1
  4685. goto check3n
  4686. )
  4687. if %char1% equ %char2% if %char2% equ %char3% if %char3% equ %char4% if %char4% equ %char5% if %char5% equ %char6% if %char6% equ %char7% (
  4688. set factor=increased
  4689. set msg=WIN!
  4690. set amount=$200
  4691. set /a money=%money%+200
  4692. set win=1
  4693. goto check3n
  4694. )
  4695. :check3n
  4696. if %win% equ 0 (
  4697. set factor=decreased
  4698. set msg=LOSE!
  4699. set amount=20
  4700. set /a money=%money%-20
  4701. )
  4702. if %money% geq 500 goto win
  4703. if %money% leq 0 goto lose
  4704. goto play
  4705.  
  4706. :win
  4707. cls
  4708. echo Congratulations!
  4709. echo.
  4710. echo You won!
  4711. echo.
  4712. echo It took you %round% rounds to acheive a total of $%money%.
  4713. echo.
  4714. echo Do you want to play again? (Y/N)
  4715. choice /c yn /n
  4716. if %errorlevel% equ 1 goto diff
  4717. exit
  4718.  
  4719. :lose
  4720. cls
  4721. echo You lost!
  4722. echo.
  4723. echo You only survived %round% rounds.
  4724. echo.
  4725. echo Hint: Try playing on an easier difficulty.
  4726. echo.
  4727. echo Do you want to play again? (Y/N)
  4728. choice /c yn /n
  4729. if %errorlevel% equ 1 goto diff
  4730. exit
  4731.  
  4732. :exit
  4733. cls
  4734. echo Going so soon? (Y/N)
  4735. choice /c yn /n
  4736. if %errorlevel% equ 1 exit
  4737. goto Intro
  4738. :UPemulROSx1
  4739. :: this is the source code for rocket OS x1
  4740. :: made with Batch Compiler Free 16.3.00
  4741. :: the link https://sourceforge.net/projects/batch-compiler/?source=directory
  4742. :: made by ROCKET DEEP BLUE FRANCE
  4743. @echo off
  4744. color 07
  4745. title -=X1=-
  4746. echo Loading cherryQ//.........
  4747. ping localhost -2 >nul
  4748. echo /x/x/x/x/x/x/x/x
  4749. ping localhost -2 >nul
  4750. echo =:=:=:=:=:=:=:=:
  4751. ping localhost -2 >nul
  4752. echo Booting X1
  4753. echo @/mypining/qernel/cherryQ//
  4754. ping localhost -2 >nul
  4755. echo GROOVY BABY
  4756. ping localhost -n 3 >nul
  4757. echo MADE BY ROCKET DEEP BLUE
  4758. ping localhost -n 2 >nul
  4759.  
  4760. echo Loading GUI .
  4761. ping localhost -n 1.5 >nul
  4762. echo ..
  4763. ping localhost -n 1.5 >nul
  4764. echo ...
  4765. ping localhost -n 1.5 >nul
  4766. echo ....
  4767. ping localhost -n 1.5 >nul
  4768. echo .....
  4769. ping localhost -n 1.5 >nul
  4770. echo .......
  4771. pause
  4772. cls            
  4773. echo login as:
  4774. set/p name=
  4775. echo.
  4776. cls
  4777. echo HY %name%
  4778. echo.
  4779. pause
  4780. :menu
  4781. cls
  4782. echo Whats on your mind %name%? Type the number.
  4783. echo.
  4784. echo 1.System Info
  4785. echo
  4786. echo 2.Calc
  4787. echo.
  4788. echo 3.Clock
  4789. echo.
  4790. echo 4.Calendar
  4791. echo.
  4792. echo 5.Songs
  4793. echo.
  4794. echo 6.Antivirus
  4795. echo.
  4796. echo 7.Calculator
  4797. echo.
  4798. echo 8.BLUE EDITOR
  4799. set /p input=
  4800. if %input% == 1 goto info
  4801. if %input% == 2 goto calc
  4802. if %input% == 3 goto clock
  4803. if %input% == 4 goto calendar
  4804. if %input% == 5 goto Songs
  4805. if %input% == 6 goto antivirus
  4806.  
  4807. :info
  4808.  
  4809. cls
  4810. echo.=======================
  4811. echo         X1__OS_
  4812. echo.=======================
  4813. echo     DETAILS  
  4814. echo.
  4815. echo     VERSION = 0.0.1
  4816. echo.    
  4817. echo     RAM = 1GB
  4818. echo.
  4819. echo     CORE = INTEL I3
  4820. echo.
  4821. echo     HARD_DRIVE = 250GB    
  4822. echo.  
  4823. echo     Kernel ver = 1.0
  4824. echo.  
  4825. echo    Build = 1
  4826. echo.
  4827. echo    Gpu = Nvidia GT 9800
  4828. echo.========================
  4829. echo     @Copyright R.inc
  4830. echo.========================
  4831. echo.
  4832. echo Wanna check for update?
  4833.  
  4834. echo  1. to check for update
  4835. echo  2. Menu
  4836. echo  3.help
  4837. set /p check=
  4838.  
  4839. if %check% == 1 goto update
  4840.  
  4841. if %check% == 2 goto menu
  4842.  
  4843. if %check% == 3 goto help
  4844.  
  4845. if %check% == C/DEEP/BLUE/ROOTMODE goto rootmode
  4846. :help
  4847. password = bonzo
  4848. made in 2017 the rocket inc
  4849.  
  4850.      
  4851. :update
  4852. cls
  4853.  
  4854. echo Checking for new version /Update.............
  4855. echo.
  4856. pause
  4857. cls
  4858. echo.
  4859. echo no update available,Try Againg after some time.
  4860. echo.
  4861. pause
  4862. goto menu  
  4863. :calc
  4864. :main
  4865. echo.
  4866. echo ---------------------------
  4867. echo.
  4868. echo WELCOME %name% to
  4869. echo.
  4870. echo Cal'C Ver 0.1
  4871. echo.
  4872. echo ---------------------------
  4873. echo.
  4874. echo /////////////////////////////////////
  4875. echo Your previous Calulated number was %sum%
  4876. echo ////////////////////////////////////
  4877. echo.
  4878. echo Enter the specified alphabet to continue..
  4879. echo.
  4880. echo a)Addition
  4881. echo.
  4882. echo b)Subtraction
  4883. echo.
  4884. echo c)Divison
  4885. echo.
  4886. echo d)Multipication
  4887. echo.
  4888. echo e)Square, Cube or any power (by Prof.Pickle)
  4889. echo.
  4890. echo f)return to menu
  4891. echo.
  4892. set /p do=Value.
  4893. if %do%== a goto add
  4894. if %do%== A goto add
  4895. if %do%== b goto sub
  4896. if %do%== B goto sub
  4897. if %do%== c goto div
  4898. if %do%== C goto div
  4899. if %do%== d goto mul
  4900. if %do%== D goto mul
  4901. if %do%== e goto power1
  4902. if %do%== E goto power1
  4903. if %do%== f goto menu
  4904. echo.
  4905. cls
  4906. echo Invalid value = %do%
  4907. echo.
  4908. pause
  4909. cls
  4910. goto main
  4911.  
  4912. :add
  4913. cls
  4914. echo ADDITON
  4915. echo.
  4916. set /p no1="num1. "
  4917. echo       +
  4918. set /p no2="num2. "
  4919. set /a sum=no1+no2
  4920. echo ------------
  4921. echo %sum%
  4922. echo.
  4923. pause
  4924. cls
  4925. goto main
  4926.  
  4927.  
  4928. :sub
  4929. cls
  4930. echo SUBTACTION
  4931. echo.
  4932. set /p no1="num1. "
  4933. echo       -
  4934. set /p no2="num2. "
  4935. set /a sum=no1-no2
  4936. echo ------------
  4937. echo %sum%
  4938. echo.
  4939. pause
  4940. cls
  4941. goto main
  4942.  
  4943.  
  4944. :div
  4945. cls
  4946. echo DIVISON
  4947. echo.
  4948. set /p no1="num1. "
  4949. echo       /
  4950. set /p no2="num2. "
  4951. set /a sum=no1/no2
  4952. echo ------------
  4953. echo %sum%
  4954. echo.
  4955. pause
  4956. cls
  4957. goto main
  4958.  
  4959.  
  4960. :mul
  4961. cls
  4962. echo MULTIPLICATION
  4963. echo.
  4964. set /p no1="num1. "
  4965. echo       *
  4966. set /p no2="num2. "
  4967. set /a sum=no1*no2
  4968. echo ------------
  4969. echo %sum%
  4970. echo.
  4971. pause
  4972. cls
  4973. goto main
  4974. :DATA                        
  4975. :: all the OS data will be here
  4976. cls
  4977. echo ________________________
  4978. echo ======DATA CENTER=======
  4979. echo.
  4980. echo All the apps instaled:
  4981. echo.
  4982. echo 1: Calculator
  4983. echo 2: menuLaunchOS1X
  4984. echo 3: SystemRICEhix0
  4985. echo 4: BlueAntiVirusX1
  4986. echo 5: DEEP/BLUE/ROOTMODE1
  4987. echo.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement