home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0950.lha / BBDoors / BBDoors65.lha / rexxDoors / YuppieWars.rexx < prev   
OS/2 REXX Batch file  |  1993-09-01  |  119KB  |  3,835 lines

  1. /* YUPPIE WARS!  V2.6-bb4 22-Nov-90/21-Feb-91  -  Dave Cole */
  2. /* Special thanks to Mike Soucy for the Slot Machine routine! */
  3. /* Special thanks to D.F. Duck for the Craps routine! */
  4. /* Special thanks to Jim Foley for a couple suggestions! & Mem-Safeguard!*/
  5. /* Special thanks to ME for the rest of the routine */
  6. /* This is my "Hello World" program so bare with me! */
  7. /* For updates/questions/whatever call Wolverine's Den (616)533-6760 */
  8. /* If anyone finds a nifty way to shorten the code call my board! */
  9. /* Converted to Tempest BBS by Platinum Dragon  05/92 */
  10. /* Converted to BBBBS or CLI by Richard Stockton 1-Nov-92 (bb2) */
  11. /* Updated for BBBBS or CLI by Richard Stockton 8-Aug-93 (bb3) */
  12. /* Updated for BBBBS or CLI by Richard Stockton 1-Sep-93 (bb4) */
  13.  
  14. if ~show('L',"rexxsupport.library") then do
  15.    if addlib('rexxsupport.library',0,-30,0) then nop
  16.    else do
  17.       say 'Hmm.. Cant seem to find the support library!'CR
  18.       exit 10
  19.    end
  20. end
  21.  
  22. CALL TIME('R')
  23. SIGNAL ON BREAK_C
  24. SIGNAL ON BREAK_E
  25. CR='0D'x
  26. CLS=d2c(12)
  27. LINES=20
  28. bbsname='The CLI'
  29. bbspath=''
  30.  
  31. PARSE ARG handle winnings secondsflag gfx secs .
  32. IF ~DATATYPE(secs,'N') THEN secs=3600
  33.  
  34. IF handle='' THEN
  35.   DO
  36.     OPTIONS PROMPT 'Please Enter Your Name > '
  37.     PULL handle
  38.     handle=SPACE(handle,1,'_')
  39.     OPTIONS PROMPT 'Do You Want Color Graphics? (nY) > '
  40.     PULL gfx 
  41.     IF LEFT(gfx,1)~='N' THEN gfx=1
  42.   END
  43. IF gfx~=0 THEN gfx=1
  44.  
  45. CALL PRAGMA('W','N')  /* disk requesters OFF */
  46. figarg='s:CONFIG.BBS'
  47. IF ~EXISTS(figarg) THEN figarg='BBS:BBS_TEXT/CONFIG.BBS'
  48. x=OPEN(f,figarg,'R')
  49. IF x~=0 THEN
  50.   DO
  51.     line=STRIP(READLN(f))
  52.     compos=POS('/*',line)
  53.     IF compos>0 THEN line=LEFT(line,compos-1)
  54.     bbsname=STRIP(line)
  55.     sysop=WORD(READLN(f),1)
  56.     DO i=3 TO 6
  57.       line=READLN(f)
  58.     END
  59.     CALL CLOSE(f)
  60.     bbspath=WORD(line,1)
  61.   END
  62. CALL PRAGMA('W','W')  /* disk requesters ON */
  63. IF bbspath~='' THEN
  64.   DO
  65.     datapath=bbspath'rexxDoors/Data/Yuppie'
  66.     CALL MAKEDIR(datapath)
  67.   END
  68. ELSE IF EXISTS('rexx:YuppieWars.rexx') THEN
  69.   DO
  70.     datapath='rexx:Yuppie'
  71.     CALL MAKEDIR(datapath)
  72.   END
  73. IF datapath~='' THEN datapath=datapath'/'
  74.  
  75. CALL MESSAGE CLS
  76. CALL MESSAGE "Loading Yuppie Wars..."
  77.  
  78.  /* Define a few variables... */
  79.  
  80. howm = 0       /* PUT HOW MANY PEOPLE ARE ALREADY PLAYING HERE!  VERY */
  81.                /* IMPORTANT THAT YOU DO THIS! IF NONE THAN LEAVE AS 0. */
  82.                /* (ONLY CHANGE THIS WHEN FIRST INSTALLING THE PROGRAM) */
  83.              /* (WHEN OTHER USERS ARE ADDED THE PROGRAM WILL COMPENSATE) */
  84.              /* ALSO!  ONLY edit this when "STATS" file is deleted! */
  85.  
  86. file.1=datapath'Instructions1';file.2=datapath'Instructions2';file.6=datapath'NEWS'
  87. file.3=datapath'Instructions3';file.4=datapath'Instructions4';file.5=datapath'Instructions5'
  88. lowmem = 150000
  89. CALL NOCR "."
  90. if gfx=1 then do
  91. RED = '';GRE = '';YEL = '';BLU = '';MAG = '';CYA = '';WHI = ''
  92. WhiBlk = '';BluCya = '';WhiGre = '';RedMag = '';ITAL = '';UNDER = '';BOLD = '';RESET = ''
  93. end;else do
  94. RED = '';GRE = '';YEL = '';BLU = '';MAG = '';CYA = '';WHI = ''
  95. WhiBlk = '';BluCya = '';WhiGre = '';RedMag = '';ITAL = '';UNDER = '';BOLD = '';RESET = ''
  96. end
  97. IF ADDRESS()~='BAUD' THEN
  98.   DO
  99.     BLU=GRE
  100.     CR=''
  101.   END
  102. time=time(); date=date()
  103. CALL NOCR "."
  104. blanks = '                                 '
  105. day = 0
  106. if ~exists(datapath'NEWS') then do
  107.    call open(news,datapath'NEWS','W')
  108.          CALL WRITELN(news,' ')
  109.          CALL WRITELN(news,'         'BLUCYA'   -=< The Yuppie Times >=-   'RESET' ')
  110.          CALL WRITELN(news,' 'RED'               For 'date' ')
  111.          CALL WRITELN(news,' 'CYA)
  112.    call close(news)
  113.   end
  114. if ~exists(datapath'STATS') then do
  115.    call open(dc,datapath'STATS','W')
  116.    call writeln(dc,date)
  117.    call writeln(dc,day)
  118.    call writeln(dc,howm)
  119.    call close(dc)
  120.   end
  121. if exists(datapath'STATS') then do
  122.    call open(dc,datapath'STATS','R')
  123.    dt = readln(dc)
  124.    day = readln(dc)
  125.    howm = readln(dc)
  126.    if howm = ' ' | howm = '' then howm = 1
  127.    call close(dc)
  128.    if date ~= dt then do
  129.       day = day + 1
  130.       if exists(datapath'NEWS') then do
  131.          call open(news,datapath'NEWS','A')
  132.          CALL WRITELN(news,' ')
  133.          CALL WRITELN(news,'         'BLUCYA'   -=< The Yuppie Times >=-   'RESET' ')
  134.          CALL WRITELN(news,' 'RED'               For 'date' ')
  135.          CALL WRITELN(news,' 'CYA)
  136.          call close(news)
  137.       end
  138.    call open(dc,datapath'STATS','W')
  139.    CALL WRITELN(dc,date)
  140.    CALL WRITELN(dc,day)
  141.    CALL WRITELN(dc,howm)
  142.    call close(dc)
  143.    end
  144. end
  145. CALL NOCR "."
  146. if day = 5 then do
  147.    day = 0
  148.    call delete(file.6)
  149.    call open(news,datapath'NEWS','W')
  150.    CALL WRITELN(news,' ')
  151.    CALL WRITELN(news,'         'BLUCYA'   -=< The Yuppie Times >=-   'RESET' ')
  152.    CALL WRITELN(news,' 'RED'               For 'date' ')
  153.    CALL WRITELN(news,' 'CYA)
  154.    CALL WRITELN(news,'Newspaper was reset on 'date'.')
  155.    call close(news)
  156.    call open(dc,datapath'STATS','W')
  157.    call writeln(dc,date)
  158.    call writeln(dc,day)
  159.    call writeln(dc,howm)
  160.    call close(dc)
  161.   end
  162.  
  163. if exists(datapath'NEWS') then do
  164.    call open(news,datapath'NEWS','A')
  165.    call writeln(news,handle' joins us at 'time', 'date'.')
  166.   end
  167.  
  168. if ~exists(datapath'TopOnes') then do
  169.    call open(top10,datapath'TopOnes','W')
  170.    do i = 1 to 10
  171.       call writeln(top10,'0' '..........')
  172.    end
  173.    call close(top10)
  174.   end
  175.  
  176. if ~exists(datapath'PLAYERS') then do
  177.    call open(play,datapath'PLAYERS','W')
  178.    do i = 1 to howm
  179.       call writeln(play,'0' '...........')
  180.    end
  181.    call close(play)
  182.   end
  183. CALL NOCR "."
  184.  
  185. /* WHAT THE WEAPONS ARE */
  186. wep1 = "Squirt Gun"
  187. wep2 = "Spitwad Launcher"
  188. wep3 = "Frisbee"
  189. wep4 = "Laser Tag Gun"
  190. wep5 = "Paint Ball Gun"
  191. wep6 = "Darts"
  192. wep7 = "Baseball"
  193. wep8 = "Bart Simpson Doll"
  194. wep9 = "Chainsaw"
  195. wep10 = "Teenage Mutant Ninja Turtle Doll"
  196. wep11 = "New Kids On The Block Poster"
  197. wep12 = "New Kids On The Block CD"
  198. wep13 = "Atomic Can-Opener"
  199. wep14 = "Guile"
  200.      /* WHAT THE VEHICLES ARE */
  201. arm1 = "Barbie Ferrari"
  202. arm2 = "Roller Skates"
  203. arm3 = "Vision Skateboard"
  204. arm4 = "Go-Cart"
  205. arm5 = "10-Speed Bike"
  206. arm6 = "Suzuki Motorbike"
  207. arm7 = "BMW Motorcycle"
  208. arm8 = "Yugo"
  209. arm9 = "Volkswagon"
  210. arm10 = "Ferrari F40"
  211. arm11 = "Corvette Mako Shark"
  212. arm12 = "Stealth Bomber"
  213. arm13 = "Nuclear Submarine"
  214. arm14 = "Starship USS Enterprise"
  215.      /* THE RANKS */
  216. ran1 = "Window_Shopper"
  217. ran2 = "Browser"
  218. ran3 = "Consumer"
  219. ran4 = "Credit_Card_User"
  220. ran5 = "Bouncy_Check_Writer"
  221. ran6 = "Blue_Collar_Worker"
  222. ran7 = "Republican"
  223. ran8 = "Millionare_Tycoon"
  224. ran9 = "Chairman_of_Macy's_Department_Store"
  225. ran10 = "President_of_Macy's_Department_Store"
  226. ran11 = "Founder_of_Macy's_Department_Store"
  227. ran12 = "THE_ONE."
  228. ran13 = "MORE_THAN_THE_ONE."
  229. ran14 = "LEADER_OF_MORE_THAN_THE_ONE."
  230.     /* BEGINNING GUY STATS */
  231. turnsleft = 26
  232. maxturns = 26
  233. maxpoints = 30
  234. hitpoints = 30
  235. points = 6100
  236. money = 5000
  237. armor = arm1
  238. weapon = wep1
  239. rank = ran1
  240. canfight = 4
  241. deadf = 0
  242. killer = "NOBODY"
  243. kills = 0
  244. bmoney = 1000
  245. CALL NOCR "."
  246.     /* LETS BEGIN THE GAME! */
  247. if ~exists(datapath||handle'.dat') then do
  248.    howm = howm + 1
  249.   end
  250. if exists(datapath||handle'.dat') then do
  251.    call open(File,datapath||handle'.DAT','R')
  252.    turnsleft = readln(File)
  253.    maxpoints = readln(File)
  254.    hitpoints = readln(File)
  255.    points = readln(File)
  256.    money = readln(File)
  257.    armor = readln(File)
  258.    weapon = readln(File)
  259.    rank = readln(File)
  260.    canfight = readln(File)
  261.    lastpl = readln(File)
  262.    deadf = readln(File)
  263.    killer = readln(File)
  264.    kills = readln(File)
  265.    bmoney = readln(File)
  266.   end
  267. call close(File)
  268. CALL NOCR "."
  269. if lastpl ~= date then do
  270.    CALL MESSAGE MAG"Running Maintenance...."
  271.    call delay(20)
  272.    CALL MESSAGE YEL"  You have "WHI"25"YEL" fresh turns!"
  273.    turnsleft = 26
  274.    rannum = RANDOM(10,50,Time('s'))
  275.    hitpoints = hitpoints + rannum
  276.    if hitpoints > maxpoints then hitpoints = maxpoints
  277.    CALL MESSAGE YEL"  You have gained "WHI||rannum||YEL" hitpoints!"
  278.    money = money + 2000
  279.    CALL MESSAGE YEL"  You have earned "WHI"$2000"YEL"!"
  280.    CALL MESSAGE RED"  You are all set up and ready to go!"RESET
  281.    canfight = 4
  282.    CALL MESSAGE " "
  283.    if deadf = 1 then do
  284.       CALL MESSAGE RED" "KILLER" BEAT YOU ON THE HIGHWAY!"
  285.       CALL MESSAGE " "
  286.    end
  287.    deadf = 0
  288.    call delay(100)
  289.    OPTIONS PROMPT RESET"Press "RED"RETURN"RESET" when finished: "RESET
  290.    PULL junk
  291.    if checkBBS() then signal BYE
  292.   end
  293. call CHECKRANK
  294. call EVENER
  295. signal TITLE
  296.  
  297. CHECKRANK:
  298. if kills >= 17 then rank = ran2
  299. if kills >= 25 then rank = ran3
  300. if kills >= 35 then rank = ran4
  301. if kills >= 45 then rank = ran5
  302. if kills >= 60 then rank = ran6
  303. if kills >= 75 then rank = ran7
  304. if kills >= 100 then rank = ran8
  305. if kills >= 130 then rank = ran9
  306. if kills >= 160 then rank = ran10
  307. if kills >= 215 then rank = ran11
  308. if kills >= 300 then rank = ran12
  309. if kills >= 444 then rank = ran13
  310. if kills >= 999 then rank = ran14
  311. if rank = ran2 then maxpoints = 40
  312. if rank = ran3 then maxpoints = 50
  313. if rank = ran4 then maxpoints = 60
  314. if rank = ran5 then maxpoints = 75
  315. if rank = ran6 then maxpoints = 90
  316. if rank = ran7 then maxpoints = 100
  317. if rank = ran8 then maxpoints = 120
  318. if rank = ran9 then maxpoints = 140
  319. if rank = ran10 then maxpoints = 170
  320. if rank = ran11 then maxpoints = 200
  321. if rank = ran12 then maxpoints = 250
  322. if rank = ran13 then maxpoints = 310
  323. if rank = ran14 then maxpoints = 380
  324. return
  325.  
  326. EVENER:
  327. zod1 = compress(hitpoints,'0123456789')
  328. zod2 = compress(points,'0123456789')
  329. zod3 = compress(money,'0123456789')
  330. zod4 = compress(bmoney,'0123456789')
  331. if zod1 = '.' then do
  332.  parse var hitpoints hit1 '.' hit2
  333.  hitpoints = hit1
  334.  hitpoints = hitpoints + 1
  335. end
  336. if zod2 = '.' then do
  337.  parse var points poi1 '.' poi2
  338.  points = poi1
  339.  points = points + 1
  340. end
  341. if zod3 = '.' then do
  342.  parse var money moy1 '.' moy2
  343.  money = moy1
  344.  money = money + 1
  345. end
  346. if zod4 = '.' then do
  347.  parse var bmoney bmy1 '.' bmy2
  348.  bmoney = bmy1
  349.  bmoney = bmoney + 1
  350. end
  351. return
  352.  
  353. TITLE:
  354. CALL MESSAGE RESET CLS
  355. CALL MESSAGE " "
  356. CALL MESSAGE " "
  357. CALL MESSAGE " "
  358. CALL MESSAGE RED center("LONG AGO, IN A SHOPPING MALL FAR FAR AWAY...",78)
  359. CALL MESSAGE BLU "                          ___  ___    ___         __  ___  ___"
  360. CALL MESSAGE BLU "               /  / /  / /  / /  / / /      \   \ \ \ \  \ \"
  361. CALL MESSAGE RED "        ------"BLU"/__/"RED"-"BLU"/"RED"--"BLU"/"RED"-"BLU"/__/"RED"-"BLU"/__/"RED"-"BLU"/"RED"-"BLU"/_"RED"-------"BLU"\"RED"---"BLU"\"RED"-"BLU"\_\"RED"-"BLU"\__\"RED"-"BLU"\__"RED"------"RESET
  362. CALL MESSAGE RED "       ---------"BLU"/"RED"-"BLU"/"RED"--"BLU"/"RED"-"BLU"/"RED"----"BLU"/"RED"----"BLU"/"RED"-"BLU"/"RED"----------"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"-"BLU"\"RED"----"BLU"\"RED"------"
  363. CALL MESSAGE BLU "             __/ /__/ /    /    / /___         \_\_\ \ \ \ \  __\"
  364. CALL MESSAGE CYA center("Version 2.6-bb4",78)
  365. CALL MESSAGE " "
  366. CALL MESSAGE GRE center("By Dave Cole",78)
  367. CALL MESSAGE GRE center("Wolverine's Den - (616)533-6760",78)
  368. CALL MESSAGE " "
  369. CALL MESSAGE GRE center("Special thanks to Mike Soucy and D.F. Duck for the help!",78)
  370. CALL MESSAGE MAG "                        Now playing on"YEL bbsname||MAG"!"  /* You may want to center this appropriately... */
  371. call delay(100)
  372. OPTIONS PROMPT RED center("--= Press Return =-- ",78)||RESET
  373. PULL junk
  374. if checkBBS() then signal BYE
  375. signal BEGINNINGPROMPTS
  376.  
  377. BEGINNINGPROMPTS:
  378. CALL MESSAGE " "
  379. CALL MESSAGE " "
  380. OPTIONS PROMPT MAG"Need Instructions ("GRE"y"MAG"/"RED"N"MAG")? "RESET
  381. PULL info
  382. if checkBBS() then signal BYE
  383.  if info = "Y" then do
  384.   do i = 1 to 5
  385.      CALL MESSAGE CLS
  386.      call open(instr,file.i,'R')
  387.      do until EOF(instr)
  388.         CALL MESSAGE Readln(instr)
  389.      end
  390.      call close(instr)
  391.      OPTIONS PROMPT " Press "RED"RETURN"WHI" when finished: "RESET
  392.      PULL junk
  393.      if checkBBS() then signal BYE
  394.      CALL MESSAGE " "
  395.     end
  396.  end
  397. CALL MESSAGE " "
  398. OPTIONS PROMPT MAG"Read The News ("GRE"y"MAG"/"RED"N"MAG")? "RESET
  399. PULL newz
  400. if checkBBS() then signal BYE
  401. if newz = "Y" then do
  402.   q = 0
  403.   CALL MESSAGE CLS
  404.   x=open(newz,datapath'NEWS','R')
  405.   IF x~=0 THEN do until EOF(newz)
  406.      q = q + 1
  407.      CALL MESSAGE GRE||Readln(newz)
  408.      if q // (LINES - 3) = 0 then do
  409.         OPTIONS PROMPT RESET"Hit "RED"RETURN"RESET" to continue: "RESET
  410.         PULL ans
  411.         if checkBBS() then signal BYE
  412.         if ans = "Q" then do
  413.            call close(newz)
  414.            signal MENU
  415.         end
  416.      end
  417.   end
  418.   call close(newz)
  419.   OPTIONS PROMPT RESET"Press "RED"RETURN"RESET" when finished: "RESET
  420.   PULL junk
  421.   if checkBBS() then signal BYE
  422.   signal MENU
  423.  end
  424. CALL MESSAGE " "
  425. signal MENU
  426.  
  427. MAINGAME:
  428. currentmem=storage()
  429.   if currentmem<lowmem then do
  430.     CALL MESSAGE CLS
  431.     CALL MESSAGE " "
  432.     CALL MESSAGE RED CENTER("Sorry!  Out of memory!  Saving and exiting...",78)
  433.     call delay(190)
  434.     signal BYE
  435.   end
  436. CALL MESSAGE " "
  437. OPTIONS PROMPT BLU"["YEL||turnsleft||BLU"]"CYA" Your Choice?"BLU"> "RESET
  438. PULL Choice 
  439. if checkBBS() then signal BYE
  440. if Choice="" THEN turnsleft=turnsleft+1
  441. if Choice=" " | Choice="  " | Choice="    " | Choice="        " then
  442.   if turnsleft<25 THEN turnsleft=turnsleft+LENGTH(Choice)
  443. if Choice = "T" then signal ARENA
  444. if Choice = "H" then signal HIGHWAY
  445. if Choice = "R" then signal REST
  446. if Choice = "S" then signal TOP
  447. if Choice = "Y" then signal YOURSTATS
  448. if Choice = "G" then signal TRIP
  449. if Choice = "L" then signal VEGAS
  450. if Choice = "V" then signal BUYORSELLA
  451. if Choice = "W" then signal BUYORSELLW
  452. if Choice = "B" then signal BANK
  453. if Choice = "P" then signal PLAYERS                                                                  ; if (handle=sysop) & (Choice=8) then signal LALA
  454. if Choice = "Q" then signal QUIT
  455. if Choice = "?" then signal MENU
  456. else do
  457. signal MENU
  458. end
  459. signal MENU
  460.  
  461. MENU:
  462. if hitpoints > maxpoints then hitpoints = maxpoints
  463. if hitpoints < 0 then hitpoints = 0
  464. if money < 0 then money = 0
  465. turnsleft=turnsleft-1
  466. if turnsleft <= 0 then do
  467.    CALL MESSAGE CLS
  468.    CALL MESSAGE " "
  469.    CALL MESSAGE center("        "BLUCYA"   You must like this game!   "RESET,78)
  470.    CALL MESSAGE " "RESET
  471.    CALL MESSAGE RED center("But anyway, you have played all your 25 turns out.",78)
  472.    CALL MESSAGE RED center("Try calling back tomarrow and playing again!",78)
  473.    CALL MESSAGE " "
  474.    OPTIONS PROMPT RESET"Press "RED"RETURN"WHI" when finished: "RESET
  475.    PULL junk
  476.    signal OUTTAHERE
  477.   end
  478. CALL MESSAGE CLS
  479. CALL MESSAGE BLU"                         _  _        _    _"
  480. CALL MESSAGE RED"          ==============="BLU"\\//"RED"========"BLU"\\/\//"RED"==============="
  481. CALL MESSAGE RED"         ================="BLU"||UPPIE"RED"====="BLU"\/\/ARS"RED"=============="
  482. CALL MESSAGE BLU"       --------"CYA" Can The Richest & Greediest Survive?"BLU" --------"
  483. CALL MESSAGE " "
  484. CALL MESSAGE "           "MAG"["YEL"T"MAG"]"WHI" To The Arena              "MAG"["YEL"G"MAG"]"WHI" Go On A Trip      "
  485. CALL MESSAGE "           "MAG"["YEL"H"MAG"]"WHI" The Highway               "MAG"["YEL"L"MAG"]"WHI" Go To Las Vegas   "
  486. CALL MESSAGE "           "MAG"["YEL"R"MAG"]"WHI" Rest In A Hotel           "MAG"["YEL"V"MAG"]"WHI" Shop For Vehicle  "
  487. CALL MESSAGE "           "MAG"["YEL"S"MAG"]"WHI" Top Scores                "MAG"["YEL"W"MAG"]"WHI" Shop For Weapons  "
  488. CALL MESSAGE "           "MAG"["YEL"Y"MAG"]"WHI" List Your Stats           "MAG"["YEL"P"MAG"]"WHI" List Players      "
  489. CALL MESSAGE "           "MAG"["YEL"B"MAG"]"WHI" The Bank                  "MAG"["YEL"Q"MAG"]"WHI" Quit The Game     "
  490. CALL MESSAGE " "
  491. signal MAINGAME
  492.  
  493. PLAYERS:
  494. CALL MESSAGE CLS
  495. turnsleft = turnsleft + 1
  496. call HICL
  497. call SHOWPL
  498. signal MENU
  499.  
  500. HICL:
  501. call open(play,datapath'Players','R')
  502. PHandle.1 = handle
  503. PRank.1 = rank
  504. do i = 2 to howm+1
  505.    plays = readln(play)
  506.    PHandle.i = delword(plays,1,1)
  507.    PRank.i = word(plays,1)
  508.    if PHandle.1 = PHandle.i then PRank.i = -1
  509. end
  510. call close(play)
  511. do i = 1 to howm
  512.    do h = i + 1 to howm+1
  513.       if PRank.i < PRank.h then do
  514.          tp = PRank.i
  515.          PRank.i = PRank.h
  516.          PRank.h = tp
  517.          tpor = PHandle.i
  518.          PHandle.i = PHandle.h
  519.          PHandle.h = tpor
  520.       end
  521.    end
  522. end
  523. return
  524.  
  525. SHOWPL:
  526. CALL MESSAGE CLS
  527. CALL MESSAGE " "
  528. CALL MESSAGE center("       "BLUCYA"   List Of Yuppies   "RESET,78)
  529. CALL MESSAGE BLU center("------------------------------------------------------",73)RESET
  530. CALL MESSAGE " "
  531. call open(play,datapath'Players','W')
  532. do i = 1 to howm
  533.    if PRank.i ~= -1 then do
  534.     CALL MESSAGE BLU right(PHandle.i,20,' -- ') ' ' PRank.i
  535.     call writeln(play,PRank.i' 'PHandle.i)
  536.    end
  537. end
  538. call close(play)
  539. q = 0
  540. do i = 1 to howm
  541.  q = q + 1
  542.  if q // (LINES - 3) = 0 then do
  543.  CALL MESSAGE RESET"Press "RED"RETURN"WHI" to continue: "BLU
  544.  PULL ans 
  545.  if ans = "Q" then signal MENU
  546. end
  547. CALL MESSAGE " "
  548. OPTIONS PROMPT RESET"Press "RED"RETURN"WHI" when finished: "RESET
  549. PULL junk
  550. if checkBBS() then signal BYE
  551. signal MENU
  552.  
  553. BANK:
  554. call EVENER
  555. CALL MESSAGE CLS
  556. CALL MESSAGE " "
  557. CALL MESSAGE " "
  558. CALL MESSAGE GRE"                  Due North-Northeast Savings and Loan Terminal"
  559. CALL MESSAGE " "
  560. CALL MESSAGE WHI"                       Account#:"RED" 0993-24300"handle"Z883"
  561. CALL MESSAGE WHI"                   Pocket Money:"RED money
  562. CALL MESSAGE WHI"                     Bank Money:"RED bmoney
  563. CALL MESSAGE " "
  564. CALL MESSAGE " "RESET
  565. OPTIONS PROMPT BLU"["YEL"D"BLU"]"CYA" Deposit, "BLU"["YEL"W"BLU"]"CYA" Withdraw, "BLU"["YEL"L"BLU"]"CYA" Leave Bank"BLU"> "RESET
  566. PULL ans 
  567. if checkBBS() then signal BYE
  568. if ans = "D" then signal DEPO
  569. if ans = "W" then signal WITH
  570. if ans = "Q" then signal MENU
  571. if ans = "L" then signal MENU
  572. signal BANK
  573.  
  574. WITH:
  575. CALL MESSAGE " "
  576. OPTIONS PROMPT GRE"Withdraw How Much Money?"BLU"> "RESET
  577. PULL wit 
  578. if checkBBS() then signal BYE
  579. if wit > bmoney | wit < 0 then do
  580.    CALL MESSAGE CLS
  581.    CALL MESSAGE " "
  582.    CALL MESSAGE RED center("You don't have that much money in the bank!",78)
  583.    CALL MESSAGE " "
  584.    call delay(130)
  585.    signal BANK
  586.   end
  587. if wit <= bmoney then do
  588.    bmoney = bmoney - wit
  589.    money = money + wit
  590.    CALL MESSAGE RED"Money withdrawn.  Thank you."
  591.    call delay(100)
  592.    signal BANK
  593.   end
  594. signal BANK
  595.  
  596. DEPO:
  597. CALL MESSAGE " "
  598. OPTIONS PROMPT GRE"Deposit How Much Money?"BLU"> "RESET
  599. PULL dep 
  600. if checkBBS() then signal BYE
  601. if dep > money | dep < 0 then do
  602.    CALL MESSAGE CLS
  603.    CALL MESSAGE " "
  604.    CALL MESSAGE RED center("YOU DON'T HAVE THAT MUCH MONEY!",78)
  605.    CALL MESSAGE " "RESET
  606.    call delay(110)
  607.    signal BANK
  608.   end
  609. if dep <= money then do
  610.    CALL MESSAGE RED"Depositing..."
  611.    money = money - dep
  612.    bmoney = bmoney + dep
  613.    CALL MESSAGE RED"Deposited."
  614.    call delay(100)
  615.    signal BANK
  616.   end
  617. signal BANK
  618.  
  619. ARENA:
  620. call EVENER
  621. CALL MESSAGE CLS
  622. CALL MESSAGE WHI"  .                         .   "BLU" ___"WHI"           ."
  623. CALL MESSAGE BLU"    ___ "WHI".   "BLU" __________   "WHI". "BLU"  __|___|_   "WHI".   "BLU"__"
  624. CALL MESSAGE BLU"   |...|_   |o\\\\\\\\\\__   |. . . . |    _/__|_"
  625. CALL MESSAGE BLU"   |._.|.|  |oo\\\\\\\\\\.|"WHI"."BLU" |. . . . |   |....._\  "WHI" ."
  626. CALL MESSAGE WHI"___"BLU"||_||"WHI"_"BLU"|"WHI"__"BLU"|"WHI"___"BLU"\\\\\\\\\\|"WHI"__"BLU"|________|"WHI"___"BLU"|_____\_\"WHI"_____"
  627. CALL MESSAGE BLU"________________________________________________________"
  628. CALL MESSAGE GRE"__                                                    "GRE"__"
  629. CALL MESSAGE GRE"|\\"CYA"OOOooooo,,,,,,,.........."BLU"__"CYA".......,,,,,ooooooooOOO"GRE"// |"
  630. CALL MESSAGE GRE"|  \\"CYA"OOOooooo,,,,,,,......."BLU"/__\"CYA"....,,,,,ooooooooOOO"GRE"//   |"
  631. CALL MESSAGE GRE"|___"RED"/==/______"MAG"___"CYA",,,,,......"YEL"_____________"CYA"oooooOOO"GRE"//_____|"
  632. CALL MESSAGE BLU" __ "CYA") _  .... "MAG"\__\ "BLU"_______ "WHI"/_)"YEL"/\___/     \ "BLU"______________"
  633. CALL MESSAGE BLU" -= "RED"-'"CYA"O"RED"`------'"CYA"O"RED"-'"BLU" -=-=-=- "YEL"`---"WHI"O"YEL"-------"WHI"O"YEL"-' "BLU"-=-=-=-=-=-=-"
  634. CALL MESSAGE BLU" -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-="
  635. CALL MESSAGE RED"                                  __    __"
  636. CALL MESSAGE RED"          Below the streets...     \HE  \-\RENA"
  637. CALL MESSAGE " "
  638. OPTIONS PROMPT CYA"Enter the arena? ("GRE"Y"CYA"/"RED"n"CYA")"BLU"> "RESET
  639. PULL answ 
  640. if checkBBS() then signal BYE
  641. if answ = "N" then signal MENU
  642. signal FIGHTWHO
  643.  
  644. FIGHTWHO:
  645. randm = RANDOM(1,3,Time('s'))
  646. CALL MESSAGE CLS
  647. CALL MESSAGE " "
  648. CALL MESSAGE center("      "BLUCYA"   Today's Fighters Available:   "RESET,78)
  649. CALL MESSAGE " "
  650. if randm = 1 then do
  651.    CALL MESSAGE center("[W] A Window Shopper      ",78)
  652.    CALL MESSAGE center("[R] A Record Store Owner  ",78)
  653.    CALL MESSAGE center("[A] An Arcade Game Buff   ",78)
  654.    CALL MESSAGE center("[G] The Jolly Green Giant ",78)
  655.   end
  656. if randm = 2 then do
  657.    CALL MESSAGE center("[W] A Window Shopper      ",78)
  658.    CALL MESSAGE center("[A] An Arcade Game Freak  ",78)
  659.    CALL MESSAGE center("[M] A Mortitioner         ",78)
  660.    CALL MESSAGE center("[Y] Macy's Store President",78)
  661.   end
  662. if randm = 3 then do
  663.    CALL MESSAGE center("[K] A K-Mart Attendant    ",78)
  664.    CALL MESSAGE center("[R] A Record Store Owner  ",78)
  665.    CALL MESSAGE center("[A] An Arcade Game Freak  ",78)
  666.    CALL MESSAGE center("[P] A Paris Cafe Owner    ",78)
  667.   end
  668. CALL MESSAGE " "
  669. OPTIONS PROMPT CYA"Fight which one? "BLU"["YEL"Q"BLU"]"CYA" Quits"BLU"> "RESET
  670. PULL answ 
  671. if checkBBS() then signal BYE
  672. if answ = "Q" then signal MENU
  673. if randm = 1 then do
  674.    if answ = "W" then signal WINDOW
  675.    if answ = "R" then signal RECORD
  676.    if answ = "A" then signal BUFF
  677.    if answ = "G" then signal GIANT
  678.   end
  679. if randm = 2 then do
  680.    if answ = "W" then signal WINDOW
  681.    if answ = "A" then signal FREAK
  682.    if answ = "M" then signal MORT
  683.    if answ = "Y" then signal PRES
  684.   end
  685. if randm = 3 then do
  686.    if answ = "K" then signal KMART
  687.    if answ = "R" then signal RECORD
  688.    if answ = "A" then signal FREAK
  689.    if answ = "P" then signal PARIS
  690.   end
  691. signal FIGHTWHO
  692.  
  693. WINDOW:
  694. CALL MESSAGE CLS
  695. wh = "Window Shopper"
  696. hitoppo = 30
  697. wepoppo = wep2
  698. armoppo = arm2
  699. call RFZ
  700. monoppo = randm * 50
  701. signal FIGHTSC
  702.  
  703. RECORD:
  704. CALL MESSAGE CLS
  705. wh = "Record Store Owner"
  706. hitoppo = 55
  707. wepoppo = wep4
  708. armoppo = arm4
  709. call RFZ
  710. monoppo = randm * 350
  711. signal FIGHTSC
  712.  
  713. RFZ:
  714. randm = RANDOM(10,30,Time('s'))
  715. return
  716.  
  717. BUFF:
  718. CALL MESSAGE CLS
  719. wh = "Arcade Game Buff"
  720. hitoppo = 70
  721. wepoppo = wep5
  722. armoppo = arm6
  723. call RFZ
  724. monoppo = randm * 400
  725. signal FIGHTSC
  726.  
  727. GIANT:
  728. CALL MESSAGE CLS
  729. wh = "Jolly Green Giant"
  730. hitoppo = 200
  731. wepoppo = wep8
  732. armoppo = arm8
  733. call RFZ
  734. monoppo = randm * 1200
  735. signal FIGHTSC
  736.  
  737. FREAK:
  738. CALL MESSAGE CLS
  739. wh = "Arcade Game Freak"
  740. hitoppo = 80
  741. wepoppo = wep6
  742. armoppo = arm7
  743. call RFZ
  744. monoppo = randm * 500
  745. signal FIGHTSC
  746.  
  747. MORT:
  748. CALL MESSAGE CLS
  749. wh = "Mortitioner"
  750. hitoppo = 180
  751. wepoppo = wep8
  752. armoppo = arm10
  753. call RFZ
  754. monoppo = randm * 1050
  755. signal FIGHTSC
  756.  
  757. PRES:
  758. CALL MESSAGE CLS
  759. wh = "President Of Macy's"
  760. hitoppo = 390
  761. wepoppo = wep11
  762. armoppo = arm11
  763. call RFZ
  764. monoppo = randm * 2500
  765. signal FIGHTSC
  766.  
  767. KMART:
  768. CALL MESSAGE CLS
  769. wh = "K-Mart Attendant"
  770. hitoppo = 52
  771. wepoppo = wep4
  772. armoppo = arm3
  773. call RFZ
  774. monoppo = randm * 300
  775. signal FIGHTSC
  776.  
  777. PARIS:
  778. CALL MESSAGE CLS
  779. wh = "Paris Cafe Owner"
  780. hitoppo = 180
  781. wepoppo = wep9
  782. armoppo = arm7
  783. call RFZ
  784. monoppo = randm * 1250
  785. signal FIGHTSC
  786.  
  787. FIGHTSC:
  788. CALL MESSAGE " "
  789. CALL MESSAGE " "
  790. CALL MESSAGE MAG"You are fighting a "WHI||wh||MAG"."
  791. CALL MESSAGE " "
  792. OPTIONS PROMPT CYA"Fight Commands: "BLU"["YEL"A"BLU"] "WHI"Attack, "BLU"["YEL"R"BLU"] "WHI"Retreat, "BLU"["YEL"H"BLU"]"WHI" Hit his vehicle"BLU"> "RESET
  793. PULL opt 
  794. if checkBBS() then signal BYE
  795. if opt = "A" then signal ATT
  796. if opt = "R" then signal RET
  797. if opt = "H" then signal RAMH
  798. if opt = "Q" then signal RET
  799. signal FIGHTSC
  800.  
  801. ATT:
  802. call STA
  803. rannum = RANDOM(1,2,Time('s'))
  804. if rannum = 1 then do
  805.    CALL MESSAGE " "
  806.    CALL MESSAGE RED"You hit him for "hithim" hitpoints!"
  807.    hitoppo = hitoppo - hithim
  808.    if hitoppo <= 0 then signal WONFIT
  809.    ransum = RANDOM(1,4,Time('s'))
  810.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  811.       CALL MESSAGE " "
  812.       CALL MESSAGE GRE"He hit you for "hityou" hitpoints!"
  813.       hitpoints = hitpoints - hityou
  814.       if hitpoints <= 0 then signal LOSFIT
  815.      end
  816.    if ransum = 4 then do
  817.       CALL MESSAGE " "
  818.       CALL MESSAGE GRE"He rammed your "armor" and"
  819.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  820.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  821.       hitpoints=hitpoints-(hityou+5)
  822.       hitoppo = hitoppo - ramlos
  823.       if hitpoints <= 0 & hitoppo <= 0 then signal DRAWFIT
  824.       if hitpoints <= 0 then signal LOSFIT
  825.       if hitoppo <= 0 then signal WONFIT
  826.      end
  827.   end
  828. if rannum = 2 then do
  829.    ransum = RANDOM(1,4,Time('s'))
  830.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  831.       CALL MESSAGE " "
  832.       CALL MESSAGE GRE"He hit you for "hityou" hitpoints!"
  833.       hitpoints = hitpoints - hityou
  834.       if hitpoints <= 0 then signal LOSFIT
  835.      end
  836.    if ransum = 4 then do
  837.       CALL MESSAGE " "
  838.       CALL MESSAGE GRE"He rammed your "armor" and"
  839.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  840.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  841.       hitpoints=hitpoints-(hityou+5)
  842.       hitoppo = hitoppo - ramlos
  843.       if hitpoints <= 0 & hitoppo <= 0 then signal DRAWFIT
  844.       if hitpoints <= 0 then signal LOSFIT
  845.       if hitoppo <= 0 then signal WONFIT
  846.      end
  847.    CALL MESSAGE " "
  848.    CALL MESSAGE RED"You hit him for "hithim" hitpoints!"
  849.    hitoppo = hitoppo - hithim
  850.    if hitoppo <= 0 then signal WONFIT
  851.   end
  852. signal FIGHTSC
  853.  
  854. RAMH:
  855. call STA
  856. rannum = RANDOM(1,2,Time('s'))
  857. if rannum = 1 then do
  858.    CALL MESSAGE " "
  859.    CALL MESSAGE RED"You rammed his "armoppo" and"
  860.    CALL MESSAGE RED"hit him for "hithim+5" hitpoints!"
  861.    CALL MESSAGE RED"You also lost "ramlos" by hitting him."
  862.    hitpoints = hitpoints - ramlos
  863.    hitoppo=hitoppo-(hithim+5)
  864.    if hitpoints <= 0 & hitoppo <=0 then signal DRAWFIT
  865.    if hitoppo <= 0 then signal WONFIT
  866.    if hitpoints <= 0 then signal LOSFIT
  867.    ransum = RANDOM(1,4,Time('s'))
  868.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  869.       CALL MESSAGE " "
  870.       CALL MESSAGE GRE"He hit you for "hityou" hitpoints!"
  871.       hitpoints = hitpoints - hityou
  872.       if hitpoints <= 0 then signal LOSFIT
  873.      end
  874.    if ransum = 4 then do
  875.       CALL MESSAGE " "
  876.       CALL MESSAGE GRE"He rammed your "armor" and"
  877.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  878.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  879.       hitpoints=hitpoints-(hityou+5)
  880.       hitoppo = hitoppo - ramlos
  881.       if hitpoints <= 0 & hitoppo <= 0 then signal DRAWFIT
  882.       if hitpoints <= 0 then signal LOSFIT
  883.       if hitoppo <= 0 then signal WONFIT
  884.      end
  885.   end
  886. if rannum = 2 then do
  887.    ransum = RANDOM(1,4,Time('s'))
  888.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  889.       CALL MESSAGE GRE"He hit you for "hityou" hitpoints!"
  890.       hitpoints = hitpoints - hityou
  891.       if hitpoints <= 0 then signal LOSFIT
  892.      end
  893.    if ransum = 4 then do
  894.       CALL MESSAGE " "
  895.       CALL MESSAGE GRE"He rammed your "armor" and"
  896.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  897.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  898.       hitpoints=hitpoints-(hityou+5)
  899.       hitoppo = hitoppo - ramlos
  900.       if hitpoints <= 0 & hitoppo <= 0 then signal DRAWFIT
  901.       if hitpoints <= 0 then signal LOSFIT
  902.       if hitoppo <= 0 then signal WONFIT
  903.      end
  904.    CALL MESSAGE " "
  905.    CALL MESSAGE RED"You rammed his "armoppo" and"
  906.    CALL MESSAGE RED"hit him for "hithim+5" hitpoints!"
  907.    CALL MESSAGE RED"You also lost "ramlos" by hitting him."
  908.    hitpoints = hitpoints - ramlos
  909.    hitoppo=hitoppo-(hithim+5)
  910.    if hitpoints <= 0 & hitoppo <=0 then signal DRAWFIT
  911.    if hitoppo <= 0 then signal WONFIT
  912.    if hitpoints <= 0 then signal LOSFIT
  913.   end
  914. signal FIGHTSC
  915.  
  916.  
  917. RET:
  918. call STA
  919. CALL MESSAGE " "
  920. CALL MESSAGE RED"YOU RUN!"
  921. if rank = ran1 | rank = ran2 | rank = ran3 then rannum = RANDOM(1,2,Time('s'))
  922. if rank = ran4 | rank = ran5 | rank = ran6 then rannum = RANDOM(1,3,Time('s'))
  923. if rank = ran7 | rank = ran8 | rank = ran9 then rannum = RANDOM(1,4,Time('s'))
  924. if rank = ran10 | rank = ran11 then rannum = RANDOM(1,5,Time('s'))
  925. if rank = ran12 | rank = ran13 | rank = ran14 then rannum = RANDOM(1,6,Time('s'))
  926. if rannum = 1 then do
  927.    CALL MESSAGE " "
  928.    CALL MESSAGE GRE"`I don't think so.' says the "wh"."
  929.    CALL MESSAGE GRE"You can't escape from me right now!"
  930.   end
  931. if rannum = 2 | rannum = 3 | rannum = 4 | rannum = 5 | rannum = 6 then do
  932.    ex = RANDOM(51,122,Time('s'))
  933.    CALL MESSAGE " "
  934.    CALL MESSAGE GRE"You ESCAPED from The Arena!"
  935.    CALL MESSAGE " "
  936.    call delay(110)
  937.    signal MENU
  938.   end
  939. rannum = RANDOM(1,2,Time('s'))
  940. if rannum = 1 then do
  941.    CALL MESSAGE " "
  942.    CALL MESSAGE GRE"The "wh" hits you for "hityou" hitpoints!"
  943.    hitpoints = hitpoints - hityou
  944.    if hitpoints <= 0 then signal LOSFIT
  945.   end
  946. if rannum = 2 then do
  947.    CALL MESSAGE " "
  948.    CALL MESSAGE GRE"The "wh" misses you!"
  949.   end
  950. CALL MESSAGE " "
  951. call delay(20)
  952. signal FIGHTSC
  953.  
  954. WONFIT:
  955. kills = kills + 1
  956. call delay(140)
  957. CALL MESSAGE CLS
  958. CALL MESSAGE RESET"               *               *"
  959. CALL MESSAGE "   *                       "YEL"|"RESET"            *"
  960. CALL MESSAGE "        *      "YEL"\/OU \/\/ON o"
  961. CALL MESSAGE "               /    "RESET"*             *"
  962. CALL MESSAGE " *                      *               *"
  963. CALL MESSAGE " "
  964. CALL MESSAGE RED"  You Won!  "MAG" You Get "WHI"$"monoppo||MAG"!"
  965. money = money + monoppo
  966. call CHECKRANK
  967. call delay(160)
  968. signal MENU
  969.  
  970. LOSFIT:
  971. hitpoints = 0
  972. call delay(130)
  973. CALL MESSAGE CLS
  974. CALL MESSAGE RED"                                   _ ___"
  975. CALL MESSAGE "              \_/ /\ | |    |  /\ /   |  |||"
  976. CALL MESSAGE "               |  \/ |_|    |_ \/ _\  |  ooo"
  977. CALL MESSAGE " "
  978. CALL MESSAGE MAG"         You are the disgrace of The Arena!"
  979. CALL MESSAGE " "
  980. CALL MESSAGE GRE" You have 0 hitpoints."
  981. CALL MESSAGE CYA" Oh well, better luck next time!"
  982. call delay(150)
  983. signal MENU
  984.  
  985. DRAWFIT:
  986. kills = kills + 1
  987. hitpoints = 0
  988. call delay(150)
  989. CALL MESSAGE CLS
  990. CALL MESSAGE " "
  991. CALL MESSAGE RED center("AMAZING!",78)
  992. CALL MESSAGE " "
  993. CALL MESSAGE MAG center("Both of you killed each other with your final blows!",78)
  994. CALL MESSAGE MAG center("You both have 0 hitpoints, you didn't win anything.",78)
  995. CALL MESSAGE " "
  996. call CHECKRANK
  997. call delay(200)
  998. signal MENU
  999.  
  1000. HIGHWAY:
  1001. call EVENER
  1002. CALL MESSAGE CLS
  1003. CALL MESSAGE WHI"   ________ "BLU"____"WHI" _ "BLU"__"WHI" ______ "BLU"_"WHI" _______ "BLU"__"WHI" __________"
  1004. CALL MESSAGE YEL"   ___   ___ "BLU"/"YEL"_"BLU"/_//_"YEL"_  _"BLU"/_///_"YEL"_"BLU"/_//"YEL"_"BLU" //_//_/"YEL"__   ___"
  1005. CALL MESSAGE WHI"   _________"BLU"/"WHI"_"BLU"/"WHI"_"BLU"//__"WHI"___"BLU"/"WHI"_"BLU"///_//"WHI"_"BLU"///|//"WHI"_"BLU"/"WHI"_"BLU"/"WHI"__________"RESET
  1006. CALL MESSAGE " "
  1007. OPTIONS PROMPT CYA"Do you wish to fight another player ("GRE"Y"CYA"/"RED"n"CYA")? "RESET
  1008. PULL ans 
  1009. if checkBBS() then signal BYE
  1010. if ans = "Q" then signal MENU
  1011. if ans = "N" then signal MENU
  1012. CALL MESSAGE " "
  1013. CALL MESSAGE " "
  1014. OPTIONS PROMPT GRE"Enter your opponents name: "RESET
  1015. PULL who 
  1016. if checkBBS() then signal BYE
  1017. if who = "Q" then signal MENU
  1018. if who = "" | who = " " | who = "  " then signal MENU
  1019. if exists(datapath||who'.DAT') then do
  1020.    call open(oppo,datapath||who'.DAT','R')
  1021.    nulla = readln(oppo)
  1022.    maxoppo = readln(oppo)
  1023.    hitoppo = readln(oppo)
  1024.    nullb = readln(oppo)
  1025.    monoppo = readln(oppo)
  1026.    armoppo = readln(oppo)
  1027.    wepoppo = readln(oppo)
  1028.    ranoppo = readln(oppo)
  1029.    nullc = readln(oppo)
  1030.    nulld = readln(oppo)
  1031.    defoppo = readln(oppo)
  1032.    kildoppo = readln(oppo)
  1033.    kiloppo = readln(oppo)
  1034.    nulle = readln(oppo)
  1035.    call close(oppo)
  1036.    wutoppo=(hitoppo+maxoppo)/2
  1037.   end
  1038. else do
  1039.    CALL MESSAGE " "
  1040.    CALL MESSAGE GRE"That yuppie doesn't exist! -- Maybe you mispelled it?"
  1041.    CALL MESSAGE " "
  1042.    call delay(150)
  1043.    signal HIGHWAY
  1044.   end
  1045. signal FIGHT
  1046.  
  1047. FIGHT:
  1048. if defoppo = 1 then do
  1049.    CALL MESSAGE " "
  1050.    CALL MESSAGE RED"   Sorry "handle", but "kildoppo" already killed him!"
  1051.    CALL MESSAGE " "
  1052.    call delay(160)
  1053.    signal MENU
  1054.   end
  1055. canfight = canfight - 1
  1056. CALL MESSAGE CLS
  1057. CALL MESSAGE " "
  1058. if canfight = 0 then do
  1059.    CALL MESSAGE BLU center("Oh.. you are too tired to fight anymore, try",78)
  1060.    CALL MESSAGE BLU center("fighting tomarrow.",78)
  1061.    CALL MESSAGE " "
  1062.    call delay(160)
  1063.    signal MENU
  1064.   end
  1065. call writeln(news,handle' picked a fight with 'who'!')
  1066. CALL MESSAGE center(BLUCYA"   LET'S FIGHT!!!   "RESET,78)
  1067. CALL MESSAGE " "
  1068. CALL MESSAGE MAG"   Ladies and Gentlemen!  Tonight on the highway"
  1069. CALL MESSAGE MAG" we have a fight of all fights!  Between "WHI||handle||MAG","
  1070. CALL MESSAGE MAG" and "WHI||who||MAG".  Let's kick some butt!"
  1071. CALL MESSAGE RED"--------------------------------------------------- "RESET
  1072. CALL MESSAGE BLU"  Stats for"WHI" "who||BLU":"
  1073. CALL MESSAGE BLU"      Hitpoints: "RED||wutoppo
  1074. CALL MESSAGE BLU"           Rank: "RED||ranoppo
  1075. CALL MESSAGE BLU" Lifetime Kills: "RED||kiloppo
  1076. CALL MESSAGE " "
  1077. CALL MESSAGE BLU"  Stats for"WHI" "handle||BLU":"
  1078. CALL MESSAGE BLU"      Hitpoints: "RED||hitpoints
  1079. CALL MESSAGE BLU"           Rank: "RED||rank
  1080. CALL MESSAGE BLU"         Weapon: "RED||weapon
  1081. CALL MESSAGE BLU"        Vehicle: "RED||armor
  1082. CALL MESSAGE BLU" Lifetime Kills: "RED||kills
  1083. CALL MESSAGE " "
  1084. signal FIGHTOPT
  1085.  
  1086. FIGHTOPT:
  1087. CALL MESSAGE " "
  1088. OPTIONS PROMPT CYA"Fight Commands: "BLU"["YEL"A"BLU"] "WHI"Attack, "BLU"["YEL"R"BLU"] "WHI"Retreat, "BLU"["YEL"H"BLU"]"WHI" Hit his vehicle"BLU"> "RESET
  1089. PULL opt 
  1090. if checkBBS() then signal BYE
  1091. if opt = "A" then signal ATTACK
  1092. if opt = "R" then signal RETREAT
  1093. if opt = "H" then signal RAMHIM
  1094. if opt = "Q" then signal RETREAT
  1095. signal FIGHTOPT
  1096.  
  1097.   /* If anyone finds a way to make this routine shorter let me know! */
  1098.  /* But if you change it without me knowing I'll be looking for you. */
  1099.  
  1100. STA:
  1101. if armoppo = arm1 then ar = RANDOM(0,2,Time('s'))
  1102. if armoppo = arm2 then ar = RANDOM(0,3,Time('s'))
  1103. if armoppo = arm3 then ar = RANDOM(0,4,Time('s'))
  1104. if armoppo = arm4 then ar = RANDOM(0,5,Time('s'))
  1105. if armoppo = arm5 then ar = RANDOM(0,6,Time('s'))
  1106. if armoppo = arm6 then ar = RANDOM(0,7,Time('s'))
  1107. if armoppo = arm7 then ar = RANDOM(0,8,Time('s'))
  1108. if armoppo = arm8 then ar = RANDOM(0,9,Time('s'))
  1109. if armoppo = arm9 then ar = RANDOM(1,10,Time('s'))
  1110. if armoppo = arm10 then ar = RANDOM(2,11,Time('s'))
  1111. if armoppo = arm11 then ar = RANDOM(3,12,Time('s'))
  1112. if armoppo = arm12 then ar = RANDOM(4,13,Time('s'))
  1113. if armoppo = arm13 then ar = RANDOM(5,14,Time('s'))
  1114. if armoppo = arm14 then ar = RANDOM(6,15,Time('s'))
  1115. if armor = arm1 then as = RANDOM(0,2,Time('s'))
  1116. if armor = arm2 then as = RANDOM(0,3,Time('s'))
  1117. if armor = arm3 then as = RANDOM(0,4,Time('s'))
  1118. if armor = arm4 then as = RANDOM(0,5,Time('s'))
  1119. if armor = arm5 then as = RANDOM(0,6,Time('s'))
  1120. if armor = arm6 then as = RANDOM(0,7,Time('s'))
  1121. if armor = arm7 then as = RANDOM(0,8,Time('s'))
  1122. if armor = arm8 then as = RANDOM(1,9,Time('s'))
  1123. if armor = arm9 then as = RANDOM(2,10,Time('s'))
  1124. if armor = arm10 then as = RANDOM(3,11,Time('s'))
  1125. if armor = arm11 then as = RANDOM(4,12,Time('s'))
  1126. if armor = arm12 then as = RANDOM(5,13,Time('s'))
  1127. if armor = arm13 then as = RANDOM(6,14,Time('s'))
  1128. if armor = arm14 then as = RANDOM(7,15,Time('s'))
  1129. if wepoppo = wep1 then wr = RANDOM(2,4,Time('s'))
  1130. if wepoppo = wep2 then wr = RANDOM(3,5,Time('s'))
  1131. if wepoppo = wep3 then wr = RANDOM(4,6,Time('s'))
  1132. if wepoppo = wep4 then wr = RANDOM(5,7,Time('s'))
  1133. if wepoppo = wep5 then wr = RANDOM(6,8,Time('s'))
  1134. if wepoppo = wep6 then wr = RANDOM(7,9,Time('s'))
  1135. if wepoppo = wep7 then wr = RANDOM(8,10,Time('s'))
  1136. if wepoppo = wep8 then wr = RANDOM(9,11,Time('s'))
  1137. if wepoppo = wep9 then wr = RANDOM(10,12,Time('s'))
  1138. if wepoppo = wep10 then wr = RANDOM(11,13,Time('s'))
  1139. if wepoppo = wep11 then wr = RANDOM(12,14,Time('s'))
  1140. if wepoppo = wep12 then wr = RANDOM(13,15,Time('s'))
  1141. if wepoppo = wep13 then wr = RANDOM(14,16,Time('s'))
  1142. if wepoppo = wep14 then wr = RANDOM(15,17,Time('s'))
  1143. if weapon = wep1 then ws = RANDOM(2,4,Time('s'))
  1144. if weapon = wep2 then ws = RANDOM(3,5,Time('s'))
  1145. if weapon = wep3 then ws = RANDOM(4,6,Time('s'))
  1146. if weapon = wep4 then ws = RANDOM(5,7,Time('s'))
  1147. if weapon = wep5 then ws = RANDOM(6,8,Time('s'))
  1148. if weapon = wep6 then ws = RANDOM(7,9,Time('s'))
  1149. if weapon = wep7 then ws = RANDOM(8,10,Time('s'))
  1150. if weapon = wep8 then ws = RANDOM(9,11,Time('s'))
  1151. if weapon = wep9 then ws = RANDOM(10,12,Time('s'))
  1152. if weapon = wep10 then ws = RANDOM(11,13,Time('s'))
  1153. if weapon = wep11 then ws = RANDOM(12,14,Time('s'))
  1154. if weapon = wep12 then ws = RANDOM(13,15,Time('s'))
  1155. if weapon = wep13 then ws = RANDOM(14,16,Time('s'))
  1156. if weapon = wep14 then ws = RANDOM(15,17,Time('s'))
  1157. ramlos = RANDOM(2,7,Time('s'))
  1158. hithim = ws - ar
  1159. if hithim < 0 then hithim = 0
  1160. hityou = wr - as
  1161. if hityou < 0 then hityou = 0
  1162. CALL MESSAGE " "
  1163. return
  1164.  
  1165. ATTACK:
  1166. call STA
  1167. rannum = RANDOM(1,2,Time('s'))
  1168. if rannum = 1 then do
  1169.    CALL MESSAGE " "
  1170.    CALL MESSAGE RED"You hit "WHI||who||RED" for "hithim" hitpoints!"
  1171.    wutoppo = wutoppo - hithim
  1172.    if wutoppo <= 0 then signal WONFIGHT
  1173.    ransum = RANDOM(1,4,Time('s'))
  1174.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  1175.       CALL MESSAGE " "
  1176.       CALL MESSAGE WHI||who||GRE" hit you for "hityou" hitpoints!"
  1177.       hitpoints = hitpoints - hityou
  1178.       if hitpoints <= 0 then signal LOSTFIGHT
  1179.      end
  1180.    if ransum = 4 then do
  1181.       CALL MESSAGE " "
  1182.       CALL MESSAGE WHI||who||GRE" rammed your "armor" and"
  1183.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  1184.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  1185.       hitpoints=hitpoints-(hityou+5)
  1186.       wutoppo = wutoppo - ramlos
  1187.       if hitpoints <= 0 & wutoppo <= 0 then signal DRAWFIGHT
  1188.       if hitpoints <= 0 then signal LOSTFIGHT
  1189.       if wutoppo <= 0 then signal WONFIGHT
  1190.      end
  1191.   end
  1192. if rannum = 2 then do
  1193.    ransum = RANDOM(1,4,Time('s'))
  1194.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  1195.       CALL MESSAGE " "
  1196.       CALL MESSAGE WHI||who||GRE" hit you for "hityou" hitpoints!"
  1197.       hitpoints = hitpoints - hityou
  1198.       if hitpoints <= 0 then signal LOSTFIGHT
  1199.      end
  1200.    if ransum = 4 then do
  1201.       CALL MESSAGE " "
  1202.       CALL MESSAGE WHI||who||GRE" rammed your "armor" and"
  1203.       CALL MESSAGE GRE"hit you for "hityou+5" hitpoints!"
  1204.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  1205.       hitpoints=hitpoints-(hityou+5)
  1206.       wutoppo = wutoppo - ramlos
  1207.       if hitpoints <= 0 & wutoppo <= 0 then signal DRAWFIGHT
  1208.       if hitpoints <= 0 then signal LOSTFIGHT
  1209.       if wutoppo <= 0 then signal WONFIGHT
  1210.      end
  1211.    CALL MESSAGE " "
  1212.    CALL MESSAGE RED"You hit "WHI||who||RED" for "hithim" hitpoints!"
  1213.    wutoppo = wutoppo - hithim
  1214.    if wutoppo <= 0 then signal WONFIGHT
  1215.   end
  1216. signal FIGHTOPT
  1217.  
  1218. RAMHIM:
  1219. call STA
  1220. rannum = RANDOM(1,2,Time('s'))
  1221. if rannum = 1 then do
  1222.    CALL MESSAGE " "
  1223.    CALL MESSAGE RED"You rammed "WHI||who"'S"RED" "armoppo
  1224.    CALL MESSAGE RED"and hit him for "hithim+5" hitpoints!"
  1225.    CALL MESSAGE RED"You also lost "ramlos" by hitting him."
  1226.    hitpoints = hitpoints - ramlos
  1227.    wutoppo=wutoppo-(hithim+5)
  1228.    if hitpoints <= 0 & wutoppo <=0 then signal DRAWFIGHT
  1229.    if wutoppo <= 0 then signal WONFIGHT
  1230.    if hitpoints <= 0 then signal LOSTFIGHT
  1231.    ransum = RANDOM(1,4,Time('s'))
  1232.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  1233.       CALL MESSAGE " "
  1234.       CALL MESSAGE WHI||who||GRE" hit you for "hityou" hitpoints!"
  1235.       hitpoints = hitpoints - hityou
  1236.       if hitpoints <= 0 then signal LOSTFIGHT
  1237.      end
  1238.    if ransum = 4 then do
  1239.       CALL MESSAGE " "
  1240.       CALL MESSAGE WHI||who||GRE" rammed your "armor
  1241.       CALL MESSAGE GRE"and hit you for "hityou+5" hitpoints!"
  1242.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  1243.       hitpoints=hitpoints-(hityou+5)
  1244.       wutoppo = wutoppo - ramlos
  1245.       if hitpoints <= 0 & wutoppo <= 0 then signal DRAWFIGHT
  1246.       if hitpoints <= 0 then signal LOSTFIGHT
  1247.       if wutoppo <= 0 then signal WONFIGHT
  1248.      end
  1249.   end
  1250. if rannum = 2 then do
  1251.    ransum = RANDOM(1,4,Time('s'))
  1252.    if ransum = 1 | ransum = 2 | ransum = 3 then do
  1253.       CALL MESSAGE WHI||who||GRE" hit you for "hityou" hitpoints!"
  1254.       hitpoints = hitpoints - hityou
  1255.       if hitpoints <= 0 then signal LOSTFIGHT
  1256.      end
  1257.    if ransum = 4 then do
  1258.       CALL MESSAGE " "
  1259.       CALL MESSAGE WHI||who||GRE" rammed your "armor
  1260.       CALL MESSAGE GRE"and hit you for "hityou+5" hitpoints!"
  1261.       CALL MESSAGE GRE"He also lost "ramlos" by hitting you."
  1262.       hitpoints=hitpoints-(hityou+5)
  1263.       wutoppo = wutoppo - ramlos
  1264.       if hitpoints <= 0 & wutoppo <= 0 then signal DRAWFIGHT
  1265.       if hitpoints <= 0 then signal LOSTFIGHT
  1266.       if wutoppo <= 0 then signal WONFIGHT
  1267.      end
  1268.    CALL MESSAGE " "
  1269.    CALL MESSAGE RED"You rammed "WHI||who"'S"RED" "armoppo
  1270.    CALL MESSAGE RED"and hit him for "hithim+5" hitpoints!"
  1271.    CALL MESSAGE RED"You also lost "ramlos" by hitting him."
  1272.    hitpoints = hitpoints - ramlos
  1273.    wutoppo=wutoppo-(hithim+5)
  1274.    if hitpoints <= 0 & wutoppo <=0 then signal DRAWFIGHT
  1275.    if wutoppo <= 0 then signal WONFIGHT
  1276.    if hitpoints <= 0 then signal LOSTFIGHT
  1277.   end
  1278. signal FIGHTOPT
  1279.  
  1280. CHEATIT:
  1281. CALL MESSAGE CLS
  1282. CALL MESSAGE " "
  1283. CALL MESSAGE CYA" Hi Dave, What do you feel like doing today? "
  1284. CALL MESSAGE " "
  1285. CALL MESSAGE center("          "WHIGRE"   Supreme Being Cheat Menu   "RESET" ",78)
  1286. CALL MESSAGE " "
  1287. CALL MESSAGE RED center("[A] Raise Weapon 1 Level  ",78)
  1288. CALL MESSAGE WHI center("[B] Raise Vehicle 1 Level ",78)
  1289. CALL MESSAGE BLU center("[C] Raise Rank 1 Level    ",78)
  1290. CALL MESSAGE RED center("[D] Delete A Player!      ",78)
  1291. CALL MESSAGE BLU center("[E] QUIT                  ",78)
  1292. CALL MESSAGE " "
  1293. OPTIONS PROMPT CYA"Oh great one, what is your command?"BLU"> "RESET
  1294. PULL ans 
  1295. if checkBBS() then signal BYE
  1296. if ans = "E" then signal MENU
  1297. if ans = "A" then do
  1298. if weapon = wep13 then weapon = wep14
  1299. if weapon = wep12 then weapon = wep13
  1300. if weapon = wep11 then weapon = wep12
  1301. if weapon = wep10 then weapon = wep11
  1302. if weapon = wep9 then weapon = wep10
  1303. if weapon = wep8 then weapon = wep9
  1304. if weapon = wep7 then weapon = wep8
  1305. if weapon = wep6 then weapon = wep7
  1306. if weapon = wep5 then weapon = wep6
  1307. if weapon = wep4 then weapon = wep5
  1308. if weapon = wep3 then weapon = wep4
  1309. if weapon = wep2 then weapon = wep3
  1310. if weapon = wep1 then weapon = wep2
  1311. CALL MESSAGE CLS
  1312. CALL MESSAGE " "
  1313. CALL MESSAGE RED center("Weapon Changed To A "WHI||weapon||RED"!",78)
  1314. CALL MESSAGE " "
  1315. call delay(120)
  1316. signal CHEATIT
  1317. end
  1318. if ans = "B" then do
  1319. if armor = arm13 then armor = arm14
  1320. if armor = arm12 then armor = arm13
  1321. if armor = arm11 then armor = arm12
  1322. if armor = arm10 then armor = arm11
  1323. if armor = arm9 then armor = arm10
  1324. if armor = arm8 then armor = arm9
  1325. if armor = arm7 then armor = arm8
  1326. if armor = arm6 then armor = arm7
  1327. if armor = arm5 then armor = arm6
  1328. if armor = arm4 then armor = arm5
  1329. if armor = arm3 then armor = arm4
  1330. if armor = arm2 then armor = arm3
  1331. if armor = arm1 then armor = arm2
  1332. CALL MESSAGE CLS
  1333. CALL MESSAGE " "
  1334. CALL MESSAGE RED center("Armor Raised To "WHI||armor||RED"!",78)
  1335. CALL MESSAGE " "
  1336. call delay(120)
  1337. signal CHEATIT
  1338. end
  1339. if ans = "C" then do
  1340. kills = 900
  1341. call CHECKRANK
  1342. CALL MESSAGE CLS
  1343. CALL MESSAGE " "
  1344. CALL MESSAGE RED center("Rank Raised To "WHI||rank||RED"!",78)
  1345. CALL MESSAGE " "
  1346. call delay(120)
  1347. signal CHEATIT
  1348. end
  1349. if ans = "D" then do
  1350. CALL MESSAGE " "
  1351. CALL NOCR GRE"Enter name of player to delete:"RESET' '
  1352. PULL ss 
  1353. if checkBBS() then signal BYE
  1354. if exists(datapath||ss) then do
  1355.    CALL MESSAGE " "
  1356.    OPTIONS PROMPT CYA"Delete "WHI||ss||CYA" ("GRE"y"CYA"/"RED"N"CYA")? "RESET
  1357.    PULL st 
  1358.    if checkBBS() then signal BYE
  1359.    if st = "Y" then do
  1360.       call Delete(datapath||ss'.DAT')
  1361.       CALL MESSAGE " "
  1362.       CALL MESSAGE RED"Deleted..."
  1363.       howm = howm - 1
  1364.       call delay(100)
  1365.    end
  1366. end
  1367. if ~exists(datapath||ss'.DAT') then do
  1368.    CALL MESSAGE " "
  1369.    CALL MESSAGE RED ss" doesn't exist!"RESET
  1370.    CALL MESSAGE " "
  1371.    call delay(120)
  1372.    signal CHEATIT
  1373. end
  1374. signal CHEATIT
  1375. end
  1376. signal CHEATIT
  1377.  
  1378. RETREAT:
  1379. call STA
  1380. CALL MESSAGE " "
  1381. CALL MESSAGE RED"YOU RUN!"
  1382. if rank = ran1 | rank = ran2 | rank = ran3 then rannum = RANDOM(1,2,Time('s'))
  1383. if rank = ran4 | rank = ran5 | rank = ran6 then rannum = RANDOM(1,3,Time('s'))
  1384. if rank = ran7 | rank = ran8 | rank = ran9 then rannum = RANDOM(1,4,Time('s'))
  1385. if rank = ran10 | rank = ran11 then rannum = RANDOM(1,5,Time('s'))
  1386. if rank = ran12 | rank = ran13 | rank = ran14 then rannum = RANDOM(1,6,Time('s'))
  1387. if rannum = 1 then do
  1388.    CALL MESSAGE " "
  1389.    CALL MESSAGE GRE"`I don't think so.' says "WHI||who||GRE"."
  1390.    CALL MESSAGE GRE"You can't escape me right now!"
  1391.   end
  1392. if rannum = 2 | rannum = 3 | rannum = 4 | rannum = 5 | rannum = 6 then do
  1393.    ex = RANDOM(51,122,Time('s'))
  1394.    CALL MESSAGE " "
  1395.    CALL MESSAGE GRE"You ESCAPED off of exit "ex"!"
  1396.    CALL MESSAGE " "
  1397.    call writeln(news,handle' ran away from 'who'!')
  1398.    call delay(110)
  1399.    signal MENU
  1400.   end
  1401. rannum = RANDOM(1,2,Time('s'))
  1402. if rannum = 1 then do
  1403.    CALL MESSAGE " "
  1404.    CALL MESSAGE WHI||who||GRE" hits you for "hityou" hitpoints!"
  1405.    hitpoints = hitpoints - hityou
  1406.    if hitpoints <= 0 then signal LOSTFIGHT
  1407.   end
  1408. if rannum = 2 then do
  1409.    CALL MESSAGE " "
  1410.    CALL MESSAGE WHI||who||GRE" misses you!"
  1411.   end
  1412. CALL MESSAGE " "
  1413. call delay(20)
  1414. signal FIGHTOPT
  1415.  
  1416. WONFIGHT:
  1417. defoppo = 1
  1418. wutoppo = 0
  1419. kills = kills + 1
  1420. call delay(110)
  1421. CALL MESSAGE CLS
  1422. CALL MESSAGE RESET"               *               *"
  1423. CALL MESSAGE "   *                       "YEL"|"RESET"            *"
  1424. CALL MESSAGE "        *      "YEL"\/OU \/\/ON o"
  1425. CALL MESSAGE "               /    "RESET"*             *"
  1426. CALL MESSAGE " *                      *               *"
  1427. CALL MESSAGE " "
  1428. CALL MESSAGE RED"  You Won!  "MAG" You Get "WHI"$"monoppo/2||MAG"!"
  1429. call writeln(news,handle' beat 'who' on the highway!')
  1430. money = money + monoppo/2
  1431. monoppo = monoppo/2
  1432. call CHECKRANK
  1433. call SAVEOPPO
  1434. call EVENER
  1435. call delay(110)
  1436. signal MENU
  1437.  
  1438. SAVEOPPO:
  1439. call open(oppo,datapath||who'.DAT','W')
  1440.    call writeln(oppo,nulla)
  1441.    call writeln(oppo,maxoppo)
  1442.    call writeln(oppo,wutoppo)
  1443.    call writeln(oppo,nullb)
  1444.    call writeln(oppo,monoppo)
  1445.    call writeln(oppo,armoppo)
  1446.    call writeln(oppo,wepoppo)
  1447.    call writeln(oppo,ranoppo)
  1448.    call writeln(oppo,nullc)
  1449.    call writeln(oppo,nulld)
  1450.    call writeln(oppo,defoppo)
  1451.    call writeln(oppo,handle)
  1452.    call writeln(oppo,kiloppo)
  1453.    call writeln(oppo,nulle)
  1454.    call close(oppo)
  1455. call delay(200)
  1456. return
  1457.  
  1458. LOSTFIGHT:
  1459. kiloppo = kiloppo + 1
  1460. hitpoints = 0
  1461. call delay(150)
  1462. CALL MESSAGE CLS
  1463. CALL MESSAGE RED"                                   _ ___"
  1464. CALL MESSAGE "              \_/ /\ | |    |  /\ /   |  |||"
  1465. CALL MESSAGE "               |  \/ |_|    |_ \/ _\  |  ooo"
  1466. CALL MESSAGE " "
  1467. CALL MESSAGE MAG"   Serves ya right for thinking you were top yuppie!"
  1468. CALL MESSAGE " "
  1469. call writeln(news,handle' got his butt kicked by 'who'!')
  1470. money = money/2
  1471. monoppo = monoppo + money/2
  1472. CALL MESSAGE GRE" You lost "WHI"$"money/2||GRE"."
  1473. CALL MESSAGE GRE" You have 0 hitpoints."
  1474. CALL MESSAGE CYA" Oh well, better luck next time!"
  1475. call SAVEOPPO
  1476. call EVENER
  1477. signal MENU
  1478.  
  1479. DRAWFIGHT:
  1480. kills = kills + 1
  1481. kiloppo = kiloppo + 1
  1482. hitpoints = 0
  1483. wutoppo = 0
  1484. defoppo = 1
  1485. call delay(150)
  1486. CALL MESSAGE CLS
  1487. CALL MESSAGE " "
  1488. CALL MESSAGE RED center("AMAZING!",78)
  1489. CALL MESSAGE " "
  1490. CALL MESSAGE MAG center("Both of you killed each other with your final blows!",78)
  1491. CALL MESSAGE MAG center("You both have 0 hitpoints, you kept your money.",78)
  1492. CALL MESSAGE " "
  1493. call writeln(news,handle' and 'who' killed each other!')
  1494. call CHECKRANK
  1495. call SAVEOPPO
  1496. call delay(110)
  1497. signal MENU
  1498.  
  1499. TOP:
  1500. CALL MESSAGE " "
  1501. CALL MESSAGE RED"One Moment, Calculating High Scores..."
  1502. call POINTCK
  1503. turnsleft = turnsleft + 1
  1504. call HICK
  1505. call SHOWIT
  1506. signal MENU
  1507.  
  1508. HICK:
  1509. call open(top10,datapath'TopOnes','R')
  1510. topalias.1 = handle
  1511. topscore.1 = points
  1512. do i = 2 to 11
  1513.    tops = readln(top10)
  1514.    topalias.i = delword(tops,1,1)
  1515.    topscore.i = word(tops,1)
  1516.    if topalias.1 = topalias.i then topscore.i = -1
  1517. end
  1518. call close(top10)
  1519. do i = 1 to 10
  1520.    do h = i + 1 to 11
  1521.       if topscore.i < topscore.h then do
  1522.          temp = topscore.i
  1523.          topscore.i = topscore.h
  1524.          topscore.h = temp
  1525.          tempor = topalias.i
  1526.          topalias.i = topalias.h
  1527.          topalias.h = tempor
  1528.       end
  1529.    end
  1530. end
  1531. return
  1532.  
  1533. SHOWIT:
  1534. CALL MESSAGE CLS
  1535. CALL MESSAGE " "
  1536. CALL MESSAGE center("       "BLUCYA"   Top 10 Yuppies   "RESET,78)
  1537. CALL MESSAGE BLU center("--------------------------------------------",73)RESET
  1538. CALL MESSAGE " "
  1539. call open(top10,datapath'TopOnes','W')
  1540. do i = 1 to 10
  1541.    CALL NOCR CYA right(topalias.i,34,' ')
  1542.    CALL MESSAGE MAG ' ' topscore.i
  1543.    call writeln(top10,topscore.i' 'topalias.i)
  1544. end
  1545. call close(top10)
  1546. do i = 1 to Lines - 18
  1547.    CALL MESSAGE ''
  1548. end
  1549. OPTIONS PROMPT RESET"Press "RED"RETURN"WHI" when finished: "RESET
  1550. PULL junk
  1551. if checkBBS() then signal BYE
  1552. signal MENU
  1553.  
  1554. TRIP:
  1555. call EVENER
  1556. randm = RANDOM(1,3,Time('s'))
  1557. rna = RANDOM(1,6,Time('s'))
  1558. CALL MESSAGE CLS
  1559. CALL MESSAGE " "
  1560. CALL MESSAGE center("             "BLUCYA"   First of the Last Travel Agency   "RESET,78)
  1561. CALL MESSAGE " "
  1562. CALL MESSAGE CYA center("Today's places to travel",78)
  1563. CALL MESSAGE BLU center("--------------------------",78)
  1564. if randm = 1 then CALL MESSAGE WHI center("A. Washington D.C.   ",78)
  1565. if randm = 2 then CALL MESSAGE WHI center("A. Wall Street - NY  ",78)
  1566. if randm = 3 then CALL MESSAGE WHI center("A. Outer Mongolia    ",78)
  1567. if randm = 1 then CALL MESSAGE WHI center("B. Peru              ",78)
  1568. if randm = 2 then CALL MESSAGE WHI center("B. Peru              ",78)
  1569. if randm = 3 then CALL MESSAGE WHI center("B. England           ",78)
  1570. if randm = 1 then CALL MESSAGE WHI center("C. Germany           ",78)
  1571. if randm = 2 then CALL MESSAGE WHI center("C. Switzerland       ",78)
  1572. if randm = 3 then CALL MESSAGE WHI center("C. Niagra Falls - NY ",78)
  1573. if randm = 1 then CALL MESSAGE WHI center("D. Verona, Italy     ",78)
  1574. if randm = 2 then CALL MESSAGE WHI center("D. Athens, Greece    ",78)
  1575. if randm = 3 then CALL MESSAGE WHI center("D. Disney World      ",78)
  1576. CALL MESSAGE " "RESET
  1577. OPTIONS PROMPT CYA"Where do you want to travel?  "BLU"["YEL"Q"BLU"]"CYA" Quits:"BLU"> "RESET
  1578. PULL trav 
  1579. if checkBBS() then signal BYE
  1580. if trav = "Q" then signal MENU
  1581. if randm = 1 & trav = "A" then signal WASHINGTON
  1582. if randm = 1 & trav = "B" then signal PERU
  1583. if randm = 1 & trav = "C" then signal GERMANY
  1584. if randm = 1 & trav = "D" then signal VERONA
  1585. if randm = 2 & trav = "A" then signal WALLSTREET
  1586. if randm = 2 & trav = "B" then signal PERU
  1587. if randm = 2 & trav = "C" then signal SWITZERLAND
  1588. if randm = 2 & trav = "D" then signal ATHENS
  1589. if randm = 3 & trav = "A" then signal MONGOLIA
  1590. if randm = 3 & trav = "B" then signal ENGLAND
  1591. if randm = 3 & trav = "C" then signal NIAGARA
  1592. if randm = 3 & trav = "D" then signal DISNEY
  1593. signal TRIP
  1594.  
  1595. WASHINGTON:
  1596. price = 9000
  1597. CALL MESSAGE CLS
  1598. CALL MESSAGE center(BLUCYA"   Going to Washington D.C.   "RESET,78)
  1599. CALL MESSAGE " "
  1600. CALL MESSAGE "   Washington D.C. is the political gut of our nation.  All the"
  1601. CALL MESSAGE " largest decisions are made here that effect our lives greatly."
  1602. CALL MESSAGE " (And hopefully our president has nothing to do with them.)"
  1603. CALL MESSAGE " "
  1604. call GOING
  1605. CALL MESSAGE RED"Arrived in Washington D.C."
  1606. call delay(80)
  1607. CALL MESSAGE " "
  1608. rannum = RANDOM(1,5,Time('s'))
  1609. if rannum = 1 then do
  1610.    CALL MESSAGE CYA"In Washington D.C. you meet the"
  1611.    CALL MESSAGE CYA"president and get a loan from him!"
  1612.    CALL MESSAGE YEL"You get $30000!"
  1613.    CALL MESSAGE BLU"There's nothing like living off of"
  1614.    CALL MESSAGE BLU"honest taxpayers' money, eh?"
  1615.    money = money + 30000
  1616.   end
  1617. if rannum = 2 then do
  1618.    CALL MESSAGE CYA"Lean too far out of the Washington"
  1619.    CALL MESSAGE CYA"Monument and fall!"
  1620.    CALL MESSAGE YEL"You lose 20 hitpoints."
  1621.    if hitpoints < 20 then hitpoints = 0
  1622.    if hitpoints >= 20 then hitpoints = hitpoints - 20
  1623.   end
  1624. if rannum = 3 then do
  1625.    CALL MESSAGE CYA"Get appointed a supreme court judge!"
  1626.    CALL MESSAGE YEL"You earn $20000!"
  1627.    money = money + 20000
  1628.   end
  1629. if rannum = 4 then do
  1630.    CALL MESSAGE CYA"Get locked in a taxi from hell!"
  1631.    CALL MESSAGE CYA"Tour the entire city 800 times over."
  1632.    CALL MESSAGE YEL"Lose $15000 cab fair."
  1633.    if money < 15000 then money = 0
  1634.    if money >= 15000 then money = money - 15000
  1635.   end
  1636. if rannum = 5 then do
  1637.    CALL MESSAGE CYA"Read the constitution and feel"
  1638.    CALL MESSAGE CYA"intellectually enlightened!"
  1639.    CALL MESSAGE YEL"Recieve 40 hitpoints."
  1640.    if maxpoints >= 40 then hitpoints = hitpoints + 40
  1641.    if maxpoints < 40 then hitpoints = maxpoints
  1642.   end
  1643. signal RATRACE
  1644.  
  1645. RATRACE:
  1646. call delay(100)
  1647. CALL MESSAGE " "
  1648. OPTIONS PROMPT RESET"Press "RED"RETURN"WHI" when finished: "RESET
  1649. PULL junk
  1650. if checkBBS() then signal BYE
  1651. CALL MESSAGE " "
  1652. CALL MESSAGE GRE"Well, it's been fun but you gotta"
  1653. CALL MESSAGE GRE"get back into the rat race!"
  1654. CALL MESSAGE " "RESET
  1655. call delay(120)
  1656. signal MENU
  1657.  
  1658. PERU:
  1659. price = 7000
  1660. CALL MESSAGE CLS
  1661. CALL MESSAGE center(BLUCYA"   Going to Peru   "RESET,78)
  1662. CALL MESSAGE " "
  1663. CALL MESSAGE "   Peru is a land of beauty and mystery, just beware, it's a"
  1664. CALL MESSAGE " jungle out there!"
  1665. CALL MESSAGE " "
  1666. call GOING
  1667. CALL MESSAGE RED"Arrived in Peru."
  1668. call delay(80)
  1669. CALL MESSAGE " "
  1670. rannum = RANDOM(1,5,Time('s'))
  1671. if rannum = 1 then do
  1672.    CALL MESSAGE CYA"Learn ancient healing spells from"
  1673.    CALL MESSAGE CYA"old scrolls..."
  1674.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints!"
  1675.    hitpoints = maxpoints
  1676.   end
  1677. if rannum = 2 then do
  1678.    CALL MESSAGE CYA"Fall off of cliff!"
  1679.    CALL MESSAGE YEL"Lost 30 hitpoints."
  1680.    if hitpoints < 30 then hitpoints = 0
  1681.    if hitpoints >= 30 then hitpoints = hitpoints - 30
  1682.   end
  1683. if rannum = 3 then do
  1684.    CALL MESSAGE CYA"Discover gold in an ancient tomb!"
  1685.    CALL MESSAGE YEL"Gain $50000!"
  1686.    money = money + 50000
  1687.   end
  1688. if rannum = 4 then do
  1689.    CALL MESSAGE CYA"Get bitten by a snake and go to the"
  1690.    CALL MESSAGE CYA"witch doctor!"
  1691.    CALL MESSAGE YEL"He charges you $10000 for services."
  1692.    if money < 10000 then money = 0
  1693.    if money >= 10000 then money = money - 10000
  1694.   end
  1695. if rannum = 5 then do
  1696.    CALL MESSAGE CYA"Learn to dine CANNIBAL style!"
  1697.    CALL MESSAGE YEL"Gain 40 hitpoints!"
  1698.    if maxpoints >= 40 then hitpoints = hitpoints + 40
  1699.    if maxpoints < 40 then hitpoints = maxpoints
  1700.   end
  1701. CALL MESSAGE " "
  1702. signal RATRACE
  1703.  
  1704. GERMANY:
  1705. price = 10000
  1706. CALL MESSAGE CLS
  1707. CALL MESSAGE center(BLUCYA"   Going to Germany   "RESET,78)
  1708. CALL MESSAGE " "
  1709. CALL MESSAGE "   Ah Germany, good ol' Deutschland.  Home to many beers and"
  1710. CALL MESSAGE " bratwursts, a country of great prosperity risen out of the ashes"
  1711. CALL MESSAGE " of World War II.  (Not to mention it is great for partying!)"
  1712. CALL MESSAGE " "
  1713. call GOING
  1714. CALL MESSAGE RED"Arrived in Germany."
  1715. call delay(80)
  1716. CALL MESSAGE " "
  1717. rannum = RANDOM(1,5,Time('s'))
  1718. if rannum = 1 then do
  1719.    CALL MESSAGE CYA"Win a German Bratwurst eating contest!"
  1720.    CALL MESSAGE YEL"Win $30000 and a Volkswagen!"
  1721.    money = money + 30000
  1722.    if armor = arm1 | armor = arm2 | armor = arm3 | armor = arm4 | armor = arm5 | armor = arm6 | armor = arm7 | armor = arm8 then armor = arm9
  1723.   end
  1724. if rannum = 2 then do
  1725.    CALL MESSAGE CYA"Party too much and have a hangover the"
  1726.    CALL MESSAGE CYA"size of Africa!"
  1727.    CALL MESSAGE YEL"Lose 20 hitpoints."
  1728.    if hitpoints < 20 then hitpoints = 0
  1729.    if hitpoints >= 20 then hitpoints = hitpoints - 20
  1730.   end
  1731. if rannum = 3 then do
  1732.    CALL MESSAGE CYA"Total your vehicle on the autobahn!"
  1733.    CALL MESSAGE YEL"Lose $25000 for repairs."
  1734.    if money < 25000 then money = 0
  1735.    if money >= 25000 then money = money - 25000
  1736.   end
  1737. if rannum = 4 then do
  1738.    CALL MESSAGE CYA"Recieve a vitamin mixture from the"
  1739.    CALL MESSAGE CYA"local Apothecary!"
  1740.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints!"
  1741.    hitpoints = maxpoints
  1742.   end
  1743. if rannum = 5 then do
  1744.    CALL MESSAGE CYA"Get caught on the cirle drives for"
  1745.    CALL MESSAGE CYA"three days!"
  1746.    CALL MESSAGE YEL"Lose $1000 for gas."
  1747.    if money < 1000 then money = 0
  1748.    if money >= 1000 then money = money - 1000
  1749.   end
  1750. CALL MESSAGE " "
  1751. signal RATRACE
  1752.  
  1753. VERONA:
  1754. price = 4000
  1755. CALL MESSAGE CLS
  1756. CALL MESSAGE center(BLUCYA"   Going to Verona, Italy   "RESET,78)
  1757. CALL MESSAGE " "
  1758. CALL MESSAGE "   Verona, Italy -- the host city to the immortal love story of"
  1759. CALL MESSAGE " Shakespeare's Romeo and Juliet, truly the greatest love story"
  1760. CALL MESSAGE " ever written...  (although a bit cryptic!)"
  1761. CALL MESSAGE " "
  1762. call GOING
  1763. CALL MESSAGE RED"Arrived in Verona, Italy."
  1764. call delay(80)
  1765. CALL MESSAGE " "
  1766. rannum = RANDOM(1,4,Time('s'))
  1767. if rannum = 1 then do
  1768.    CALL MESSAGE CYA"See a play done of Romeo and Juliet!"
  1769.    CALL MESSAGE YEL"Pay $4000 to see it."
  1770.    if money < 4000 then money = 0
  1771.    if money >= 4000 then money = money - 4000
  1772.   end
  1773. if rannum = 2 then do
  1774.    CALL MESSAGE CYA"Visit the Capulet's Tomb and get"
  1775.    CALL MESSAGE CYA"trapped for a week!"
  1776.    CALL MESSAGE YEL"Lose 40 hitpoints!"
  1777.    if hitpoints < 40 then hitpoints = 0
  1778.    if hitpoints >= 40 then hitpoints = hitpoints - 40
  1779.   end
  1780. if rannum = 3 then do
  1781.    CALL MESSAGE CYA"Some people think you look just like"
  1782.    CALL MESSAGE CYA"Romeo! (Which is odd if you are a woman.)"
  1783.    CALL MESSAGE YEL"Recieve in gifts $18000!"
  1784.    money = money + 18000
  1785.   end
  1786. if rannum = 4 then do
  1787.    CALL MESSAGE CYA"Some people think you look just like"
  1788.    CALL MESSAGE CYA"Juliet! (Whick is odd if you are a man.)"
  1789.    CALL MESSAGE YEL"Recieve in gifts $19000!"
  1790.    money = money + 19000
  1791.   end
  1792. signal RATRACE
  1793.  
  1794. WALLSTREET:
  1795. price = 12500
  1796. CALL MESSAGE CLS
  1797. CALL MESSAGE center(BLUCYA"   Going to Wall Street!   "RESET,78)
  1798. CALL MESSAGE " "
  1799. CALL MESSAGE "   Wall Street, where money is made and fortunes are lost.  Where"
  1800. CALL MESSAGE " great men are made and greedy men are broken.  This crazy place"
  1801. CALL MESSAGE " is locked in the heart of a crazy city, where else, New York."
  1802. CALL MESSAGE " "
  1803. call GOING
  1804. CALL MESSAGE RED"Arrived at Wall Street."
  1805. call delay(80)
  1806. CALL MESSAGE " "
  1807. rannum = RANDOM(1,5,Time('s'))
  1808. if rannum = 1 then do
  1809.    CALL MESSAGE CYA"You break even on the stocks..."
  1810.    CALL MESSAGE YEL"Recieve $12500 salary."
  1811.    money = money + 12500
  1812.   end
  1813. if rannum = 2 then do
  1814.    CALL MESSAGE CYA"HIT IT BIG IN DOW JONES!"
  1815.    CALL MESSAGE YEL"Recieve $75000!!!"RESET
  1816.    money = money + 75000
  1817.   end
  1818. if rannum = 3 then do
  1819.    CALL MESSAGE CYA"Get mugged in the big apple!"
  1820.    CALL MESSAGE YEL"Lose $20000."
  1821.    if money < 20000 then money = 0
  1822.    if money >= 20000 then money = money - 20000
  1823.   end
  1824. if rannum = 4 then do
  1825.    CALL MESSAGE CYA"Get hit by a maniac cab driver!"
  1826.    CALL MESSAGE YEL"You lose 50 hitpoints."
  1827.    if hitpoints < 50 then hitpoints = 0
  1828.    if hitpoints >= 50 then hitpoints = hitpoints - 50
  1829.   end
  1830. if rannum = 5 then do
  1831.    CALL MESSAGE CYA"AT&T goes through the roof!"
  1832.    CALL MESSAGE YEL"Gain $55000!"
  1833.    money = money + 55000
  1834.   end
  1835. signal RATRACE
  1836.  
  1837. SWITZERLAND:
  1838. price = 8500
  1839. CALL MESSAGE CLS
  1840. CALL MESSAGE center(BLUCYA"   Going to Switzerland   "RESET,78)
  1841. CALL MESSAGE " "
  1842. CALL MESSAGE "   Switzerland is famous for skiing, watches, and many other things"
  1843. CALL MESSAGE " that I guess I'm too stupid to think of right now.  The swiss,"
  1844. CALL MESSAGE " locked in a mountainous cage, stands protected from enemy countries"
  1845. CALL MESSAGE " thus remaining one of the FEW neutral countries."
  1846. CALL MESSAGE " "
  1847. call GOING
  1848. CALL MESSAGE RED"Arrived in Swizerland."
  1849. call delay(80)
  1850. CALL MESSAGE " "RESET
  1851. rannum = RANDOM(1,5,Time('s'))
  1852. if rannum = 1 then do
  1853.    CALL MESSAGE CYA"Go skiing in the Swiss Alps and"
  1854.    CALL MESSAGE CYA"break your leg!"
  1855.    CALL MESSAGE YEL"Lose 40 hitpoints."
  1856.    if hitpoints < 40 then hitpoints = 0
  1857.    if hitpoints >= 40 then hitpoints = hitpoints - 40
  1858.   end
  1859. if rannum = 2 then do
  1860.    CALL MESSAGE CYA"AVALANCHE!!! You are buried in"
  1861.    CALL MESSAGE CYA"snow!"
  1862.    CALL MESSAGE YEL"Lose 40 hitpoints."
  1863.    if hitpoints < 40 then hitpoints = 0
  1864.    if hitpoints >= 40 then hitpoints = hitpoints - 40
  1865.   end
  1866. if rannum = 3 then do
  1867.    CALL MESSAGE CYA"Save a millionare's life in a chair"
  1868.    CALL MESSAGE CYA"lift accident! (He fell on you.)"
  1869.    CALL MESSAGE YEL"Win $50000!"
  1870.    money = money + 50000
  1871.   end
  1872. if rannum = 4 then do
  1873.    CALL MESSAGE CYA"Eat enough to feed a horse!"
  1874.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints."
  1875.    hitpoints = maxpoints
  1876.   end
  1877. if rannum = 5 then do
  1878.    CALL MESSAGE CYA"Find a cave with ancient artifacts!"
  1879.    CALL MESSAGE YEL"Get $30000!"
  1880.    money = money + 30000
  1881.   end
  1882. signal RATRACE
  1883.  
  1884. ATHENS:
  1885. price = 10000
  1886. CALL MESSAGE CLS
  1887. CALL MESSAGE center(BLUCYA"   Going to Athens   "RESET,78)
  1888. CALL MESSAGE " "
  1889. CALL MESSAGE "   Athens, Greece, the heart of Greek mythology.  Many stories and"
  1890. CALL MESSAGE " plays were made of this place relating to the Gods, and their"
  1891. CALL MESSAGE " adventures."
  1892. CALL MESSAGE " "
  1893. call GOING
  1894. CALL MESSAGE RED"Arrived in Athens, Greece."
  1895. call delay(80)
  1896. CALL MESSAGE " "
  1897. rannum = RANDOM(1,5,Time('s'))
  1898. if rannum = 1 then do
  1899.    CALL MESSAGE CYA"Go to watch a play of Antigone."
  1900.    CALL MESSAGE YEL"Pay $5000."
  1901.    if money < 5000 then money = 0
  1902.    if money >= 5000 then money = money - 5000
  1903.   end
  1904. if rannum = 2 then do
  1905.    CALL MESSAGE CYA"Meet Zeus!  He gives you a gift!"
  1906.    CALL MESSAGE YEL"Recieve $30000!"
  1907.    money = money + 30000
  1908.   end
  1909. if rannum = 3 then do
  1910.    CALL MESSAGE CYA"Hades kidnaps you to the underword!"
  1911.    CALL MESSAGE YEL"Lose 50 hitpoints."
  1912.    if hitpoints < 50 then hitpoints = 0
  1913.    if hitpoints >= 50 then hitpoints = hitpoints - 50
  1914.   end
  1915. if rannum = 4 then do
  1916.    CALL MESSAGE CYA"Eat ambrosia and drink nectar!"
  1917.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints!"
  1918.    hitpoints = maxpoints
  1919.   end
  1920. if rannum = 5 then do
  1921.    CALL MESSAGE CYA"Buy a colluseum!"
  1922.    CALL MESSAGE YEL"Pay $22000!"
  1923.    if money < 22000 then money = 0
  1924.    if money >= 22000 then money = money - 22000
  1925.   end
  1926. signal RATRACE
  1927.  
  1928. MONGOLIA:
  1929. price = 4000
  1930. CALL MESSAGE CLS
  1931. CALL MESSAGE center(BLUCYA"   Going to Outer Mongolia!   "RESET,78)
  1932. CALL MESSAGE " "
  1933. CALL MESSAGE "   Outer Mongolia... hmm.. hard to explain, but in itself an "
  1934. CALL MESSAGE " adventure.  This country was the fertle ground in which Ghengis"
  1935. CALL MESSAGE " Kahn rose out of to ravage China. (And we all know what he's like!"
  1936. CALL MESSAGE " -imagine what the country must be like!) "
  1937. CALL MESSAGE " "
  1938. call GOING
  1939. CALL MESSAGE RED"Arrived in Outer Mongolia."
  1940. call delay(80)
  1941. CALL MESSAGE " "
  1942. rannum = RANDOM(1,5,Time('s'))
  1943. if rannum = 1 then do
  1944.    CALL MESSAGE CYA"Learn the ancient art of wizardry"
  1945.    CALL MESSAGE CYA"and heal yourself!"
  1946.    CALL MESSAGE YEL"Gain "maxpoints" hitpoints!"
  1947.    hitpoints = maxpoints
  1948.   end
  1949. if rannum = 2 then do
  1950.    CALL MESSAGE CYA"Climb to a mountaintop to get words"
  1951.    CALL MESSAGE CYA"of wisdom from an old wiseman only"
  1952.    CALL MESSAGE CYA"to find him dead!"
  1953.    CALL MESSAGE YEL"Lose 40 hitpoints for the effort."
  1954.    CALL MESSAGE YEL"Pay $10000 for funeral services."
  1955.    if hitpoints < 40 then hitpoints = 0
  1956.    if hitpoints >= 40 then hitpoints = hitpoints - 40
  1957.    if money < 10000 then money = 0
  1958.    if money >= 10000 then money = money - 10000
  1959.   end
  1960. if rannum = 3 then do
  1961.    CALL MESSAGE CYA"Win Mongolia's famous gameshow:"
  1962.    CALL MESSAGE CYA"STALK DOWN THE WILD BEAR AND KILL"
  1963.    CALL MESSAGE CYA"IT WITH YOUR BARE HANDS AND TONGUE!"
  1964.    CALL MESSAGE YEL"Win $40000!"
  1965.    money = money + 40000
  1966.   end
  1967. if rannum = 4 then do
  1968.    CALL MESSAGE CYA"Record Mongolia's #1 song:"
  1969.    CALL MESSAGE CYA"Ode to Ghengis Kahn."
  1970.    CALL MESSAGE YEL"Win $25000!"
  1971.    money = money + 25000
  1972.   end
  1973. if rannum = 5 then do
  1974.    CALL MESSAGE CYA"Break Mongolia's law of not"
  1975.    CALL MESSAGE CYA"using utensils."
  1976.    CALL MESSAGE YEL"Fined $20000."
  1977.    if money < 20000 then money = 0
  1978.    if money >= 20000 then money = money - 20000
  1979.   end
  1980. signal RATRACE
  1981.  
  1982. ENGLAND:
  1983. price = 9500
  1984. CALL MESSAGE CLS
  1985. CALL MESSAGE center(BLUCYA"   Going to England   "RESET,78)
  1986. CALL MESSAGE " "
  1987. CALL MESSAGE "   Jolly Ol' England, as they say, is a whole different culture from"
  1988. CALL MESSAGE " the American sort.  Here queens and kings are supported (as well as"
  1989. CALL MESSAGE " Amigas!)"
  1990. CALL MESSAGE " "
  1991. call GOING
  1992. CALL MESSAGE RED"Arrived in England."
  1993. call delay(80)
  1994. CALL MESSAGE " "
  1995. rannum = RANDOM(1,5,Time('s'))
  1996. if rannum = 1 then do
  1997.    CALL MESSAGE CYA"Become the Price of Wales!"
  1998.    CALL MESSAGE YEL"Earn $32000!"
  1999.    money = money + 32000
  2000.   end
  2001. if rannum = 2 then do
  2002.    CALL MESSAGE CYA"Discover the genetic secret of"
  2003.    CALL MESSAGE CYA"why the english have extremely"
  2004.    CALL MESSAGE CYA"large noses!"
  2005.    CALL MESSAGE YEL"Win $23000!"
  2006.    money = money + 23000
  2007.   end
  2008. if rannum = 3 then do
  2009.    CALL MESSAGE CYA"Get envolved in a 20 bicycle"
  2010.    CALL MESSAGE CYA"pileup!"
  2011.    CALL MESSAGE YEL"Lose 35 hitpoints."
  2012.    if hitpoints < 35 then hitpoints = 0
  2013.    if hitpoints >= 35 then hitpoints = hitpoints - 35
  2014.   end
  2015. if rannum = 4 then do
  2016.    CALL MESSAGE CYA"Get pulled over for driving on the"
  2017.    CALL MESSAGE CYA"wrong side of the road!"
  2018.    CALL MESSAGE YEL"Fined $35000!"
  2019.    if money < 35000 then money = 0
  2020.    if money >= 35000 then money = money - 35000
  2021.   end
  2022. if rannum = 5 then do
  2023.    CALL MESSAGE CYA"Accidentally get trapped watching a"
  2024.    CALL MESSAGE CYA"9 hour movie that is extremely boring"
  2025.    CALL MESSAGE CYA"and not even in the english language!"
  2026.    CALL MESSAGE YEL"Lose $23000 parking meter fees."
  2027.    CALL MESSAGE YEL"Lose 10 hitpoints for IQ point loss."
  2028.    if money < 23000 then money = 0
  2029.    if money >= 23000 then money = money - 23000
  2030.    if hitpoints < 10 then hitpoints = 0
  2031.    if hitpoints >= 10 then hitpoints = hitpoints - 10
  2032.   end
  2033. signal RATRACE
  2034.  
  2035. NIAGARA:
  2036. price = 11000
  2037. CALL MESSAGE CLS
  2038. CALL MESSAGE center(BLUCYA"   Going to Niagara Falls, NY   "RESET,78)
  2039. CALL MESSAGE " "
  2040. CALL MESSAGE "   Niagara Falls, the famed gigantic falls which have claimed lives"
  2041. CALL MESSAGE " and made fame.  Their sight is breathtaking.  --Plus there are a"
  2042. CALL MESSAGE " multitude of wax museums for those who don't like water!"
  2043. CALL MESSAGE " "
  2044. call GOING
  2045. CALL MESSAGE RED"Arrived in Niagara Falls, NY."
  2046. call delay(80)
  2047. CALL MESSAGE " "
  2048. rannum = RANDOM(1,6,Time('s'))
  2049. if rannum = 1 then do
  2050.    CALL MESSAGE CYA"Walk across the falls on a"
  2051.    CALL MESSAGE CYA"tightrope!"
  2052.    CALL MESSAGE YEL"Win $20000!"
  2053.    money = money + 20000
  2054.   end
  2055. if rannum = 2 then do
  2056.    CALL MESSAGE CYA"Attempt at walking across the"
  2057.    CALL MESSAGE CYA"falls on a tightrope--AND FALL"
  2058.    CALL MESSAGE CYA"IN!  (Smooth move ex-lax!)"
  2059.    CALL MESSAGE YEL"Lose 50 hitpoints."
  2060.    if hitpoints < 50 then hitpoints = 0
  2061.    if hitpoints >= 50 then hitpoints = hitpoints - 50
  2062.   end
  2063. if rannum = 3 then do
  2064.    CALL MESSAGE CYA"Go down the falls in a barrel!"
  2065.    CALL MESSAGE CYA"And.. well, it isn't pretty."
  2066.    CALL MESSAGE YEL"Lose 50 hitpoints."
  2067.    if hitpoints < 50 then hitpoints = 0
  2068.    if hitpoints >= 50 then hitpoints = hitpoints - 50
  2069.   end
  2070. if rannum = 4 then do
  2071.    CALL MESSAGE CYA"Get stuck in wax museum hell!"
  2072.    CALL MESSAGE YEL"Lose $19000!"
  2073.    if money < 19200 then money = 0
  2074.    if money >= 19000 then money = money - 19000
  2075.   end
  2076. if rannum = 5 then do
  2077.    CALL MESSAGE CYA"Discover PLUTONIUM under the falls!"
  2078.    CALL MESSAGE YEL"Awarded $55000!"
  2079.    money = money + 55000
  2080.   end
  2081. if rannum = 6 then do
  2082.    CALL MESSAGE CYA"Discover the fountain of youth in"
  2083.    CALL MESSAGE CYA"the falls!"
  2084.    CALL MESSAGE YEL"You get "maxpoints" hitpoints!"
  2085.    hitpoints = maxpoints
  2086.   end
  2087. signal RATRACE
  2088.  
  2089. DISNEY:
  2090. price = 13000
  2091. CALL MESSAGE CLS
  2092. CALL MESSAGE center(BLUCYA"   I'm Going to Disney World!   "RESET,78)
  2093. CALL MESSAGE " "
  2094. CALL MESSAGE "   "handle", you have just one the Super Bowl!  Where are you"
  2095. CALL MESSAGE " going next?  ;-)  Yes, childrens' paradise and adults wonder,"
  2096. CALL MESSAGE " this wonderous place was founded by a man who wanted a fun place"
  2097. CALL MESSAGE " different from the dirty, dusty carnivals in this world, Walt Disney"
  2098. CALL MESSAGE " "
  2099. call GOING
  2100. CALL MESSAGE RED"Arrived in Disney World."
  2101. call delay(50)
  2102. CALL MESSAGE " "
  2103. rannum = RANDOM(1,5,Time('s'))
  2104. if rannum = 1 then do
  2105.    CALL MESSAGE CYA"Uncover Disney's multibillion"
  2106.    CALL MESSAGE CYA"dollar plot to initiate SDI!"
  2107.    CALL MESSAGE YEL"Awarded $33000!"
  2108.    money = money + 33000
  2109.   end
  2110. if rannum = 2 then do
  2111.    CALL MESSAGE CYA"Get trapped on Space Mountain"
  2112.    CALL MESSAGE CYA"roller coaster without a seatbelt!"
  2113.    CALL MESSAGE YEL"Lose 60 hitpoints."
  2114.    if hitpoints < 60 then hitpoints = 0
  2115.    if hitpoints >= 60 then hitpoints = hitpoints - 60
  2116.   end
  2117. if rannum = 3 then do
  2118.    CALL MESSAGE CYA"You get to star in a Disney movie!"
  2119.    CALL MESSAGE YEL"Payed $20000!"
  2120.    money = money + 20000
  2121.   end
  2122. if rannum = 4 then do
  2123.    CALL MESSAGE CYA"You are mysteriously turned into an"
  2124.    CALL MESSAGE CYA"animated penguin!"
  2125.    CALL MESSAGE YEL"Lose $40000! (Penguins have no"
  2126.    CALL MESSAGE YEL"pockets.. do they?)"
  2127.    if money < 40000 then money = 0
  2128.    if money >= 40000 then money = money - 40000
  2129.   end
  2130. if rannum = 5 then do
  2131.    CALL MESSAGE CYA"Your fairy godfather grants you"
  2132.    CALL MESSAGE CYA"hitpoints!"
  2133.    CALL MESSAGE YEL"Granted "maxpoints" hitpoints!"
  2134.    hitpoints = maxpoints
  2135.   end
  2136. signal RATRACE
  2137.  
  2138. GOING:
  2139. CALL MESSAGE " "
  2140. CALL MESSAGE CYA"You have $"WHI||money||CYA".  The trip costs "WHI||price||CYA"."
  2141. CALL MESSAGE " "
  2142. OPTIONS PROMPT CYA"Wanna go? ("GRE"Y"CYA"/"RED"n"CYA"):"BLU"> "RESET
  2143. PULL ans 
  2144. if checkBBS() then signal BYE
  2145. if ans = "N" then signal TRIP
  2146. CALL MESSAGE CLS
  2147. if money < price then do
  2148.    CALL MESSAGE " "
  2149.    CALL MESSAGE RED center("YOU DON'T HAVE ENOUGH MONEY TO GO!",78)
  2150.    CALL MESSAGE " "RESET
  2151.    call delay(150)
  2152.    signal TRIP
  2153.   end
  2154. money = money - price
  2155. CALL MESSAGE " "
  2156. CALL MESSAGE GRE"Money Paid..."RESET
  2157. CALL MESSAGE MAG"Taking flight..."RESET
  2158. rando = RANDOM(1,20,Time('s'))
  2159. call delay(90)
  2160. CALL MESSAGE YEL" You ate the plane's food -- gain "rando" hitpoints."RESET
  2161. call delay(90)
  2162. hitpoints = hitpoints + rando
  2163. CALL MESSAGE " "
  2164. CALL MESSAGE MAG"Landing..."
  2165. call delay(100)
  2166. ransak = RANDOM(1,200,Time('s'))
  2167. if ransak = 13 | ransak = 21 | ransak = 192 | ransak = 112 | ransak = 80 then do
  2168.    if money >= 50000 then money = money - 20000
  2169.    if money < 50000 then money = money - money
  2170.    if hitpoints >= 80 then hitpoints = hitpoints - 30
  2171.    if hitpoints < 80 then hitpoints = hitpoints - hitpoints
  2172.    CALL MESSAGE RED"YOUR PLANE CRASH LANDED!!!"
  2173.    CALL MESSAGE RED"YOU LOSE 80 HITPOINTS!"
  2174.    CALL MESSAGE RED"YOU LOSE 50000 DOLLARS TO GET A TRIP BACK & HOSPITAL FEES!"
  2175.    CALL MESSAGE " "
  2176.    OPTIONS PROMPT CYA"Sue the pilot (Y/n)? "
  2177.    PULL ans 
  2178.    if checkBBS() then signal BYE
  2179.    if ans = "N" then do
  2180.       CALL MESSAGE MAG"Ok.. not sueing him."
  2181.       call delay(100)
  2182.       signal MENU
  2183.      end
  2184.    signal SUEHIM
  2185.   end
  2186. return
  2187.  
  2188. SUEHIM:
  2189. rannum = RANDOM(1,2,Time('s'))
  2190. if rannum = 1 then verdict = "GUILTY"
  2191. if rannum = 2 then verdict = "NOT GUILTY"
  2192. CALL MESSAGE CLS
  2193. CALL MESSAGE " "
  2194. CALL MESSAGE RED"A long a tedious trial goes on..."
  2195. CALL MESSAGE RED"and now here's the charge..."
  2196. CALL MESSAGE " "RESET
  2197. CALL MESSAGE CYA"We the jury, find in the case of"
  2198. CALL MESSAGE CYA"the Pilot: "RED||verdict||CYA"!"
  2199. CALL MESSAGE " "
  2200. if rannum = 1 then do
  2201.    CALL MESSAGE MAG"Money in the amount of $150000"
  2202.    CALL MESSAGE MAG"to the plaintiff "handle"!"
  2203.    money = money + 150000
  2204.    call writeln(news,handle' won $150000 in court!')
  2205.    call delay(80)
  2206.   end
  2207. if rannum = 2 then do
  2208.    CALL MESSAGE MAG"It was the planes falt, not"
  2209.    CALL MESSAGE MAG"the Pilot's falt.  Nothing"
  2210.    CALL MESSAGE MAG"gained, nothing lost."
  2211.    CALL MESSAGE " "
  2212.    randy = RANDOM(1,6,Time('s'))
  2213.    randy = randy * 1000
  2214.    CALL MESSAGE CYA"Pay "WHI"$"randy" "CYA"in lawyer fees."
  2215.    if money < randy then money = 0
  2216.    if money >= randy then money = money - randy
  2217.    call delay(80)
  2218.   end
  2219. CALL MESSAGE " "
  2220. CALL MESSAGE BLU"Justice is served."RESET
  2221. CALL MESSAGE " "
  2222. OPTIONS PROMPT "Press "RED"RETURN"WHI" when finished: "RESET
  2223. PULL junk
  2224. if checkBBS() then signal BYE
  2225. signal MENU
  2226.  
  2227. LALA:
  2228. CALL MESSAGE " "
  2229. CALL MESSAGE CYA"E"YEL"n"GRE"t"BLU"e"RED"r "WHI"t"MAG"h"YEL"e"RED" m"CYA"a"WHI"g"MAG"i"GRE"c"BLU" w"YEL"o"WHI"r"RED"d"BLU": "RESET
  2230. PULL pass
  2231. if checkBBS() then signal BYE
  2232. if pass = "CHEATING!" then signal P2
  2233. signal MENU
  2234.  
  2235. REST:
  2236. lost = maxpoints - hitpoints
  2237. fiz = RANDOM(1,750,Time('s'))
  2238. if rank = ran1 then pernight = 500
  2239. if rank = ran2 then pernight = 700
  2240. if rank = ran3 then pernight = 900
  2241. if rank = ran4 then pernight = 1100
  2242. if rank = ran5 then pernight = 1400
  2243. if rank = ran6 then pernight = 2000
  2244. if rank = ran7 then pernight = 2500
  2245. if rank = ran8 then pernight = 2800
  2246. if rank = ran9 then pernight = 3000
  2247. if rank = ran10 then pernight = 3300
  2248. if rank = ran11 then pernight = 3600
  2249. if rank = ran12 then pernight = 4000
  2250. if rank = ran13 then pernight = 4400
  2251. if rank = ran14 then pernight = 5000
  2252. room = pernight + fiz
  2253. CALL MESSAGE CLS
  2254. CALL MESSAGE " "RESET
  2255. CALL MESSAGE "      _____/_________________________________________________\_____"
  2256. CALL MESSAGE "     |_____________________"MAG"-= LE GRAND HOTEL =-"WHI"____________________|"
  2257. CALL MESSAGE "        |\_________/     ________________________    \_________/|"
  2258. CALL MESSAGE "        |  \_____/       \______________________/      \_____/  |"
  2259. CALL MESSAGE "        |   || ||         |\__________________/|        || ||   |"
  2260. CALL MESSAGE "        |   || ||         | "BLU"| |     ||     | | "WHI"|        || ||   |"
  2261. CALL MESSAGE "        |   || ||         | "BLU"| |"CYA" \"BLU"   ||     | | "WHI"|        || ||   |"
  2262. CALL MESSAGE "        |   || ||         | "BLU"| |"CYA" \  "YEL"["BLU"||"YEL"]"BLU"    | | "WHI"|        || ||   |"RESET
  2263. CALL MESSAGE "        |   || ||         | "BLU"| |     || "CYA"\"BLU"   | | "WHI"|        || ||   |"RESET
  2264. CALL MESSAGE "      __|___||_||_________|/"GRE"#"BLU"\|_____||_____|/"GRE"#"WHI"\|________||_||___|__"RESET
  2265. CALL MESSAGE GRE"      #####"WHI"/_____\"GRE"###########"BLU"/"RED"/            \"BLU"\"GRE"##########"WHI"/_____\"GRE"#####"RESET
  2266. CALL MESSAGE GRE"      #######################"RED"/              \"GRE"######################"RESET
  2267. CALL MESSAGE GRE"      ######################"RED"/                \"GRE"#####################"RESET
  2268. CALL MESSAGE GRE"      #####################"RED"/                  \"GRE"####################"RESET
  2269. CALL MESSAGE GRE"      ####################"RED"/____________________\"GRE"###################"RESET
  2270. CALL MESSAGE " "
  2271. CALL MESSAGE MAG"                     Right now it costs $"WHI||room||MAG" per night."
  2272. CALL MESSAGE CYA"             30 hitpoints healed a night. - You need to heal "WHI||lost||CYA"."
  2273. CALL MESSAGE " "
  2274. CALL MESSAGE CYA" Stay how many nights? "BLU"["YEL"Q"BLU"]"CYA" Quits"BLU":"RESET
  2275. PULL stay 
  2276. if checkBBS() then signal BYE
  2277. if stay = "Q" then signal MENU
  2278. if stay = "" | stay = " " | stay = "  " | stay = "   " | stay = "    " | stay = "     " then signal MENU
  2279. if stay = 0 then do
  2280.    CALL MESSAGE CLS
  2281.    CALL MESSAGE " "
  2282.    CALL MESSAGE CYA"What, are you just going to mope around in the lounge all day?"
  2283.    CALL MESSAGE " "RESET
  2284.    call delay(150)
  2285.    signal MENU
  2286.   end
  2287. if stay > 9999999999999999999999999999999999999999999999999999999999999999999999999999999999 then signal YOT
  2288. if stay < 0 then signal YOT
  2289. dogz = compress(stay,'ABCDEFGHIJKLMNOPQRSTUVWXYZ.,{}[];:''"?/\=+-_)(*&^%$#@!~`<>')
  2290. payme = dogz * room
  2291. if payme > money then do
  2292.    CALL MESSAGE CLS
  2293.    CALL MESSAGE " "
  2294.    CALL MESSAGE RED center("You don't have enough money to stay here that long!",78)
  2295.    CALL MESSAGE " "RESET
  2296.    call delay(130)
  2297.   end
  2298. if money = payme then do
  2299.    CALL MESSAGE " "
  2300.    CALL MESSAGE MAG"You are going to be "RED"BROKE"MAG" if you stay here that long!"RESET
  2301.    CALL MESSAGE " "
  2302.    OPTIONS PROMPT CYA"Stay here anyway ("GRE"Y"CYA"/"RED"n"CYA")? "RESET
  2303.    PULL stayany 
  2304.    if checkBBS() then signal BYE
  2305.    if stayany = "N" then do
  2306.       CALL MESSAGE BLU"Ok.. leaving Hotel..."RESET
  2307.       call delay(100)
  2308.       signal MENU
  2309.      end
  2310.   end
  2311. if payme <= money then signal RESTHERE
  2312. signal MENU
  2313.  
  2314. YOT:
  2315. CALL MESSAGE CLS
  2316. CALL MESSAGE " "
  2317. CALL MESSAGE RED center("You must enter a NUMBER! ",78)
  2318. CALL MESSAGE RESET" "
  2319. call delay(110)
  2320. signal REST
  2321.  
  2322. RESTHERE:
  2323. money = money - payme
  2324. runny = RANDOM(1,200,Time('s'))
  2325. if runny >= money then runny = 0
  2326. CALL MESSAGE CLS
  2327. CALL MESSAGE " "
  2328. CALL MESSAGE YEL center("Enjoy your stay!",78)
  2329. CALL MESSAGE " "
  2330. CALL MESSAGE CYA"Sleeping."
  2331.   do i = 1 to 20
  2332.    CALL NOCR CYA"."
  2333.    call delay(20)
  2334.    i=i+1
  2335.   end
  2336. CALL MESSAGE " "
  2337. hitpoints=hitpoints+(dogz*30)
  2338. if hitpoints > maxpoints then hitpoints = maxpoints
  2339. CALL MESSAGE CYA"Ahhh.. you feel refreshed!"
  2340. CALL MESSAGE CYA"You order $"WHI||runny||CYA" in room service."
  2341. if money = 0 then CALL MESSAGE CYA"By the way.. "RED"You're Broke!"RESET
  2342. CALL MESSAGE " "
  2343. OPTIONS PROMPT RESET" Press "RED"RETURN"WHI" when finished: "RESET
  2344. PULL junk
  2345. if checkBBS() then signal BYE
  2346. signal MENU
  2347.  
  2348. YOURSTATS:
  2349. turnsleft = turnsleft + 1
  2350. CALL MESSAGE CLS
  2351. CALL MESSAGE " "
  2352. CALL MESSAGE "                "BLUCYA"   Player Statistics For The Yuppie "handle"   "RESET
  2353. CALL MESSAGE BLU center(" ----------------------------------------------------------------------- ",78)
  2354. call POINTCK
  2355. CALL MESSAGE " "
  2356. CALL MESSAGE MAG"                         Points: "WHI||points
  2357. CALL MESSAGE MAG"                           Rank: "WHI||rank
  2358. CALL MESSAGE MAG"                      Hitpoints: "WHI||hitpoints
  2359. CALL MESSAGE MAG"                     Turns Left: "WHI||turnsleft
  2360. CALL MESSAGE MAG"                         Weapon: "WHI||weapon
  2361. CALL MESSAGE MAG"                        Vehicle: "WHI||armor
  2362. CALL MESSAGE MAG"                          Money: "WHI"$"money
  2363. CALL MESSAGE MAG"                     Bank Money: "WHI"$"bmoney
  2364. CALL MESSAGE MAG"                 Lifetime Kills: "WHI||kills
  2365. CALL MESSAGE " "RESET
  2366. CALL MESSAGE " "
  2367. OPTIONS PROMPT " Hit "RED"RETURN"WHI" when finished: "RESET
  2368. PULL junk
  2369. if checkBBS() then signal BYE
  2370. signal MENU
  2371.  
  2372. VEGAS:
  2373. currentmem=storage()
  2374.   if currentmem<lowmem then do
  2375.     CALL MESSAGE CLS
  2376.     CALL MESSAGE " "
  2377.     CALL MESSAGE RED CENTER("Sorry!  Out of memory!  Saving and exiting...",78)
  2378.     call delay(190)
  2379.     signal BYE
  2380.   end
  2381. call EVENER
  2382. if turnsleft <= 0 then do
  2383.    CALL MESSAGE CLS
  2384.    CALL MESSAGE " "
  2385.    CALL MESSAGE center("        "BLUCYA"   You must like this game!   "RESET,78)
  2386.    CALL MESSAGE " "RESET
  2387.    CALL MESSAGE RED center("But anyway, you have played all your 25 turns out.",78)
  2388.    CALL MESSAGE RED center("Try calling back tomarrow and playing again!",78)
  2389.    CALL MESSAGE " "
  2390.    OPTIONS PROMPT RESET"Press "RED"RETURN"WHI" when finished: "RESET
  2391.    PULL junk
  2392.    signal OUTTAHERE
  2393.   end
  2394. CALL MESSAGE CLS
  2395. CALL MESSAGE "                 "WHI"*"RED"                ____"RESET
  2396. CALL MESSAGE RED" __ "WHI" *"RED"      ____  ___     /\  "WHI" *"RED" / __/"RESET
  2397. CALL MESSAGE RED" \ \    __ /___/ /___\   //\\   / /"RESET
  2398. CALL MESSAGE RED"  \ \  / ///_   //  "WHI"*"RED"\\ / \/ \ / /"RESET
  2399. CALL MESSAGE RED"   \ \/ //__/   \\___/// ____ \\ \___ "WHI"*"RESET
  2400. CALL MESSAGE RED"    \  / \\_____ \__ // /  __\ \\_  /"RESET
  2401. CALL MESSAGE WHI"  * "RED" \/   \____/___// \/   \__\/___/"RESET
  2402. CALL MESSAGE WHI"        *  "RED"/_______/"BLU" __________________________"RESET
  2403. CALL MESSAGE BLU"                    /------"ITAL||CYA"What To Play"RESET||BLU"-------/ "
  2404. CALL MESSAGE BLU"                   /                         / "
  2405. CALL MESSAGE BLU"                  /     "ITAL" ["RESET||YEL"S"ITAL||BLU"] "CYA"Slots"RESET||BLU"          / "
  2406. CALL MESSAGE BLU"                 /     "ITAL" ["RESET||YEL"L"ITAL||BLU"] "CYA"Lotto"RESET||BLU"          / "
  2407. CALL MESSAGE BLU"                /     "ITAL" ["RESET||YEL"C"ITAL||BLU"] "CYA"Craps"RESET||BLU"          / "
  2408. CALL MESSAGE BLU"               /     "ITAL" ["RESET||YEL"F"ITAL||BLU"] "CYA"Fifty-Fifty"RESET||BLU"    / "
  2409. CALL MESSAGE BLU"              /     "ITAL" ["RESET||YEL"Q"ITAL||BLU"] "CYA"Leave Vegas"RESET||BLU"    / "
  2410. CALL MESSAGE BLU"             /_________________________/ "
  2411. CALL MESSAGE " "RESET
  2412. OPTIONS PROMPT CYA"What game do you want to play?"BLU"> "RESET
  2413. PULL Choice 
  2414. if checkBBS() then signal BYE
  2415. if Choice = "Q" then do
  2416. turnsleft = turnsleft + 1
  2417. signal MENU
  2418. end
  2419. if Choice = "S" then do
  2420. turnsleft = turnsleft - 1
  2421. call SLITS
  2422. end
  2423. if Choice = "L" then do
  2424. turnsleft = turnsleft - 1
  2425. signal LOTTO
  2426. end
  2427. if Choice = "C" then do
  2428. turnsleft = turnsleft - 1
  2429. call CRAPS
  2430. end
  2431. if Choice = "F" then do
  2432. turnsleft = turnsleft - 1
  2433. signal FIFTY
  2434. end
  2435. signal VEGAS
  2436.  
  2437. FIFTY:
  2438. if money <= 0 then do
  2439.    turnsleft = turnsleft + 1
  2440.    CALL MESSAGE CLS
  2441.    CALL MESSAGE " "
  2442.    CALL MESSAGE RED center("YOU NEED MONEY TO PLAY!",78)
  2443.    CALL MESSAGE " "
  2444.    call delay(150)
  2445.    signal VEGAS
  2446.   end
  2447. t = b
  2448. CALL MESSAGE CLS
  2449. CALL MESSAGE "                        "BLUCYA"   Playing Fifty-Fifty   "RESET
  2450. CALL MESSAGE " "
  2451. CALL MESSAGE CYA center("You have a 50% chance of winning double your bet.",78)
  2452. CALL MESSAGE " "
  2453. OPTIONS PROMPT BLU" You have $"CYA||money||BLU", your bet (Max $"CYA"5000"BLU")?"RESET
  2454. PULL Betty 
  2455. if checkBBS() then signal BYE
  2456. if Betty = 'Q' then signal VEGAS
  2457. if Betty > money then do
  2458.    CALL MESSAGE " "
  2459.    CALL MESSAGE RED center("YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!",78)
  2460.    CALL MESSAGE " "
  2461.    call delay(110)
  2462.    signal FIFTY
  2463.   end
  2464. if Betty > 5000 | Betty < 1 then do
  2465.    CALL MESSAGE CLS
  2466.    CALL MESSAGE " "
  2467.    CALL MESSAGE RED center("You must bet between 1 and 5000!",78)
  2468.    CALL MESSAGE " "
  2469.    call delay(110)
  2470.    signal FIFTY
  2471.   end
  2472. if Betty <= 5000 & Betty >= 1 then signal LATER
  2473. else call YO
  2474. signal FIFTY
  2475.  
  2476. LATER:
  2477. CALL MESSAGE " "
  2478. rnm = RANDOM(1,4,Time('s'))
  2479. if rnm = 1 | rnm = 3 then do
  2480.    money = money - Betty
  2481.    CALL MESSAGE YEL" You lost this time, bud!"
  2482.    CALL MESSAGE MAG" You lost $"WHI||Betty||MAG"."RESET
  2483.    CALL MESSAGE " "
  2484.    call delay(150)
  2485.    signal PLAYGEN
  2486.   end
  2487. if rnm = 2 | rnm = 4 then do
  2488.    CALL MESSAGE YEL" You Won!!!"
  2489.    CALL MESSAGE MAG" You won $"WHI||Betty*2||MAG"!"RESET
  2490.    money=money+(Betty*2)
  2491.    CALL MESSAGE " "
  2492.    call delay(150)
  2493.    signal PLAYGEN
  2494.   end
  2495. signal PLAYGEN
  2496.  
  2497. LOTTO:
  2498. if money <= 0 then do
  2499.    turnsleft = turnsleft + 1
  2500.    CALL MESSAGE CLS
  2501.    CALL MESSAGE " "
  2502.    CALL MESSAGE RED center("YOU NEED MONEY TO PLAY THIS GAME!",78)
  2503.    CALL MESSAGE " "
  2504.    call delay(150)
  2505.    signal VEGAS
  2506.   end
  2507. t = a
  2508. CALL MESSAGE CLS
  2509. CALL MESSAGE "                         "BLUCYA"   Playing the Lotto   "RESET
  2510. CALL MESSAGE " "
  2511. flag = f
  2512. CALL MESSAGE BLU" You have $"CYA||money||BLU".  Maximum bet is $"CYA"5000"BLU"."
  2513. OPTIONS PROMPT CYA" How much money do you want to bet?: "RESET
  2514. PULL Wager 
  2515. if checkBBS() then signal BYE
  2516. if Wager = "Q" then signal VEGAS
  2517. if Wager > money then do
  2518.    CALL MESSAGE " "
  2519.    CALL MESSAGE RED center("YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!",78)
  2520.    CALL MESSAGE " "
  2521.    call delay(110)
  2522.    signal LOTTO
  2523.   end
  2524. if Wager > 5000 then do
  2525.    CALL MESSAGE " "
  2526.    CALL MESSAGE RED center("MAXIMUM BET IS $5000!",78)
  2527.    CALL MESSAGE " "
  2528.    call delay (110)
  2529.    signal LOTTO
  2530.   end
  2531. if Wager >= 1 & Wager <= 5000 then signal WEZ
  2532. else call YO
  2533. signal LOTTO
  2534.  
  2535. WEZ:
  2536. CALL MESSAGE " "
  2537. OPTIONS PROMPT CYA" Bet "YEL||Wager||CYA" ("GRE"Y"CYA"/"RED"n"CYA")?: "
  2538. PULL okeydokey 
  2539. if checkBBS() then signal BYE
  2540. if okeydokey = "N" then signal LOTTO
  2541. signal GOON
  2542.  
  2543. GOON:
  2544. CALL MESSAGE CLS
  2545. CALL MESSAGE " "
  2546. CALL MESSAGE CYA center("Enter a number between 1 and 50, if that number comes up, you win",78)
  2547. CALL MESSAGE CYA center("five times that amount, if you lose, you get one last chance to",78)
  2548. CALL MESSAGE CYA center("enter a number between 1 and 50, if you win, you will get triple",78)
  2549. CALL MESSAGE CYA center("your bet.  If you win any of the two, you get a chance to go on",78)
  2550. CALL MESSAGE CYA center("to the finals where you get a chance to win 10 times your bet, but",78)
  2551. CALL MESSAGE CYA center("your chances are one in 60.",78)
  2552. CALL MESSAGE " "
  2553. if flag = lasttime then do
  2554.    CALL MESSAGE GRE center("This is your last chance to win your money back,",78)
  2555.    CALL MESSAGE GRE center("if you don't win, you just lose what you originally",78)
  2556.    CALL MESSAGE GRE center("betted, you won't lose more than you betted.",78)
  2557.    CALL MESSAGE " "
  2558.   end
  2559. OPTIONS PROMPT MAG"   Enter a number between 1 & 50: "
  2560. PULL numb 
  2561. if checkBBS() then signal BYE
  2562. if numb <= 50 & numb >= 1 then signal WEENIE
  2563. else call YO
  2564. signal GOON
  2565.  
  2566. WEENIE:
  2567. CALL MESSAGE CLS
  2568. CALL MESSAGE " "
  2569. CALL MESSAGE " "
  2570. rannum = RANDOM(1,50,Time('s'))
  2571. CALL NOCR MAG " And, the number is... "RESET
  2572. call delay(50)
  2573. CALL MESSAGE rannum||MAG"!"RESET
  2574. CALL MESSAGE " "
  2575. if rannum = numb then do
  2576.    CALL MESSAGE YEL center("You Won!!!",78)
  2577.    CALL MESSAGE GRE center("       You won $"RESET||Wager*5||GRE"!!!",78)
  2578.    CALL MESSAGE MAG center("Good Job!!",78)
  2579.    if flag = f then money=money+(Wager*5)
  2580.    if flag = lasttime then money=money+(Wager*3)
  2581.    signal FINALDRAW
  2582.   end
  2583. if rannum ~= numb then do
  2584.    if flag = f then money = money - Wager
  2585.    CALL MESSAGE YEL center("Oh, to bad, you lose!",78)
  2586.    if flag = f then CALL MESSAGE GRE center("        You lost $"WHI||Wager||GRE".",78)
  2587.    if flag = lasttime then CALL MESSAGE GRE center("You didn't lose anything this time.",78)
  2588.    CALL MESSAGE MAG center("Oh well, better luck next time!",78)
  2589.    if flag = lasttime then do
  2590.       CALL MESSAGE RED center("You didn't win your money back!",78)
  2591.       call delay(170)
  2592.       signal PLAYGEN
  2593.   end
  2594. signal LASTCHANCE
  2595.  
  2596. FINALDRAW:
  2597. call delay(150)
  2598. randu = RANDOM(1,60,Time('s'))
  2599. CALL MESSAGE CLS
  2600. CALL MESSAGE RESET"    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *"
  2601. CALL MESSAGE " "
  2602. CALL MESSAGE "    *  "RED" You have made made it this far, now lets see if you"WHI"  *"
  2603. CALL MESSAGE RED"       can win the REALLY BIG bucks!"
  2604. CALL MESSAGE WHI"    *                                                        *"
  2605. CALL MESSAGE "    *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *"RESET
  2606. CALL MESSAGE " "
  2607. call delay (200)
  2608. CALL MESSAGE BLU center("Using your winning number for the draw.",78)
  2609. CALL MESSAGE " "
  2610. CALL NOCR MAG"And... The winning number is... "RESET
  2611. call delay(50)
  2612. CALL MESSAGE randu||MAG"!"RESET
  2613. CALL MESSAGE " "
  2614. if randu = numb then do
  2615.    CALL MESSAGE YEL center("YOU WIN!!!",78)
  2616.    CALL MESSAGE GRE center("       You won $"WHI||Wager*10||GRE"!!",78)
  2617.    CALL MESSAGE RED center("GOOD JOB!",78)
  2618.    money=money+(Wager*10)
  2619.    CALL MESSAGE " "
  2620.    call writeln(news,handle' wins 'wager*10' in the lotto at vegas!')
  2621.    CALL MESSAGE CYA"The bright-red faced casino manager quickly ushers you out the door."
  2622.    CALL MESSAGE " "
  2623.    call delay(300)
  2624.    signal PLAYGEN
  2625.   end
  2626. if randu ~= numb then do
  2627.    CALL MESSAGE YEL center("Awww.. too bad, you lost.",78)
  2628.    CALL MESSAGE GRE center("But at least you didn't lose anything!",78)
  2629.    CALL MESSAGE RED center("Better luck next time!",78)
  2630.    CALL MESSAGE " "
  2631.    CALL MESSAGE CYA"The relieved casino manager asks you to come back anytime."
  2632.    CALL MESSAGE " "
  2633.    call delay(200)
  2634.    signal PLAYGEN
  2635.   end
  2636. signal PLAYGEN
  2637.  
  2638. PLAYGEN:
  2639. CALL MESSAGE CLS
  2640. CALL MESSAGE " "
  2641. OPTIONS PROMPT CYA" Would you like to play again ("GRE"y"CYA"/"RED"N"CYA")? "
  2642. PULL comegen
  2643. if checkBBS() then signal BYE
  2644. if comegen = "N" then signal VEGAS
  2645. if comegen = "Y" then do
  2646.    if t = a then signal LOTTO
  2647.    if t = b then signal FIFTY
  2648. end
  2649. signal VEGAS
  2650.  
  2651. LASTCHANCE:
  2652. call delay(150)
  2653. flag = lasttime
  2654. signal GOON
  2655.  
  2656. YO:
  2657.    CALL MESSAGE CLS
  2658.    CALL MESSAGE " "
  2659.    CALL MESSAGE RED center("YOUR ANSWER MUST BE A NUMBER BETWEEN 1 AND 50!",78)
  2660.    CALL MESSAGE " "
  2661.    call delay(110)
  2662.    return
  2663.  
  2664. BUYORSELLW:
  2665. CALL MESSAGE CLS
  2666. CALL MESSAGE " "
  2667. if weapon~='' then CALL MESSAGE CYA" Your current weapon is a "weapon"."RESET
  2668. /*
  2669. if weapon = wep1 then CALL MESSAGE CYA" Your current weapon is a "wep1"."RESET
  2670. if weapon = wep2 then CALL MESSAGE CYA" Your current weapon is a "wep2"."RESET
  2671. if weapon = wep3 then CALL MESSAGE CYA" Your current weapon is a "wep3"."RESET
  2672. if weapon = wep4 then CALL MESSAGE CYA" Your current weapon is a "wep4"."RESET
  2673. if weapon = wep5 then CALL MESSAGE CYA" Your current weapon is a "wep5"."RESET
  2674. if weapon = wep6 then CALL MESSAGE CYA" Your current weapons are "wep6"."RESET
  2675. if weapon = wep7 then CALL MESSAGE CYA" Your current weapon is a "wep7"."RESET
  2676. if weapon = wep8 then CALL MESSAGE CYA" Your current weapon is a "wep8"."RESET
  2677. if weapon = wep9 then CALL MESSAGE CYA" Your current weapon is a "wep9"."RESET
  2678. if weapon = wep10 then CALL MESSAGE CYA " Your current weapon is a "wep10"."RESET
  2679. if weapon = wep11 then CALL MESSAGE CYA " Your current weapon is a "wep11"."RESET
  2680. if weapon = wep12 then CALL MESSAGE CYA " Your current weapon is a "wep12"."RESET
  2681. */
  2682. CALL MESSAGE " "
  2683. OPTIONS PROMPT GRE" Buy or Sell your weapon (B/S)? "RESET
  2684. PULL Choice 
  2685. if checkBBS() then signal BYE
  2686. if Choice = B then signal BUYWEAPON
  2687. if Choice = S then signal SELLWEAPON
  2688. if Choice = Q then signal MENU
  2689. signal MENU
  2690.  
  2691. BUYORSELLA:
  2692. CALL MESSAGE CLS
  2693. CALL MESSAGE " "
  2694. if armor~='' THEN  CALL MESSAGE CYA" Your current vehicle is a "armor"."RESET
  2695. /*
  2696. if armor = arm1 then CALL MESSAGE CYA" Your current vehicle is a "arm1"."RESET
  2697. if armor = arm2 then CALL MESSAGE CYA" Your current vehicle is a "arm2"."RESET
  2698. if armor = arm3 then CALL MESSAGE CYA" Your current vehicle is a "arm3"."RESET
  2699. if armor = arm4 then CALL MESSAGE CYA" Your current vehicle is a "arm4"."RESET
  2700. if armor = arm5 then CALL MESSAGE CYA" Your current vehicle is a "arm5"."RESET
  2701. if armor = arm6 then CALL MESSAGE CYA" Your current vehicle is a "arm6"."RESET
  2702. if armor = arm7 then CALL MESSAGE CYA" Your current vehicle is a "arm7"."RESET
  2703. if armor = arm8 then CALL MESSAGE CYA" Your current vehicle is a "arm8"."RESET
  2704. if armor = arm9 then CALL MESSAGE CYA" Your current vehicle is a "arm9"."RESET
  2705. if armor = arm10 then CALL MESSAGE CYA " Your current vehicle is a "arm10"."RESET
  2706. if armor = arm11 then CALL MESSAGE CYA " Your current vehicle is a "arm11"."RESET
  2707. if armor = arm12 then CALL MESSAGE CYA " Your current vehicle is a "arm12"."RESET
  2708. */
  2709. CALL MESSAGE " "
  2710. OPTIONS PROMPT GRE" Buy or Sell your vehicle (B/S)? "RESET
  2711. PULL Choice 
  2712. if checkBBS() then signal BYE
  2713. if Choice = B then signal BUYARMOR
  2714. if Choice = S then signal SELLARMOR
  2715. if Choice = Q then signal MENU
  2716. signal MENU
  2717.  
  2718. BUYWEAPON:
  2719. w = b
  2720. CALL MESSAGE CLS
  2721. CALL MESSAGE "                   "BluCya"  Macy's Department Store Weapons  "RESET
  2722. CALL MESSAGE BLU" ----------------------------------------------------------------------"
  2723. CALL MESSAGE YEL"   A."MAG" Squirt Gun                         "RED"Rank:"MAG" 1   "GRE" Price:"MAG" $100   "
  2724. CALL MESSAGE YEL"   B."MAG" Spitwad Launcher                   "RED"Rank:"MAG" 2   "GRE" Price:"MAG" $2000  "
  2725. CALL MESSAGE YEL"   C."MAG" Frisbee                            "RED"Rank:"MAG" 3   "GRE" Price:"MAG" $10000  "
  2726. CALL MESSAGE YEL"   D."MAG" Laser Tag Gun                      "RED"Rank:"MAG" 4   "GRE" Price:"MAG" $25000 "
  2727. CALL MESSAGE YEL"   E."MAG" Paint Ball Gun                     "RED"Rank:"MAG" 5   "GRE" Price:"MAG" $40000 "
  2728. CALL MESSAGE YEL"   F."MAG" Darts                              "RED"Rank:"MAG" 6   "GRE" Price:"MAG" $55000 "
  2729. CALL MESSAGE YEL"   G."MAG" Baseball                           "RED"Rank:"MAG" 7   "GRE" Price:"MAG" $75000 "
  2730. CALL MESSAGE YEL"   H."MAG" Bart Simpson Doll                  "RED"Rank:"MAG" 8   "GRE" Price:"MAG" $85000 "
  2731. CALL MESSAGE YEL"   I."MAG" Chainsaw                           "RED"Rank:"MAG" 9   "GRE" Price:"MAG" $100000"
  2732. CALL MESSAGE YEL"   J."MAG" Teenage Mutant Ninja Turtles Doll  "RED"Rank:"MAG" 10  "GRE" Price:"MAG" $200000"
  2733. CALL MESSAGE YEL"   K."MAG" New Kids On The Block Poster       "RED"Rank:"MAG" 11  "GRE" Price:"MAG" $420000"
  2734. CALL MESSAGE YEL"   L."MAG" New Kids On The Block CD           "RED"Rank:"MAG" 12  "GRE" Price:"MAG" $750000"RESET
  2735. CALL MESSAGE YEL"   M."MAG" Atomic Can-Opener                  "RED"Rank:"MAG" 13  "GRE" Price:"MAG" $1400000"RESET
  2736. CALL MESSAGE YEL"   N."MAG" Guile (here you can buy Wisdom?-)  "RED"Rank:"MAG" 14  "GRE" Price:"MAG" $3000000"RESET
  2737. CALL MESSAGE " "
  2738. CALL MESSAGE WHI"                               Press Q To Quit      "
  2739. CALL MESSAGE " "
  2740. OPTIONS PROMPT CYA"You have $"WHI||money||CYA".  What weapon do you want?"BLU"> "RESET
  2741. PULL Choice 
  2742. if checkBBS() then signal BYE
  2743. if Choice = "Q" then signal MENU
  2744. if Choice = "A" then do
  2745.    if weapon = wep1 then signal ALREADYHAVE
  2746.    if money < 10 then signal NOMONEY
  2747.    money = money - 10
  2748.    weapon = wep1
  2749.    call BOT
  2750.   end
  2751. if Choice = "B" then do
  2752.    if weapon = wep2 then signal ALREADYHAVE
  2753.    if money < 2000 then signal NOMONEY
  2754.    money = money - 2000
  2755.    weapon = wep2
  2756.    call BOT
  2757.   end
  2758. if Choice = "C" then do
  2759.    if weapon = wep3 then signal ALREADYHAVE
  2760.    if money < 10000 then signal NOMONEY
  2761.    money = money - 10000
  2762.    weapon = wep3
  2763.    call BOT
  2764.   end
  2765. if Choice = "D" then do
  2766.    if weapon = wep4 then signal ALREADYHAVE
  2767.    if money < 25000 then signal NOMONEY
  2768.    money = money - 25000
  2769.    weapon = wep4
  2770.    call BOT
  2771.   end
  2772. if Choice = "E" then do
  2773.    if weapon = wep5 then signal ALREADYHAVE
  2774.    if money < 40000 then signal NOMONEY
  2775.    money = money - 40000
  2776.    weapon = wep5
  2777.    call BOT
  2778.   end
  2779. if Choice = "F" then do
  2780.    if weapon = wep6 then signal ALREADYHAVE
  2781.    if money < 55000 then signal NOMONEY
  2782.    money = money - 55000
  2783.    weapon = wep6
  2784.    call BOT
  2785.   end
  2786. if Choice = "G" then do
  2787.    if weapon = wep7 then signal ALREADYHAVE
  2788.    if money < 75000 then signal NOMONEY
  2789.    money = money - 75000
  2790.    weapon = wep7
  2791.    call BOT
  2792.   end
  2793. if Choice = "H" then do
  2794.    if weapon = wep8 then signal ALREADYHAVE
  2795.    if money < 85000 then signal NOMONEY
  2796.    money = money - 85000
  2797.    weapon = wep8
  2798.    call BOT
  2799.   end
  2800. if Choice = "I" then do
  2801.    if weapon = wep9 then signal ALREADYHAVE
  2802.    if money < 100000 then signal NOMONEY
  2803.    money = money - 100000
  2804.    weapon = wep9
  2805.    call BOT
  2806.   end
  2807. if Choice = "J" then do
  2808.    if weapon = wep10 then signal ALREADYHAVE
  2809.    if money < 200000 then signal NOMONEY
  2810.    money = money - 200000
  2811.    weapon = wep10
  2812.    call BOT
  2813.   end
  2814. if Choice = "K" then do
  2815.    if weapon = wep11 then signal ALREADYHAVE
  2816.    if money < 420000 then signal NOMONEY
  2817.    money = money - 420000
  2818.    weapon = wep11
  2819.    call BOT
  2820.   end
  2821. if Choice = "L" then do
  2822.    if weapon = wep12 then signal ALREADYHAVE
  2823.    if money < 750000 then signal NOMONEY
  2824.    money = money - 750000
  2825.    weapon = wep12
  2826.    call BOT
  2827.   end
  2828. if Choice = "M" then do
  2829.    if weapon = wep13 then signal ALREADYHAVE
  2830.    if money < 1400000 then signal NOMONEY
  2831.    money = money - 1400000
  2832.    weapon = wep13
  2833.    call BOT
  2834.   end
  2835. if Choice = "N" then do
  2836.    if weapon = wep14 then signal ALREADYHAVE
  2837.    if money < 3000000 then signal NOMONEY
  2838.    money = money - 3000000
  2839.    weapon = wep14
  2840.    call BOT
  2841.   end
  2842. signal BUYWEAPON
  2843.  
  2844. BUYARMOR:
  2845. w = a
  2846. CALL MESSAGE CLS
  2847. CALL MESSAGE "                  "BluCya"  Macy's Department Store Vehicles  "RESET
  2848. CALL MESSAGE BLU" ----------------------------------------------------------------------"
  2849. CALL MESSAGE YEL"   A."MAG" Barbie Ferrari                     "RED"Rank:"MAG" 1   "GRE" Price:"MAG" $100   "
  2850. CALL MESSAGE YEL"   B."MAG" Roller Skates                      "RED"Rank:"MAG" 2   "GRE" Price:"MAG" $2000  "
  2851. CALL MESSAGE YEL"   C."MAG" Vision Skateboard                  "RED"Rank:"MAG" 3   "GRE" Price:"MAG" $10000  "
  2852. CALL MESSAGE YEL"   D."MAG" Go-Cart                            "RED"Rank:"MAG" 4   "GRE" Price:"MAG" $25000 "
  2853. CALL MESSAGE YEL"   E."MAG" 10-Speed Bike                      "RED"Rank:"MAG" 5   "GRE" Price:"MAG" $40000 "
  2854. CALL MESSAGE YEL"   F."MAG" Suzuki Motorbike                   "RED"Rank:"MAG" 6   "GRE" Price:"MAG" $55000 "
  2855. CALL MESSAGE YEL"   G."MAG" BMW Motorcycle                     "RED"Rank:"MAG" 7   "GRE" Price:"MAG" $75000 "
  2856. CALL MESSAGE YEL"   H."MAG" Yugo                               "RED"Rank:"MAG" 8   "GRE" Price:"MAG" $85000 "
  2857. CALL MESSAGE YEL"   I."MAG" Volkswagon                         "RED"Rank:"MAG" 9   "GRE" Price:"MAG" $100000"
  2858. CALL MESSAGE YEL"   J."MAG" Ferrari F40                        "RED"Rank:"MAG" 10  "GRE" Price:"MAG" $200000"
  2859. CALL MESSAGE YEL"   K."MAG" Corvette Mako Shark                "RED"Rank:"MAG" 11  "GRE" Price:"MAG" $420000"
  2860. CALL MESSAGE YEL"   L."MAG" Stealth Bomber                     "RED"Rank:"MAG" 12  "GRE" Price:"MAG" $750000"RESET
  2861. CALL MESSAGE YEL"   M."MAG" Nulcear Submarine                  "RED"Rank:"MAG" 13  "GRE" Price:"MAG" $1400000"RESET
  2862. CALL MESSAGE YEL"   N."MAG" Starship USS Enterprise            "RED"Rank:"MAG" 14  "GRE" Price:"MAG" $3000000"RESET
  2863. CALL MESSAGE " "
  2864. CALL MESSAGE WHI"                               Press Q To Quit      "
  2865. CALL MESSAGE " "
  2866. OPTIONS PROMPT CYA"You have $"WHI||money||CYA".  What vehicle do you want?"BLU"> "RESET
  2867. PULL Choice 
  2868. if checkBBS() then signal BYE
  2869. if Choice = "Q" then signal MENU
  2870. if Choice = "A" then do
  2871.    if armor = arm1 then signal ALREADYHAVEA
  2872.    if money < 10 then signal NOMONEYA
  2873.    money = money - 10
  2874.    armor = arm1
  2875.    call BOT
  2876.   end
  2877. if Choice = "B" then do
  2878.    if armor = arm2 then signal ALREADYHAVEA
  2879.    if money < 2000 then signal NOMONEYA
  2880.    money = money - 2000
  2881.    armor = arm2
  2882.    call BOT
  2883.   end
  2884. if Choice = "C" then do
  2885.    if armor = arm3 then signal ALREADYHAVEA
  2886.    if money < 10000 then signal NOMONEYA
  2887.    money = money - 10000
  2888.    armor = arm3
  2889.    call BOT
  2890.   end
  2891. if Choice = "D" then do
  2892.    if armor = arm4 then signal ALREADYHAVEA
  2893.    if money < 25000 then signal NOMONEYA
  2894.    money = money - 25000
  2895.    armor = arm4
  2896.    call BOT
  2897.   end
  2898. if Choice = "E" then do
  2899.    if armor = arm5 then signal ALREADYHAVEA
  2900.    if money < 40000 then signal NOMONEYA
  2901.    money = money - 40000
  2902.    armor = arm5
  2903.    call BOT
  2904.   end
  2905. if Choice = "F" then do
  2906.    if armor = arm6 then signal ALREADYHAVEA
  2907.    if money < 55000 then signal NOMONEYA
  2908.    money = money - 55000
  2909.    armor = arm6
  2910.    call BOT
  2911.   end
  2912. if Choice = "G" then do
  2913.    if armor = arm7 then signal ALREADYHAVEA
  2914.    if money < 75000 then signal NOMONEYA
  2915.    money = money - 75000
  2916.    armor = arm7
  2917.    call BOT
  2918.   end
  2919. if Choice = "H" then do
  2920.    if armor = arm8 then signal ALREADYHAVEA
  2921.    if money < 85000 then signal NOMONEYA
  2922.    money = money - 85000
  2923.    armor = arm8
  2924.    call BOT
  2925.   end
  2926. if Choice = "I" then do
  2927.    if armor = arm9 then signal ALREADYHAVEA
  2928.    if money < 100000 then signal NOMONEYA
  2929.    money = money - 100000
  2930.    armor = arm9
  2931.    call BOT
  2932.   end
  2933. if Choice = "J" then do
  2934.    if armor = arm10 then signal ALREADYHAVEA
  2935.    if money < 200000 then signal NOMONEYA
  2936.    money = money - 200000
  2937.    armor = arm10
  2938.    call BOT
  2939.   end
  2940. if Choice = "K" then do
  2941.    if armor = arm11 then signal ALREADYHAVEA
  2942.    if money < 420000 then signal NOMONEYA
  2943.    money = money - 420000
  2944.    armor = arm11
  2945.    call BOT
  2946.   end
  2947. if Choice = "L" then do
  2948.    if armor = arm12 then signal ALREADYHAVEA
  2949.    if money < 750000 then signal NOMONEYA
  2950.    money = money - 750000
  2951.    armor = arm12
  2952.    call BOT
  2953.   end
  2954. if Choice = "M" then do
  2955.    if armor = arm13 then signal ALREADYHAVEA
  2956.    if money < 1400000 then signal NOMONEYA
  2957.    money = money - 1400000
  2958.    armor = arm13
  2959.    call BOT
  2960.   end
  2961. if Choice = "L" then do
  2962.    if armor = arm14 then signal ALREADYHAVEA
  2963.    if money < 3000000 then signal NOMONEYA
  2964.    money = money - 3000000
  2965.    armor = arm14
  2966.    call BOT
  2967.   end
  2968. signal BUYARMOR
  2969.  
  2970. BOT:
  2971. CALL MESSAGE CLS
  2972. CALL MESSAGE " "
  2973. if w = a then CALL MESSAGE MAG center("You have bought a "WHI||armor||MAG"!",78)
  2974. if w = b then CALL MESSAGE MAG center("You have bought a "WHI||weapon||MAG"!",78)
  2975. CALL MESSAGE " "
  2976. call delay(110)
  2977. return
  2978.  
  2979. SELLWEAPON:
  2980. CALL MESSAGE " "
  2981. CALL MESSAGE MAG" Macy's will take your weapon for half price."RESET
  2982. CALL MESSAGE " "
  2983. OPTIONS PROMPT YEL"Are You Sure (y/N)? "RESET
  2984. PULL Choice 
  2985. if checkBBS() then signal BYE
  2986. CALL MESSAGE " "
  2987. if Choice = "Y" then do
  2988.    if weapon = wep1 then do
  2989.       CALL MESSAGE RED"Macy's won't take that piece of junk!"
  2990.       call delay(110)
  2991.       signal MENU
  2992.      end
  2993.    if weapon = wep2 then do
  2994.       CALL MESSAGE CYA"Macy's pays you $1000!"
  2995.       weapon = wep1
  2996.       money = money + 1000
  2997.       call delay(110)
  2998.       signal MENU
  2999.      end
  3000.    if weapon = wep3 then do
  3001.       CALL MESSAGE CYA"Macy's pays you $5000!"
  3002.       weapon = wep1
  3003.       money = money + 5000
  3004.       call delay(110)
  3005.       signal MENU
  3006.      end
  3007.    if weapon = wep4 then do
  3008.       CALL MESSAGE CYA"Macy's pays you $12500!"
  3009.       weapon = wep1
  3010.       money = money + 12500
  3011.       call delay(110)
  3012.       signal MENU
  3013.      end
  3014.    if weapon = wep5 then do
  3015.       CALL MESSAGE CYA"Macy's pays you $20000!"
  3016.       weapon = wep1
  3017.       money = money + 20000
  3018.       call delay(110)
  3019.       signal MENU
  3020.      end
  3021.    if weapon = wep6 then do
  3022.       CALL MESSAGE CYA"Macy's pays you $27500!"
  3023.       weapon = wep1
  3024.       money = money + 27500
  3025.       call delay(110)
  3026.       signal MENU
  3027.      end
  3028.    if weapon = wep7 then do
  3029.       CALL MESSAGE CYA"Macy's pays you $37500!"
  3030.       weapon = wep1
  3031.       money = money + 37500
  3032.       call delay(110)
  3033.       signal MENU
  3034.      end
  3035.    if weapon = wep8 then do
  3036.       CALL MESSAGE CYA"Macy's pays you $42500!"
  3037.       weapon = wep1
  3038.       money = money + 42500
  3039.       call delay(110)
  3040.       signal MENU
  3041.      end
  3042.    if weapon = wep9 then do
  3043.       CALL MESSAGE CYA"Macy's pays you $50000!"
  3044.       weapon = wep1
  3045.       money = money + 50000
  3046.       call delay(110)
  3047.       signal MENU
  3048.      end
  3049.    if weapon = wep10 then do
  3050.       CALL MESSAGE CYA"Macy's pays you $100000!"
  3051.       weapon = wep1
  3052.       money = money + 100000
  3053.       call delay(110)
  3054.       signal MENU
  3055.      end
  3056.    if weapon = wep11 then do
  3057.       CALL MESSAGE CYA"Macy's pays you $210000!"
  3058.       weapon = wep1
  3059.       money = money + 210000
  3060.       call delay(110)
  3061.       signal MENU
  3062.      end
  3063.    if weapon = wep12 then do
  3064.       CALL MESSAGE CYA"Macy's pays you $375000!"
  3065.       weapon = wep1
  3066.       money = money + 375000
  3067.       call delay(110)
  3068.       signal MENU
  3069.      end
  3070.    if weapon = wep13 then do
  3071.       CALL MESSAGE CYA"Macy's pays you $700000!"
  3072.       weapon = wep1
  3073.       money = money + 700000
  3074.       call delay(110)
  3075.       signal MENU
  3076.      end
  3077.    if weapon = wep14 then do
  3078.       CALL MESSAGE CYA"Macy's pays you $1500000!"
  3079.       weapon = wep1
  3080.       money = money + 1500000
  3081.       call delay(110)
  3082.       signal MENU
  3083.      end
  3084.    end
  3085. signal MENU
  3086.  
  3087. SELLARMOR:
  3088. CALL MESSAGE " "
  3089. CALL MESSAGE MAG" Macy's will take your vehicle for half price."RESET
  3090. CALL MESSAGE " "
  3091. OPTIONS PROMPT YEL"Are You Sure (y/N)? "RESET
  3092. PULL Choice 
  3093. if checkBBS() then signal BYE
  3094. CALL MESSAGE " "
  3095. if Choice = "Y" then do
  3096.    if armor = arm1 then do
  3097.       CALL MESSAGE RED"Macy's won't take that piece of junk!"
  3098.       call delay(110)
  3099.       signal MENU
  3100.      end
  3101.    if armor = arm2 then do
  3102.       CALL MESSAGE CYA"Macy's pays you $1000!"
  3103.       armor = arm1
  3104.       money = money + 1000
  3105.       call delay(110)
  3106.       signal MENU
  3107.      end
  3108.    if armor = arm3 then do
  3109.       CALL MESSAGE CYA"Macy's pays you $5000!"
  3110.       armor = arm1
  3111.       money = money + 5000
  3112.       call delay(110)
  3113.       signal MENU
  3114.      end
  3115.    if armor = arm4 then do
  3116.       CALL MESSAGE CYA"Macy's pays you $12500!"
  3117.       armor = arm1
  3118.       money = money + 12500
  3119.       call delay(110)
  3120.       signal MENU
  3121.      end
  3122.    if armor = arm5 then do
  3123.       CALL MESSAGE CYA"Macy's pays you $20000!"
  3124.       armor = arm1
  3125.       money = money + 20000
  3126.       call delay(110)
  3127.       signal MENU
  3128.      end
  3129.    if armor = arm6 then do
  3130.       CALL MESSAGE CYA"Macy's pays you $27500!"
  3131.       armor = arm1
  3132.       money = money + 27500
  3133.       call delay(110)
  3134.       signal MENU
  3135.      end
  3136.    if armor = arm7 then do
  3137.       CALL MESSAGE CYA"Macy's pays you $37500!"
  3138.       armor = arm1
  3139.       money = money + 37500
  3140.       call delay(110)
  3141.       signal MENU
  3142.      end
  3143.    if armor = arm8 then do
  3144.       CALL MESSAGE CYA"Macy's pays you $42500!"
  3145.       armor = arm1
  3146.       money = money + 42500
  3147.       call delay(110)
  3148.       signal MENU
  3149.      end
  3150.    if armor = arm9 then do
  3151.       CALL MESSAGE CYA"Macy's pays you $50000!"
  3152.       armor = arm1
  3153.       money = money + 50000
  3154.       call delay(110)
  3155.       signal MENU
  3156.      end
  3157.    if armor = arm10 then do
  3158.       CALL MESSAGE CYA"Macy's pays you $100000!"
  3159.       armor = arm1
  3160.       money = money + 100000
  3161.       call delay(110)
  3162.       signal MENU
  3163.      end
  3164.    if armor = arm11 then do
  3165.       CALL MESSAGE CYA"Macy's pays you $210000!"
  3166.       armor = arm1
  3167.       money = money + 210000
  3168.       call delay(110)
  3169.       signal MENU
  3170.      end
  3171.    if armor = arm12 then do
  3172.       CALL MESSAGE CYA"Macy's pays you $375000!"
  3173.       armor = arm1
  3174.       money = money + 375000
  3175.       call delay(110)
  3176.       signal MENU
  3177.      end
  3178.    if armor = arm13 then do
  3179.       CALL MESSAGE CYA"Macy's pays you $700000!"
  3180.       armor = arm1
  3181.       money = money + 700000
  3182.       call delay(110)
  3183.       signal MENU
  3184.      end
  3185.    if armor = arm14 then do
  3186.       CALL MESSAGE CYA"Macy's pays you $1500000!"
  3187.       armor = arm1
  3188.       money = money + 1500000
  3189.       call delay(110)
  3190.       signal MENU
  3191.      end
  3192.    end
  3193. signal MENU
  3194.  
  3195. ALREADYHAVE:
  3196. CALL MESSAGE CLS
  3197. CALL MESSAGE " "
  3198. CALL MESSAGE RED" YOU ALREADY HAVE THAT WEAPON! "RESET
  3199. call delay(150)
  3200. signal BUYWEAPON
  3201.  
  3202. NOMONEY:
  3203. CALL MESSAGE CLS
  3204. CALL MESSAGE " "
  3205. CALL MESSAGE RED" YOU DON'T HAVE ENOUGH MONEY TO BUY THAT WEAPON!"
  3206. if money = 0 then CALL MESSAGE MAG" --You don't have any money!"
  3207. call delay(150)
  3208. signal BUYWEAPON
  3209.  
  3210. ALREADYHAVEA:
  3211. CALL MESSAGE CLS
  3212. CALL MESSAGE " "
  3213. CALL MESSAGE RED" YOU ALREADY HAVE THAT VEHICLE! "RESET
  3214. call delay(150)
  3215. signal BUYARMOR
  3216.  
  3217. P2:
  3218. CALL MESSAGE " "
  3219. OPTIONS PROMPT WHI"O"RED"k"GRE" D"YEL"a"BLU"v"MAG"i"CYA"d"WHI","RED" e"GRE"n"YEL"t"BLU"e"MAG"r"CYA" p"WHI"a"RED"s"YEL"s"BLU"w"MAG"o"CYA"r"WHI"d "RED"#"GRE"2"YEL"!"BLU": "
  3220. PULL pass 
  3221. if checkBBS() then signal BYE
  3222. if pass = "206-744-1254" then signal CHEATIT
  3223. signal MENU
  3224.  
  3225. NOMONEYA:
  3226. CALL MESSAGE CLS
  3227. CALL MESSAGE " "
  3228. CALL MESSAGE RED" YOU DON'T HAVE ENOUGH MONEY TO BUY THAT VEHICLE!"
  3229. if money = 0 then CALL MESSAGE MAG" --You don't have any money!"
  3230. call delay(150)
  3231. signal BUYARMOR
  3232.  
  3233. QUIT:
  3234. CALL MESSAGE " "
  3235. OPTIONS PROMPT CYA"Are you sure ("GRE"n"CYA"/"RED"Y"CYA")? "RESET
  3236. PULL Choice 
  3237. if checkBBS() then signal BYE
  3238. if Choice~='N' then do
  3239.  
  3240. QUIT2:
  3241.    CALL MESSAGE CLS
  3242.    call close(news)
  3243.    CALL MESSAGE " "
  3244.    CALL MESSAGE BluCya"Saving Stats..."RESET
  3245.    call POINTCK
  3246.    call open(Fill,datapath||handle'.DAT','W')
  3247.    call writeln(Fill,turnsleft)
  3248.    call writeln(Fill,maxpoints)
  3249.    call writeln(Fill,hitpoints)
  3250.    call writeln(Fill,points)
  3251.    call writeln(Fill,money)
  3252.    call writeln(Fill,armor)
  3253.    call writeln(Fill,weapon)
  3254.    call writeln(Fill,rank)
  3255.    call writeln(Fill,canfight)
  3256.    call writeln(Fill,date)
  3257.    call writeln(Fill,deadf)
  3258.    call writeln(Fill,killer)
  3259.    call writeln(Fill,kills)
  3260.    call writeln(Fill,bmoney)
  3261.    call close(Fill)
  3262.    CALL MESSAGE " "
  3263.    CALL MESSAGE BluCya"Saved."RESET
  3264.    CALL MESSAGE " "
  3265.    CALL MESSAGE GRE"Calculating High Scores..."
  3266.    call CHECKHI
  3267.    CALL MESSAGE " "
  3268.    CALL MESSAGE RED center("Returning to "bbsname"...",78)
  3269.    CALL MESSAGE RESET
  3270.    call delay(110)
  3271.    signal DIE
  3272. end
  3273. CALL MESSAGE " "
  3274. CALL MESSAGE CYA"Returning To Main..."RESET
  3275. turnsleft = turnsleft + 1
  3276. call delay(30)
  3277. signal MENU
  3278.  
  3279. OUTTAHERE:
  3280. CALL MESSAGE CLS
  3281. CALL MESSAGE " "
  3282. call close(news)
  3283. CALL MESSAGE BluCya"Saving Stats..."RESET
  3284. call POINTCK
  3285. call open(Fill,datapath||handle'.DAT','W')
  3286. call writeln(Fill,turnsleft)
  3287. call writeln(Fill,maxpoints)
  3288. call writeln(Fill,hitpoints)
  3289. call writeln(Fill,points)
  3290. call writeln(Fill,money)
  3291. call writeln(Fill,armor)
  3292. call writeln(Fill,weapon)
  3293. call writeln(Fill,rank)
  3294. call writeln(Fill,canfight)
  3295. call writeln(Fill,date)
  3296. call writeln(Fill,deadf)
  3297. call writeln(Fill,killer)
  3298. call writeln(Fill,kills)
  3299. call writeln(Fill,bmoney)
  3300. call close(Fill)
  3301. CALL MESSAGE " "
  3302. CALL MESSAGE BluCya"Saved."RESET
  3303. CALL MESSAGE " "
  3304. CALL MESSAGE GRE"Calculating High Scores..."
  3305. call CHECKHI
  3306. CALL MESSAGE " "
  3307. CALL MESSAGE RED center("Returning to "bbsname"...",78)
  3308. CALL MESSAGE RESET
  3309. call delay(110)
  3310. signal DIE
  3311.  
  3312. BYE:
  3313. call close(news)
  3314. call POINTCK
  3315. call open(File,datapath||handle'.DAT','W')
  3316. call writeln(File,turnsleft)
  3317. call writeln(File,maxpoints)
  3318. call writeln(File,hitpoints)
  3319. call writeln(File,points)
  3320. call writeln(File,money)
  3321. call writeln(File,armor)
  3322. call writeln(File,weapon)
  3323. call writeln(File,rank)
  3324. call writeln(File,canfight)
  3325. call writeln(File,date)
  3326. call writeln(File,deadf)
  3327. call writeln(File,killer)
  3328. call writeln(File,kills)
  3329. call writeln(File,bmoney)
  3330. call close(File)
  3331. call CHECKHI
  3332. signal DIE
  3333.  
  3334. POINTCK:
  3335. call EVENER
  3336. if turnsleft = '' then turnsleft = 2
  3337. if maxturns = 21 then maxturns = 26
  3338. if maxturns = '' then maxturns = 26
  3339. if canfight = '' then canfight = 4
  3340. if deadf = '' then deadf = 0
  3341. if killer = '' then killer = "NOBODY"
  3342. if weapon = '' then weapon = wep1
  3343. if weapon = wep1 then po1 = 100
  3344. if weapon = wep2 then po1 = 200
  3345. if weapon = wep3 then po1 = 400
  3346. if weapon = wep4 then po1 = 800
  3347. if weapon = wep5 then po1 = 1600
  3348. if weapon = wep6 then po1 = 3200
  3349. if weapon = wep7 then po1 = 6400
  3350. if weapon = wep8 then po1 = 12800
  3351. if weapon = wep9 then po1 = 25600
  3352. if weapon = wep10 then po1 = 51200
  3353. if weapon = wep11 then po1 = 102400
  3354. if weapon = wep12 then po1 = 204800
  3355. if weapon = wep13 then po1 = 409600
  3356. if weapon = wep14 then po1 = 819200
  3357. if armor = '' then armor = arm1
  3358. if armor = arm1 then po2 = 100
  3359. if armor = arm2 then po2 = 200
  3360. if armor = arm3 then po2 = 400
  3361. if armor = arm4 then po2 = 800
  3362. if armor = arm5 then po2 = 1600
  3363. if armor = arm6 then po2 = 3200
  3364. if armor = arm7 then po2 = 6400
  3365. if armor = arm8 then po2 = 12800
  3366. if armor = arm9 then po2 = 25600
  3367. if armor = arm10 then po2 = 51200
  3368. if armor = arm11 then po2 = 102400
  3369. if armor = arm12 then po2 = 204800
  3370. if armor = arm13 then po2 = 409600
  3371. if armor = arm14 then po2 = 819200
  3372. if bmoney = '' then bmoney = 0
  3373. if money = '' then money = 0
  3374. po3 = money + bmoney
  3375. if rank = '' then rank = ran1
  3376. if rank = ran1 then po4 = 500
  3377. if rank = ran2 then po4 = 1000
  3378. if rank = ran3 then po4 = 2000
  3379. if rank = ran4 then po4 = 4000
  3380. if rank = ran5 then po4 = 6000
  3381. if rank = ran6 then po4 = 8000
  3382. if rank = ran7 then po4 = 10000
  3383. if rank = ran8 then po4 = 15000
  3384. if rank = ran9 then po4 = 30000
  3385. if rank = ran10 then po4 = 45000
  3386. if rank = ran11 then po4 = 60000
  3387. if rank = ran12 then po4 = 80000
  3388. if rank = ran13 then po4 = 90000
  3389. if rank = ran14 then po4 = 100000
  3390. if hitpoints = '' then hitpoints = 30
  3391. po5 = hitpoints * 10
  3392. if maxpoints = '' then maxpoints = 30
  3393. po6 = maxpoints * 10
  3394. if ~DATATYPE(kills,'N') then kills = 0
  3395. po7 = kills * 1000
  3396. /* say po1'-'po2'-'po3'-'po4'-'po5'-'po6'-'po7 */
  3397. points=po1+po2+po3+po4+po5+po6+po7
  3398. return
  3399.  
  3400. CHECKHI:
  3401. call HICL
  3402. call open(play,datapath'Players','W')
  3403. do i = 1 to howm
  3404.    if PRank.i ~= -1 then do
  3405.     call writeln(play,PRank.i' 'PHandle.i)
  3406.    end
  3407. end
  3408. call close(play)
  3409. call open(dc,datapath'STATS','W')
  3410. call writeln(dc,date)
  3411. call writeln(dc,day)
  3412. call writeln(dc,howm)
  3413. call close(dc)
  3414. call HICK
  3415. call open(top10,datapath'TopOnes','W')
  3416. do i = 1 to 10
  3417. call writeln(top10,topscore.i' 'topalias.i)
  3418. end
  3419. call close(top10)
  3420. return
  3421.  
  3422. DIE:
  3423. exit
  3424.  
  3425. SLITS:           /* Thanks a lot for some of this routine Mike! */
  3426. ESC = ''
  3427. RESET = ''
  3428. CLL = '                                                                     '
  3429. POS = 'H'
  3430. POS1 = 'H'
  3431. POS2 = 'H'
  3432. POS3 = 'H'
  3433. POS4 = 'H'
  3434. POS5 = 'H'
  3435. POS6 = 'H'
  3436. POS7 = 'H'
  3437. POS8 = '5H'
  3438. POS9 = '5H'
  3439. POS10 = '5H'
  3440. POS11 = '5H'
  3441. POS12 = '5H'
  3442. POS13 = '5H'
  3443. POS14 = '5H'
  3444. POS15 = '5H'
  3445. POS16 = '5H'
  3446. POS17 = '5H'
  3447. POS18 = '5H'
  3448. POS19 = '5H'
  3449. POS20 = '5H'
  3450. POS21 = '5H'
  3451. WHITEONRED = ''
  3452. BLACKONYELLOW = ''
  3453. YELLOWONBLUE = ''
  3454. CYANONBLACK = ''
  3455. YELLOWONBLACK = ''
  3456. PURPLEONBLACK = ''
  3457. BLUEONBLACK = ''
  3458. REDONYELLOW = ''
  3459. REDONBLUE = ''
  3460. BLACK = ''
  3461.  
  3462. bet = 0
  3463. Tl = 0
  3464. Dl = 0
  3465.  
  3466. BEAN:
  3467. CALL MESSAGE CLS
  3468. CALL MESSAGE " "
  3469. CALL MESSAGE "                          "BluCya"   Playing The Slots   "RESET
  3470. CALL MESSAGE " "
  3471. OPTIONS PROMPT MAG"You have $"money" "BLU"["YEL"Q"BLU"]"MAG" Quits -- Your bet (Max 5000)?"BLU"> "RESET
  3472. if checkBBS() then signal BYE
  3473. PULL Bet 
  3474. if Bet = 0 | Bet = 'Q' then signal WHATTHEHELL
  3475. if Bet > money | Bet > 5000 then do
  3476. CALL MESSAGE " "
  3477. CALL MESSAGE "Sorry "handle", you can't bet that much!"
  3478. call delay(100)
  3479. signal BEAN
  3480.  end
  3481.  if Bet = '' | Bet = ' ' | Bet <= . then signal BEAN
  3482. else
  3483. CALL MESSAGE "  "
  3484. CALL MESSAGE POS3 CLL POS3 "Bet taken..."
  3485. signal BEANS
  3486.  
  3487. BEANS:
  3488. OPTIONS PROMPT POS4 CLL POS4 CYA"Press 'P' to pull for your chance at big bucks! > "
  3489. PULL chr 
  3490. if checkBBS() then signal BYE
  3491. if chr = 'P' then do
  3492. CALL MESSAGE POS6 CLL POS6'     Your slots: '
  3493. call ROLL
  3494. numslots = 1
  3495. do for 3
  3496. call ROLL
  3497. numslots=numslots+1
  3498. end
  3499. call OUTPUT
  3500. numslots = 1
  3501. do for 3
  3502. call ROLL
  3503. numslots=numslots+1
  3504. end
  3505. call OUTPUT
  3506. numslots = 1
  3507. do for 3
  3508. call ROLL
  3509. numslots=numslots+1
  3510. end
  3511. call OUTPUT
  3512. numslots = 1
  3513. do for 3
  3514. call ROLL
  3515. numslots=numslots+1
  3516. end
  3517. call OUTPUT
  3518. call COMPARE
  3519. end
  3520. else signal WHATTHEHELL
  3521.  
  3522. ROLL:
  3523. slots.numslots = RANDOM(1,6,Time('s'))
  3524. slot.numslots = slots.numslots
  3525.   if slots.numslots = 1 then do
  3526.     slot.numslots = '='
  3527.   end
  3528.   if slots.numslots = 2 then do
  3529.     slot.numslots = '?'
  3530.   end
  3531.   if slots.numslots = 3 then do
  3532.     slot.numslots = '#'
  3533.   end
  3534.   if slots.numslots = 4 then do
  3535.     slot.numslots = '$'
  3536.   end
  3537.   if slots.numslots = 5 then do
  3538.     slot.numslots = '*'
  3539.   end
  3540.   if slots.numslots = 6 then do
  3541.     slot.numslots = '7'
  3542.   end
  3543. RETURN
  3544.  
  3545. OUTPUT:
  3546. if checkBBS() then signal BYE
  3547. CALL MESSAGE POS7 CLL POS7'                                             '
  3548. do i = 1 to numslots-1
  3549. CALL NOCR '  -<->- '
  3550. end
  3551. CALL MESSAGE ''
  3552. do i = 1 to numslots-1
  3553. CALL NOCR ' |     |'
  3554. end
  3555. CALL MESSAGE ''
  3556. do i = 1 to numslots-1
  3557. CALL NOCR ' |  'slot.i'  |'
  3558. end
  3559. CALL MESSAGE ''
  3560. do i = 1 to numslots-1
  3561. CALL NOCR ' |     |'
  3562. end
  3563. CALL MESSAGE ''
  3564. do i = 1 to numslots-1
  3565. CALL NOCR ' |ooooo|'
  3566. end
  3567. CALL MESSAGE ''
  3568. do i = 1 to numslots-1
  3569. CALL NOCR '   < >  '
  3570. end
  3571. CALL MESSAGE ''
  3572. call delay(50)
  3573. RETURN
  3574.  
  3575. COMPARE:
  3576. if slot.1 = slot.2 & slot.1 ~= slot.3 then signal WINNER
  3577. if slot.2 = slot.3 & slot.2 ~= slot.1 then signal WINNER
  3578. if slot.1 = slot.2 & slot.1 = slot.3 then signal WINNER1
  3579.  else money = money - bet
  3580. if purse = 0 | purse < 0 then signal OUTTACASH
  3581.  else signal LOSER
  3582.  
  3583. WINNER:
  3584. CALL MESSAGE " "
  3585. CALL MESSAGE POS15 CLL POS15 "You won double your bet which was "bet*2"!"
  3586. CALL MESSAGE " "
  3587. money=money+(bet*2)
  3588. call DBL
  3589. signal WHATTHEHELL
  3590.  
  3591. WINNER1:
  3592. CALL MESSAGE " "
  3593. CALL MESSAGE POS15 CLL POS15 "You won triple your bet which was "bet*3"!"
  3594. CALL MESSAGE " "
  3595. money=money+(bet*3)
  3596. call TPL
  3597. signal WHATTHEHELL
  3598.  
  3599. LOSER:
  3600. CALL MESSAGE " "
  3601. CALL MESSAGE POS15 CLL POS15 "You didn't win your bet!"
  3602. call delay(100)
  3603. signal WHATTHEHELL
  3604.  
  3605. WHATTHEHELL:
  3606. CALL MESSAGE " "
  3607. OPTIONS PROMPT POS17 CLL POS17 "Do you want to continue playing (Y/N)? "
  3608. PULL ans 
  3609. if checkBBS() then signal BYE
  3610. if ans = 'Y' then signal BEAN
  3611. if ans = 'N' then signal VEGAS
  3612. if ans ~= 'N' | ans ~= 'Y' then signal WHATTHEHELL
  3613. signal WHATTHEHELL
  3614.  
  3615. TPL:
  3616. Tl=Tl+1
  3617. if Tl = 5 then call BROKEN
  3618. RETURN
  3619.  
  3620. DBL:
  3621. Dl=Dl+1
  3622. if Dl = 8 then call BROKEN
  3623. RETURN
  3624.  
  3625. OUTTACASH:
  3626. CALL MESSAGE CLS
  3627. CALL MESSAGE "    "
  3628. CALL MESSAGE POS17 CLL POS17 "You ain't got no money left! Boy, you sure did a lousy job!"
  3629. CALL MESSAGE "    "
  3630. call delay(100)
  3631. CALL MESSAGE POS18 CLL POS18 "Well since you're outta cash, we'll help you outta here!"
  3632. signal VEGAS
  3633.  
  3634. BROKEN:
  3635. CALL MESSAGE CLS
  3636. CALL MESSAGE "    "
  3637. CALL MESSAGE POS14 CLL POS14 "The Casino Manager wants to talk to you now!"
  3638. CALL MESSAGE "    "
  3639. call delay(100)
  3640. CALL MESSAGE POS15 CLL POS15 "It appears he isn't too happy with your Playing Skills!"
  3641. call delay(100)
  3642. CALL MESSAGE POS16 CLL POS16 "I'm afraid I will have to ask you to leave now, you won too much!"
  3643. CALL MESSAGE POS17 CLL POS17 "You Broke the Bank!! Try again later if you feel lucky...."
  3644. CALL MESSAGE "     "
  3645. call delay(100)
  3646. signal VEGAS
  3647.  
  3648.  
  3649. checkBBS:
  3650. IF ADDRESS()~='BAUD' THEN RETURN 0
  3651. IF TIME('e')>secs THEN RETURN 1
  3652. dcd
  3653. IF RC=0 THEN RETURN 1
  3654. temp=secs-TIME('E')
  3655. IF temp<120 THEN SAY '*** Only' temp 'seconds left! ***'CR 
  3656. RETURN 0
  3657.  
  3658.  
  3659. CRAPS:          /* Thanks to D.F. Duck for some of this routine! */
  3660. if money <= 0 then do
  3661.    turnsleft = turnsleft + 1
  3662.    CALL MESSAGE CLS
  3663.    CALL MESSAGE " "
  3664.    CALL MESSAGE RED center("YOU NEED MONEY TO PLAY THIS GAME!",78)
  3665.    CALL MESSAGE " "
  3666.    call delay(150)
  3667.    return
  3668.   end
  3669. CALL MESSAGE CLS
  3670. CALL MESSAGE "                         "BluCya"   Playing Craps   "RESET
  3671. CALL MESSAGE " "
  3672. call MAIN
  3673. return
  3674.  
  3675. Main:
  3676.         RollNum = 0
  3677.         RollOld = 0
  3678.         call Bet
  3679.         call RollIt
  3680. return
  3681.  
  3682. Bet:
  3683.         CALL MESSAGE " "
  3684.                 CALL MESSAGE BLU" You have $"CYA||money||BLU".  Maximum bet is $"CYA"5000"BLU"."RESET
  3685.                 OPTIONS PROMPT CYA" How much do you wish to bet "BLU"["YEL"Q"BLU"]"CYA" To Quit?: "RESET
  3686.                 PULL TimeBet 
  3687.                 if checkBBS() then signal BYE
  3688.                 if TimeBet = "q" | TimeBet = "Q" then signal VEGAS
  3689.                 if money < TimeBet then do
  3690.                    CALL MESSAGE CLS
  3691.                    CALL MESSAGE " "
  3692.                    CALL MESSAGE RED"              YOU DON'T HAVE ENOUGH MONEY TO BET THAT MUCH!"RESET
  3693.                    CALL MESSAGE " "
  3694.                    call delay(150)
  3695.                    call BET
  3696.                    return
  3697.                 end
  3698.                 if TimeBet = 1 then Minutes = "Dollar"
  3699.                 else Minutes = "Dollars"
  3700.                 if TimeBet < 1 then call BET
  3701.                 if TimeBet > 5000 then call BET
  3702.                 if TimeBet = "" | TimeBet = " " then signal VEGAS
  3703. return
  3704.  
  3705. RollIt:
  3706.    do forever
  3707.         CALL MESSAGE " "
  3708.         OPTIONS PROMPT "Press ["RED"RETURN"RESET"] To Roll... "
  3709.         PULL YesPlay 
  3710.         if checkBBS() then signal BYE
  3711.         call Roller
  3712.     end
  3713. return
  3714.  
  3715. Roller:
  3716.         CALL MESSAGE CLS
  3717.         RollNum = RollNum + 1
  3718.         CALL MESSAGE "Roll #"RollNum
  3719.         CALL MESSAGE " "
  3720.         Rand1 = RANDOM(1,6,Time('s'))
  3721.         DicePos = ""
  3722.         DiceSet = insert("Dice",Rand1)
  3723.         interpret "call" DiceSet
  3724.         Rand2 = RANDOM(1,6,Time('s'))
  3725.         DicePos = "        "
  3726.         DiceSet = insert("Dice",Rand2)
  3727.         interpret "call" DiceSet
  3728.         CALL MESSAGE " "
  3729.         RandSum = Rand1 + Rand2
  3730.         CALL MESSAGE "You Rolled A "RandSum"."
  3731.         CALL MESSAGE " "
  3732.         if RandSum = 7 | RandSum = 11 then do
  3733.                 if RollNum = 1 then call Win
  3734.                 else call Lost
  3735.                 end
  3736.         if RollNum = 1 then RollOld = RandSum
  3737.         if RollOld = RandSum then do
  3738.                 if RollNum ~= 1 then call Win
  3739.                 end
  3740.         CALL MESSAGE "You Need Another "GRE||RollOld||RESET" To Win!"
  3741. return
  3742.  
  3743.  
  3744. Win:
  3745.         if RollNum = 1 then do
  3746.                 CALL MESSAGE "You Rolled A "RandSum" On The 1st Roll Which "GRE"Doubles"RESET" Your Bet!"
  3747.                 TimeBet = TimeBet * 2
  3748.         end
  3749.         CALL MESSAGE "Craps! You "RED"Won "TimeBet" "Minutes||RESET"!"
  3750.         money = money + TimeBet
  3751.         if TimeBet = 1 then Minutes = "Dollar"
  3752.         else Minutes = "Dollars"
  3753.         call Again
  3754.         signal VEGAS
  3755. return
  3756.  
  3757.  
  3758. Lost:
  3759.         CALL MESSAGE "You Crapped Out, You "GRE"Lost "TimeBet" "Minutes||RESET"!"
  3760.         if TimeBet = 1 then Minutes = "Dollar"
  3761.         else Minutes = "Dollars"
  3762.         money = money - TimeBet
  3763.         call Again
  3764.         signal Vegas
  3765. return
  3766.  
  3767.  
  3768. Again:
  3769.         CALL MESSAGE " "
  3770.         OPTIONS PROMPT GRE"Do You Want To Play Again (Y/N)? "RESET
  3771.         PULL PlayAgain
  3772.         if checkBBS() then signal BYE
  3773.         if PlayAgain = "y" | PlayAgain = "Y" then call CRAPS
  3774.         if PlayAgain = "n" | PlayAgain = "N" then signal VEGAS
  3775. return
  3776.  
  3777. Dice1:
  3778.         CALL MESSAGE DicePos||WHIBLK"       "RESET
  3779.         CALL MESSAGE DicePos||WHIBLK"   *   "RESET
  3780.         CALL MESSAGE DicePos||WHIBLK"       "RESET
  3781. return
  3782.  
  3783. Dice2:
  3784.         CALL MESSAGE DicePos||WHIBLK"     * "RESET
  3785.         CALL MESSAGE DicePos||WHIBLK"       "RESET
  3786.         CALL MESSAGE DicePos||WHIBLK" *     "RESET
  3787. return
  3788.  
  3789. Dice3:
  3790.         CALL MESSAGE DicePos||WHIBLK"     * "RESET
  3791.         CALL MESSAGE DicePos||WHIBLK"   *   "RESET
  3792.         CALL MESSAGE DicePos||WHIBLK" *     "RESET
  3793. return
  3794.  
  3795. Dice4:
  3796.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3797.         CALL MESSAGE DicePos||WHIBLK"       "RESET
  3798.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3799. return
  3800.  
  3801. Dice5:
  3802.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3803.         CALL MESSAGE DicePos||WHIBLK"   *   "RESET
  3804.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3805. return
  3806.  
  3807. Dice6:
  3808.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3809.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3810.         CALL MESSAGE DicePos||WHIBLK" *   * "RESET
  3811. return
  3812.  
  3813.  
  3814. MESSAGE:
  3815. PARSE ARG string 
  3816. SAY string||CR
  3817. RETURN
  3818.  
  3819.  
  3820. NOCR:
  3821. PARSE ARG string 
  3822. x=OPEN(f,'*','W')
  3823. IF x=0 THEN RETURN
  3824. CALL WRITECH(f,string)
  3825. CALL CLOSE(f)
  3826. RETURN
  3827.  
  3828.  
  3829. BREAK_C:
  3830. BREAK_E:
  3831. SAY 'Exiting back to BBS...'CR
  3832. EXIT
  3833.  
  3834. /* YuppieWars.rexx */
  3835.