CheikoAsami

Random Name Generation

Jul 18th, 2021 (edited)
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 19.12 KB | None | 0 0
  1. title Random Name Generation
  2. color 0e
  3. @echo off
  4.  
  5. :main_menu
  6. cls
  7. echo ----------------------------------
  8. echo         Game Main Menu
  9. echo ----------------------------------
  10. echo 1) New Game
  11. echo 2) Load Game Data
  12. echo 3) Exit Game
  13. echo ----------------------------------
  14. choice /c 123 /n >nul
  15. if %errorlevel% == 1 (
  16.     call :PVs
  17.     goto create_Player
  18. )
  19. if %errorlevel% == 2 goto data_loader
  20. if %errorlevel% == 3 exit
  21. goto main_menu
  22.  
  23. :data_loader
  24. cls
  25. echo -------------------------
  26. echo   Load Save Files Here
  27. echo --------------------------
  28. echo 1) Load Save File One
  29. echo 2) Load Save File Two
  30. echo 3) Go to Interaction
  31. echo 4) Return to Main Menu
  32. echo --------------------------
  33. echo Message:%msg%:
  34. echo --------------------------
  35. echo Current Load: %fname% %lname% %tname%
  36. choice /c 1234 /n >nul
  37. if %errorlevel% == 1 call :load
  38. if %errorlevel% == 2 call :load2
  39. if %errorlevel% == 3 goto game_menu
  40. if %errorlevel% == 4 goto main_menu
  41. goto data_loader
  42.  
  43. :create_Player
  44. cls
  45. echo -----------------------------------
  46. echo       Create a Player Menu
  47. echo -----------------------------------
  48. echo 1) Create One By Hand
  49. echo 2) Randomize One
  50. echo 3) Return to Main Menu
  51. echo -----------------------------------
  52. choice /c 123 /n >nul
  53. if %errorlevel% == 1 (
  54.     call :PVs
  55.     set /p fname=Enter a First Name:::
  56.     set /p lname=Enter a Last Name:::
  57.     set /p pYear=Enter a Birth Year:::
  58.     set /p cYear=What Year is it now:::
  59.     set /p pMonth=Enter a Birth Month:::
  60.     set /p pDay=Enter a Birth Day:::
  61.     goto game_menu
  62. )
  63. if %errorlevel% == 2 (
  64.     set rfname=0
  65.     set rlname=0
  66.     set rtname=0
  67.     call :nameRandomizer
  68.     call :numberRand
  69.     goto game_menu
  70. )
  71. if %errorlevel% == 3 goto main_menu
  72.  
  73.  
  74.  
  75. :PVs
  76. set fname=
  77. set lname=
  78. set tname=
  79. set myBook=
  80. set myBook2=
  81. set myBook3=
  82. set myBook4=
  83. set myBook5=
  84. set myBook6=
  85. set myBook7=
  86. set myBook8=
  87. set myBook9=
  88. set myBook10=
  89. set myBook11=
  90. set myBook12=
  91. set myBook13=
  92. set myBook14=
  93. set pYear=0
  94. set pMonth=0
  95. set pDay=0
  96. set AGE=1
  97. set WISE=0
  98. set cYear=0
  99. set cMonth=0
  100. set cmMonth=12
  101. set cDay=0
  102. set cmDay=31
  103. goto:eof
  104.  
  105.  
  106.  
  107. :game_menu
  108. set /a AGE=%cYear%-%pYear%
  109. if %AGE% LEQ 0 set cYear=%pYear%
  110. if %cDay% GEQ %cmDay% (
  111.     set /a cMonth+=1
  112.     set cDay=1
  113. )
  114. if %cMonth% GTR %cmMonth% (
  115.     set cMonth=1
  116.     set /a cYear+=1
  117. )
  118.  
  119. set cmDay=31
  120. call :cMonthName
  121. call :ifCMonth
  122.  
  123.  
  124. cls
  125. echo -------------------------------
  126. echo     Game Interaction Menu
  127. echo -------------------------------
  128. echo Name: %fname% %lname% %tname%
  129. echo Wisdom:%WISE%
  130. echo Age: %AGE%
  131. echo Birth Year: %pMonth%/%pDay%/%pYear%
  132. echo Year Now: %cYear%
  133. echo Month to Year:%cMonth%/%cmMonth% %cMonthD%
  134. echo Day To Month:%cDay%/%cmDay%
  135. echo --------------------------------------------
  136. echo Current World Date: %cMonthD%/%cDay%/%cYear%
  137. echo --------------------------------------------
  138. echo 1) Randomize Player Name
  139. echo 2) Open Options
  140. echo 3) Go to Learning Options
  141. echo 4) View Book Collection
  142. echo -------------------------------
  143. echo L) Fast Forward
  144. echo -------------------------------
  145. echo Message:%msg%:%msg4%
  146. echo -------------------------------
  147. choice /t 2 /d l /c l1234 /n >nul
  148.  
  149. set /a cDay+=1
  150. if %errorlevel% == 1 (
  151.     set msg=1 Day Will Pass
  152. )
  153. if %errorlevel% == 2 call :nameRandomizer
  154. if %errorlevel% == 3 goto game_options
  155. if %errorlevel% == 4 goto learn_options
  156. if %errorlevel% == 5 goto book_collection
  157. goto game_menu
  158.  
  159. :book_collection
  160. cls
  161. echo -------------------------------------------------------------
  162. echo   Here is %fname% %lname% %tname%'s Collection of Titles
  163. echo -------------------------------------------------------------
  164. echo Books:
  165. echo  Book 1: %myBook%
  166. echo  Book 2: %myBook2%
  167. echo  Book 3: %myBook3%
  168. echo  Book 4: %myBook4%
  169. echo  Book 5: %myBook5%
  170. echo  Book 6: %myBook6%
  171. echo  Book 7: %myBook7%
  172. echo  Book 8: %myBook8%
  173. echo  Book 9: %myBook9%
  174. echo  Book 10: %myBook10%
  175. echo  Book 11: %myBook11%
  176. echo  Book 12: %myBook12%
  177. echo  Book 13: %myBook13%
  178. echo  Book 14: %myBook14%
  179. echo 1) Return
  180. echo -------------------------------------------------------------
  181. choice /c 1 /n >nul
  182. if %errorlevel% == 1 goto game_menu
  183. goto book_collection
  184.  
  185.  
  186. :game_options
  187. cls
  188. echo -------------------------------
  189. echo         Options Menu
  190. echo -------------------------------
  191. echo 1) Return To Interaction
  192. echo 2) Save To Slot 1
  193. echo 3) Save To Slot 2
  194. echo 4) Go to Main Menu
  195. echo 5) Exit the Program
  196. echo -------------------------------
  197. echo Message:%msg%:
  198. echo -------------------------------
  199. choice /c 12345 /n >nul
  200. if %errorlevel% == 1 goto game_menu
  201. if %errorlevel% == 2 call :save
  202. if %errorlevel% == 3 call :save2
  203. if %errorlevel% == 4 goto main_menu
  204. if %errorlevel% == 5 exit
  205. goto game_options
  206.  
  207. :learn_options
  208. cls
  209. echo ------------------------------
  210. echo  Where Will You Seek Knowledge?
  211. echo ------------------------------
  212. echo 1) Library
  213. echo 2) Discover Books
  214. echo 3) Return to Interaction
  215. echo ------------------------------
  216. choice /c 123 /n >nul
  217. if %errorlevel% == 1 goto Library
  218. if %errorlevel% == 2 goto book_pit
  219. if %errorlevel% == 3 goto game_menu
  220. goto learn_options
  221.  
  222. :Library
  223. cls
  224. echo ------------------------------
  225. echo It's Pretty Quiet in the Library
  226. echo I should read as much as I can
  227. echo while I'm here.
  228. echo ------------------------------
  229. echo Wisdom:%WISE%
  230. echo ------------------------------
  231. echo 1) Read 1st Level Books
  232. echo 2) Return to Learn Options
  233. echo ------------------------------
  234. choice /c 12 /n >nul
  235. if %errorlevel% == 1 set /a WISE+=1
  236. if %errorlevel% == 2 goto learn_options
  237. goto Library
  238.  
  239. :book_pit
  240. set GenBook=%randombooktitle% %randombookplot%
  241. cls
  242. echo ---------------------------------------------
  243. echo In front of me is an immeasurable book pit...
  244. echo I can't see the bottom and I hear hissing,
  245. echo wierd I hope there's something good!
  246. echo ---------------------------------------------
  247. echo Collected Book:
  248. echo In Hand: %takenBook%
  249. echo ---------------------------------------------
  250. echo 1) Dig in the Pit
  251. echo 2) Take The Book
  252. echo 3) Add Taken to Collection
  253. echo 4) Leave the Book Pit
  254. echo ---------------------------------------------
  255. echo Book: %GenBook%
  256. echo ---------------------------------------------
  257. choice /c 1234 /n >nul
  258. if %errorlevel% == 1 (
  259.     set /a rbookt=%random%%%35+1
  260.     set /a rbookp=%random%%%35+1
  261.     call :randomBooks
  262. )
  263. if %errorlevel% == 2 (
  264.     set takenBook=%GenBook%
  265. )
  266. if %errorlevel% == 3 goto collect_Books
  267. if %errorlevel% == 4 goto learn_options
  268. goto book_pit
  269.  
  270. :collect_Books
  271. cls
  272. echo ----------------------------
  273. echo    Here is my Collection
  274. echo ----------------------------
  275. echo Taken Book :%takenBook%
  276. echo ----------------------------
  277. echo 1) Book Slot 1:%myBook%
  278. echo 2) Book Slot 2:%myBook2%
  279. echo 3) Book Slot 3:%myBook3%
  280. echo 4) Book Slot 4:%myBook4%
  281. echo 5) Book Slot 5:%myBook5%
  282. echo 6) Book Slot 6:%myBook6%
  283. echo 7) Book Slot 7:%myBook7%
  284. echo 8) Book Slot 8:%myBook8%
  285. echo 9) Book Slot 9:%myBook9%
  286. echo S) Return to the Book Pit
  287. echo D) - NEXT PAGE -
  288. echo ----------------------------
  289. choice /c 123456789sd /n >nul
  290. if %errorlevel% == 1 (
  291.     set myBook=%takenBook%
  292.     set takenBook=
  293. )
  294. if %errorlevel% == 2 (
  295.     set myBook2=%takenBook%
  296.     set takenBook=
  297. )
  298. if %errorlevel% == 3 (
  299.     set myBook3=%takenBook%
  300.     set takenBook=
  301. )
  302. if %errorlevel% == 4 (
  303.     set myBook4=%takenBook%
  304.     set takenBook=
  305. )
  306. if %errorlevel% == 5 (
  307.     set myBook5=%takenBook%
  308.     set takenBook=
  309. )
  310. if %errorlevel% == 6 (
  311.     set myBook6=%takenBook%
  312.     set takenBook=
  313. )
  314. if %errorlevel% == 7 (
  315.     set myBook7=%takenBook%
  316.     set takenBook=
  317. )
  318. if %errorlevel% == 8 (
  319.     set myBook8=%takenBook%
  320.     set takenBook=
  321. )
  322. if %errorlevel% == 9 (
  323.     set myBook9=%takenBook%
  324.     set takenBook=
  325. )
  326. if %errorlevel% == 10 goto book_pit
  327. if %errorlevel% == 11 goto collect_Books2
  328. goto collect_Books
  329.  
  330. :collect_Books2
  331. cls
  332. echo ----------------------------
  333. echo           Page 2
  334. echo ----------------------------
  335. echo Taken Book :%takenBook%
  336. echo ----------------------------
  337. echo 1) Book Slot 10:%myBook10%
  338. echo 2) Book Slot 11:%myBook11%
  339. echo 3) Book Slot 12:%myBook12%
  340. echo 4) Book Slot 13:%myBook13%
  341. echo 5) Book Slot 14:%myBook14%
  342. echo S) Back One Page
  343. echo ----------------------------
  344. choice /c 12345s /n >nul
  345. if %errorlevel% == 1 (
  346.     set myBook10=%takenBook%
  347.     set takenBook=
  348. )
  349. if %errorlevel% == 2 (
  350.     set myBook11=%takenBook%
  351.     set takenBook=
  352. )
  353. if %errorlevel% == 3 (
  354.     set myBook12=%takenBook%
  355.     set takenBook=
  356. )
  357. if %errorlevel% == 4 (
  358.     set myBook13=%takenBook%
  359.     set takenBook=
  360. )
  361. if %errorlevel% == 5 (
  362.     set myBook14=%takenBook%
  363.     set takenBook=
  364. )
  365. if %errorlevel% == 6 goto collect_Books
  366. goto collect_Books2
  367.  
  368.  
  369. :randomBooks
  370. if %rbookt% == 1 set randombooktitle=Novel about
  371. if %rbookp% == 1 set randombookplot=the Crimson Hero
  372. if %rbookt% == 2 set randombooktitle=Journal on
  373. if %rbookp% == 2 set randombookplot=the Lost Lion Warriors
  374. if %rbookt% == 3 set randombooktitle=Scripture of
  375. if %rbookp% == 3 set randombookplot=the Broken Blade
  376. if %rbookt% == 4 set randombooktitle=Manuscript of
  377. if %rbookp% == 4 set randombookplot=the Heartless Witch Lair
  378. if %rbookt% == 5 set randombooktitle=Book on
  379. if %rbookp% == 5 set randombookplot=the Hidden Valley Vipers
  380. if %rbookt% == 6 set randombooktitle=Dossier about
  381. if %rbookp% == 6 set randombookplot=the Lost War Wolf
  382. if %rbookt% == 7 set randombooktitle=Old Text About
  383. if %rbookp% == 7 set randombookplot=the Shattered Lands
  384. if %rbookt% == 8 set randombooktitle=Atlas Depicting
  385. if %rbookp% == 8 set randombookplot=the Gold Safe
  386. if %rbookt% == 9 set randombooktitle=Chronicle of
  387. if %rbookp% == 9 set randombookplot=the Mystery Shadowmen
  388. if %rbookt% == 10 set randombooktitle=Book about
  389. if %rbookp% == 10 set randombookplot=the Hidden Dagger Clan
  390. if %rbookt% == 11 set randombooktitle=Volume I of
  391. if %rbookp% == 11 set randombookplot=the Darkened Kings Heart
  392. if %rbookt% == 12 set randombooktitle=Volume II of
  393. if %rbookp% == 12 set randombookplot=the Cruel Kings Rule
  394. if %rbookt% == 13 set randombooktitle=Volume III of
  395. if %rbookp% == 13 set randombookplot=the Afterlife
  396. if %rbookt% == 14 set randombooktitle=Volume IV of
  397. if %rbookp% == 14 set randombookplot=Hidden Powers
  398. if %rbookt% == 15 set randombooktitle=Ledger of
  399. if %rbookp% == 15 set randombookplot=the Great Jewel Trade
  400. if %rbookt% == 16 set randombooktitle=Volume V of
  401. if %rbookp% == 16 set randombookplot=Okhana's Purge
  402. if %rbookt% == 17 set randombooktitle=Tome of
  403. if %rbookp% == 17 set randombookplot=Okhana's Pillage
  404. if %rbookt% == 18 set randombooktitle=Opus about
  405. if %rbookp% == 18 set randombookplot=the Jaguars Night Raid
  406. if %rbookt% == 19 set randombooktitle=Archive on
  407. if %rbookp% == 19 set randombookplot=the Ideal Battle Strategy
  408. if %rbookt% == 20 set randombooktitle=Volume VI of
  409. if %rbookp% == 20 set randombookplot=the Blood Feud
  410. if %rbookt% == 21 set randombooktitle=Volume VII of
  411. if %rbookp% == 21 set randombookplot=the Lost Shadow Relic
  412. if %rbookt% == 22 set randombooktitle=Volume VIII of
  413. if %rbookp% == 22 set randombookplot=the Vile War
  414. if %rbookt% == 23 set randombooktitle=Volume IX of
  415. if %rbookp% == 23 set randombookplot=the Forbidden Shadow Arts
  416. if %rbookt% == 24 set randombooktitle=Omnibus of
  417. if %rbookp% == 24 set randombookplot=the Great Wolf War
  418. if %rbookt% == 25 set randombooktitle=Ledger about
  419. if %rbookp% == 25 set randombookplot=the Unending Book Pit
  420. if %rbookt% == 26 set randombooktitle=Notes on
  421. if %rbookp% == 26 set randombookplot=the Legendary White Ninja
  422. if %rbookt% == 27 set randombooktitle=Volume X of
  423. if %rbookp% == 27 set randombookplot=the Ancient Sage Beasts
  424. if %rbookt% == 28 set randombooktitle=Volume XI of
  425. if %rbookp% == 28 set randombookplot=the Lucid Whispers
  426. if %rbookt% == 29 set randombooktitle=Edition I of
  427. if %rbookp% == 29 set randombookplot=the Black Fog
  428. if %rbookt% == 30 set randombooktitle=Edition II of
  429. if %rbookp% == 30 set randombookplot=the Red Alder Glade
  430. if %rbookt% == 31 set randombooktitle=Edition III of
  431. if %rbookp% == 31 set randombookplot=the Death Seal Formula
  432. if %rbookt% == 32 set randombooktitle=Edition IV of
  433. if %rbookp% == 32 set randombookplot=the 30 Year War
  434. if %rbookt% == 33 set randombooktitle=Scroll on
  435. if %rbookp% == 33 set randombookplot=the Eternity Leaf
  436. if %rbookt% == 34 set randombooktitle=Compendium about
  437. if %rbookp% == 34 set randombookplot=the Distraught Fish
  438. if %rbookt% == 35 set randombooktitle=Octavo on
  439. if %rbookp% == 35 set randombookplot=the Endless Moonlight
  440. rem if %rbookt% ==  set randombooktitle=
  441. rem if %rbookp% ==  set randombookplot=
  442. goto:eof
  443.  
  444.  
  445. :ifCMonth
  446. if %cMonth% EQU 9 set cmDay=30
  447. if %cMonth% EQU 4 set cmDay=30
  448. if %cMonth% EQU 6 set cmDay=30
  449. if %cMonth% EQU 11 set cmDay=30
  450. if %cMonth% EQU 2 set cmDay=28
  451. goto:eof
  452.  
  453. :nameRandomizer
  454. set /a rfname=%random%%%35+1
  455. set /a rlname=%random%%%35+1
  456. set /a rtname=%random%%%35+1
  457. call :RFnames
  458. call :RLnames
  459. call :RTnames
  460. goto:eof
  461.  
  462. :numberRand
  463. set /a cDay=%random%%%28+1
  464. set /a cMonth=%random%%%12+1
  465. set /a cYear=%random%%%2040+1
  466. set /a pYear=%random%%%2040+1
  467. set /a pMonth=%random%%%12+1
  468. set /a pDay=%random%%%28+1
  469. if %pYear%-%cYear% GTR 122 set pYear=%cYear%
  470. goto:eof
  471.  
  472. :cMonthName
  473. if %cMonth% EQU == 1 set cMonthD=January
  474. if %cMonth% EQU == 2 set cMonthD=February
  475. if %cMonth% EQU == 3 set cMonthD=March
  476. if %cMonth% EQU == 4 set cMonthD=April
  477. if %cMonth% EQU == 5 set cMonthD=May
  478. if %cMonth% EQU == 6 set cMonthD=June
  479. if %cMonth% EQU == 7 set cMonthD=July
  480. if %cMonth% EQU == 8 set cMonthD=August
  481. if %cMonth% EQU == 9 set cMonthD=September
  482. if %cMonth% EQU == 10 set cMonthD=October
  483. if %cMonth% EQU == 11 set cMonthD=November
  484. if %cMonth% EQU == 12 set cMonthD=December
  485. goto:eof
  486.  
  487. :RFnames
  488. if %rfname% == 1 set fname=James
  489. if %rfname% == 2 set fname=Paul
  490. if %rfname% == 3 set fname=Taylor
  491. if %rfname% == 4 set fname=Mark
  492. if %rfname% == 5 set fname=Ethan
  493. if %rfname% == 6 set fname=Ariel
  494. if %rfname% == 7 set fname=Matt
  495. if %rfname% == 8 set fname=Darson
  496. if %rfname% == 9 set fname=Julius
  497. if %rfname% == 10 set fname=Castro
  498. if %rfname% == 11 set fname=Jaxon
  499. if %rfname% == 12 set fname=Layla
  500. if %rfname% == 13 set fname=Asia
  501. if %rfname% == 14 set fname=Chris
  502. if %rfname% == 15 set fname=Lucy
  503. if %rfname% == 16 set fname=Charles
  504. if %rfname% == 17 set fname=Nate
  505. if %rfname% == 18 set fname=Jesse
  506. if %rfname% == 19 set fname=Natasha
  507. if %rfname% == 20 set fname=Dani
  508. if %rfname% == 21 set fname=Joseph
  509. if %rfname% == 22 set fname=Joey
  510. if %rfname% == 23 set fname=Jose
  511. if %rfname% == 24 set fname=Jennett
  512. if %rfname% == 25 set fname=Rose
  513. if %rfname% == 26 set fname=Jamie
  514. if %rfname% == 27 set fname=Bryson
  515. if %rfname% == 28 set fname=Conner
  516. if %rfname% == 29 set fname=Aurthur
  517. if %rfname% == 30 set fname=Cameron
  518. if %rfname% == 31 set fname=Nicole
  519. if %rfname% == 32 set fname=Nicolas
  520. if %rfname% == 33 set fname=Gadge
  521. if %rfname% == 34 set fname=Marcus
  522. if %rfname% == 35 set fname=Nathaniel
  523. rem if %rfname% ==  set fname=
  524. goto:eof
  525.  
  526. :RLnames
  527. if %rlname% == 1 set lname=Madisons
  528. if %rlname% == 2 set lname=Payton
  529. if %rlname% == 3 set lname=Miller
  530. if %rlname% == 4 set lname=Barns
  531. if %rlname% == 5 set lname=Wyckoff
  532. if %rlname% == 6 set lname=Scott
  533. if %rlname% == 7 set lname=Hall
  534. if %rlname% == 8 set lname=Stonedream
  535. if %rlname% == 9 set lname=Wildheart
  536. if %rlname% == 10 set lname=Featherfoot
  537. if %rlname% == 11 set lname=Windstone
  538. if %rlname% == 12 set lname=Miller
  539. if %rlname% == 13 set lname=Edwards
  540. if %rlname% == 14 set lname=Kinsley
  541. if %rlname% == 15 set lname=Castice
  542. if %rlname% == 16 set lname=Ravenn
  543. if %rlname% == 17 set lname=Jones
  544. if %rlname% == 18 set lname=Masoners
  545. if %rlname% == 19 set lname=Johnson
  546. if %rlname% == 20 set lname=Garcia
  547. if %rlname% == 21 set lname=Cassidy
  548. if %rlname% == 22 set lname=Addison
  549. if %rlname% == 23 set lname=Lane
  550. if %rlname% == 24 set lname=Harlow
  551. if %rlname% == 25 set lname=Monroe
  552. if %rlname% == 26 set lname=Wilson
  553. if %rlname% == 27 set lname=White
  554. if %rlname% == 28 set lname=Cooper
  555. if %rlname% == 29 set lname=Hughes
  556. if %rlname% == 30 set lname=Harris
  557. if %rlname% == 31 set lname=Carter
  558. if %rlname% == 32 set lname=Ward
  559. if %rlname% == 33 set lname=Gray
  560. if %rlname% == 34 set lname=Ross
  561. if %rlname% == 35 set lname=Allen
  562. rem if %rlname% ==  set lname=
  563. goto:eof
  564.  
  565. :RTnames
  566. if %rtname% == 1 set tname=the Wicked
  567. if %rtname% == 2 set tname=the Tortured
  568. if %rtname% == 3 set tname=the Loving
  569. if %rtname% == 4 set tname=the Agonized
  570. if %rtname% == 5 set tname=the Joyous
  571. if %rtname% == 6 set tname=the Swift
  572. if %rtname% == 7 set tname=the Kind
  573. if %rtname% == 8 set tname=the Devious
  574. if %rtname% == 9 set tname=the Loyal
  575. if %rtname% == 10 set tname=the Jokster
  576. if %rtname% == 11 set tname=the Traitor
  577. if %rtname% == 12 set tname=the Lonely
  578. if %rtname% == 13 set tname=the Traveller
  579. if %rtname% == 14 set tname=the Bard
  580. if %rtname% == 15 set tname=the Hated
  581. if %rtname% == 16 set tname=the Fearful
  582. if %rtname% == 17 set tname=the Mindless
  583. if %rtname% == 18 set tname=the Willful
  584. if %rtname% == 19 set tname=the Charming
  585. if %rtname% == 20 set tname=the Virtous
  586. if %rtname% == 21 set tname=the Valiant
  587. if %rtname% == 22 set tname=the Curious
  588. if %rtname% == 23 set tname=the Intuitive
  589. if %rtname% == 24 set tname=the Genius
  590. if %rtname% == 25 set tname=the Outcast
  591. if %rtname% == 26 set tname=the Vile
  592. if %rtname% == 27 set tname=the Heretic
  593. if %rtname% == 28 set tname=the Hypocrite
  594. if %rtname% == 29 set tname=the Prideful
  595. if %rtname% == 30 set tname=the Outlaw
  596. if %rtname% == 31 set tname=the Cyborg
  597. if %rtname% == 32 set tname=the Mutant
  598. if %rtname% == 33 set tname=the Brutal
  599. if %rtname% == 34 set tname=the Merciless
  600. if %rtname% == 35 set tname=the Savage
  601. rem if %rtname% ==  set tname=
  602. goto:eof
  603.  
  604. :load
  605. call :PVs
  606. if exist save.bat (
  607. call save.bat
  608. set msg=Save Data has been Loaded!
  609. ) else (set msg=No File Could be found!)
  610. goto:eof
  611.  
  612. :load2
  613. call :PVs
  614. if exist save.bat (
  615. call save2.bat
  616. set msg=Save Data has been Loaded!
  617. ) else (set msg=No File Could be found!)
  618. goto:eof
  619.  
  620. :save
  621. (
  622. echo set fname=%fname%
  623. echo set lname=%lname%
  624. echo set tname=%tname%
  625. echo set AGE=%AGE%
  626. echo set WISE=%WISE%
  627. echo set myBook=%myBook%
  628. echo set myBook2=%myBook2%
  629. echo set myBook3=%myBook3%
  630. echo set myBook4=%myBook4%
  631. echo set myBook5=%myBook5%
  632. echo set myBook6=%myBook6%
  633. echo set myBook7=%myBook7%
  634. echo set myBook8=%myBook8%
  635. echo set myBook9=%myBook9%
  636. echo set myBook10=%myBook10%
  637. echo set myBook11=%myBook11%
  638. echo set myBook12=%myBook12%
  639. echo set myBook13=%myBook13%
  640. echo set myBook14=%myBook14%
  641. echo set pYear=%pYear%
  642. echo set cYear=%cYear%
  643. echo set cMonth=%cMonth%
  644. echo set cmMonth=%cmMonth%
  645. echo set cDay=%cDay%
  646. echo set cmDay=%cmDay%
  647. ) > save.bat
  648. set msg= Data Saved to "save.bat"
  649. goto:eof
  650.  
  651. :save2
  652. (
  653. echo set fname=%fname%
  654. echo set lname=%lname%
  655. echo set tname=%tname%
  656. echo set AGE=%AGE%
  657. echo set WISE=%WISE%
  658. echo set myBook=%myBook%
  659. echo set myBook2=%myBook2%
  660. echo set myBook3=%myBook3%
  661. echo set myBook4=%myBook4%
  662. echo set myBook5=%myBook5%
  663. echo set myBook6=%myBook6%
  664. echo set myBook7=%myBook7%
  665. echo set myBook8=%myBook8%
  666. echo set myBook9=%myBook9%
  667. echo set myBook10=%myBook10%
  668. echo set myBook11=%myBook11%
  669. echo set myBook12=%myBook12%
  670. echo set myBook13=%myBook13%
  671. echo set myBook14=%myBook14%
  672. echo set pYear=%pYear%
  673. echo set cYear=%cYear%
  674. echo set cMonth=%cMonth%
  675. echo set cmMonth=%cmMonth%
  676. echo set cDay=%cDay%
  677. echo set cmDay=%cmDay%
  678. ) > save2.bat
  679. set msg= Data Saved to "save2.bat"
  680. goto:eof
  681.  
  682.  
Add Comment
Please, Sign In to add comment