home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / MODSUNKN.ZIP / GUESTEXT.MOD < prev    next >
Text File  |  1992-01-29  |  865b  |  16 lines

  1. This is such a simple mod, I'm including it here just in case you haven't
  2. done this already. If you are using the GUEST modification, that allows a
  3. user to logon as GUEST to look around your BBS before registering, you can
  4. add the following to BBS.C to give them the //REGISTER command. If the GUEST
  5. user types that command at the main prompt, he/she will be able to register
  6. while on-line, without having to hang-up and call back.
  7.  
  8. In BBS.C (void mainmenu):
  9.  
  10.   if (strcmp(s,"REGISTER")==0) {             /*      Add      */
  11.     if (strcmp(thisuser.name,"GUEST")==0)    /*       "       */
  12.       newuser();                             /*       "       */
  13.   }                                          /*       "       */
  14.   if (strcmp(s,"NET")==0)                    /* Existing Line */
  15.     print_net_listing();                     /*       "       */
  16.