home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / MODSUNKN.ZIP / BEEPER.MOD < prev    next >
Text File  |  1992-12-01  |  1KB  |  42 lines

  1. Lt. Hytiek #1 @3504
  2. 03/23/90 at 1:32 pm <EST>
  3. [Msg Status] No reply needed.
  4. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  5. /****************************************************************************
  6.  
  7.             Beeper Modification v1.0
  8.             By: Lt. Hytiek #1 @3504
  9.  
  10.  
  11.  
  12.     This mod enables CERTAIN users to PAGE you if you have a digital
  13.     beeper, if they need to get in touch with you.  The only users that
  14.     can PAGE you is if they have an AR of B.
  15.  
  16. ******************************************************************************/
  17.  
  18. First Step:  Load BBS.C, go down to 'void mainmenu' and add 's3[14],s4[81];'
  19.          to the CHAR part of the void...
  20. -------------------------------------------------------------------------------
  21.  
  22. Second Step: Search down to 'if (strcmp(s,"VER")==0)' add this
  23.          code right before it.  Simple eh?
  24.  
  25. -------------------------------------------------------------------------------
  26.  
  27.   if (strcmp(s,"BEEPER")==0)
  28.     if (strcmp(thisuser.ar,3)==0) {
  29.       print("Enter your voice number (ie. ###-###-####)","");
  30.       prt(1,"Phone Number: ");
  31.       input(s3,13);
  32.       printfile("BEEPER"); /* This file goes in your GFILES dir. Explaining */
  33.       pausescr();          /* What this does.... */
  34.       dtr(0);
  35.       wait1(9);
  36.       dtr(1);
  37.       sprintf(s4,"+++{~~~~ath{~~~~~atdt(put beeper # here),,,,,%s#{~~",s3);
  38.       pr1(s4);
  39.       sleep(20);
  40.       hangup=0;
  41.     }
  42.