home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / MODSUNKN.ZIP / TWIRPAUS.MOD < prev    next >
Text File  |  1990-09-01  |  2KB  |  92 lines

  1. Harley Man #1 @8855
  2. Tue Aug 28 17:36:54 1990
  3.  
  4. 3----====From:7The BIKER'S BBS        .7Phone #: 818-338-31303====----
  5.  
  6.               /******************/
  7.               /* Double Twirly  */
  8.               /*    Cursor      */
  9.               /*     mod        */
  10.               /******************/
  11. /* What this mod does is it makes a < >PAUSE< > message with a twirly cursor
  12. in each bracket thing... */
  13.  
  14. /* STEP ONE */
  15. /* Load up COM.C and replace VOID PAUSESCR() with the following fuction... */
  16.  
  17.  
  18. void pausescr()
  19. /* This will pause output, displaying the <|>PAUSE<|> message, and wait for
  20. a key to be hit. */
  21. {
  22. int i,pause;
  23.  
  24. if (okansi()) {
  25.   i = curatr;
  26.   setc((thisuser.sysstatus & sysstatus_color) ? thisuser.colors[3] :
  27.   thisuser.bwcolors[3]);
  28.      outstr("                                            \x1b[11D");
  29.        ansic(3);
  30.        outstr("< >Pause< >\x1b[2D");
  31.        do {
  32.        if (inkey()!=0)
  33.      break;
  34.        ansic(1);
  35.        outstr("|\x1b[9D");
  36.        outstr("|\x1b[7C");
  37.        if (inkey()!=0)
  38.      break;
  39.        ansic(1);
  40.        outstr("\\\x1b[9D");
  41.        outstr("\\\x1b[7C");
  42.        if (inkey()!=0)
  43.      break;
  44.        ansic(1);
  45.        outstr("-\x1b[9D");
  46.        outstr("-\x1b[7C");
  47.        if (inkey()!=0)
  48.       break;
  49.        ansic(1);
  50.        outstr("/\x1b[9D");
  51.        outstr("/\x1b[7C");
  52.     }
  53.     while(inkey()==0);
  54.       setc(i);
  55.       outstr("  \b\b\b\b\b\b\b\b\b\b\b           \x1b[44D");
  56.  
  57. /*The rest of this is for the non-color users*/
  58.  
  59.     }   else {
  60.        outstr("                                 < >PAUSE< >\x1b[2D");
  61.         do {
  62.             if (inkey()!=0)
  63.           break;
  64.         outstr("|\x1b[9D");
  65.         outstr("|\x1b[7C");
  66.             if (inkey()!=0)
  67.           break;
  68.         outstr("\\\x1b[9D");
  69.         outstr("\\\x1b[7C");
  70.             if (inkey()!=0)
  71.           break;
  72.         outstr("-\x1b[9D");
  73.         outstr("-\x1b[7C");
  74.             if (inkey()!=0)
  75.           break;
  76.         outstr("/\x1b[9D");
  77.         outstr("/\x1b[7C");
  78.         }
  79.         while(inkey()==0);
  80.           outstr("  ");
  81.           for (i = 0; i < 44;i++)
  82.           backspace();    /*new end*/
  83.      }
  84. }
  85.  
  86.  
  87.  
  88. /* This idea originally came from Golden Dragon, Remote Sysop of Phantasy
  89. Zone 3, but his original mod didn't work, so I re-wrote it and I came up with
  90. this...I probably wouldn't have ever finished this mod woothout Golden
  91. Dragon's idea of using escape sequences to move the cursor, which I had
  92. absent-mondedly forgot about...Oh well, Here's the mod