home *** CD-ROM | disk | FTP | other *** search
/ The Devil's Doorknob BBS Capture (1996-2003) / devilsdoorknobbbscapture1996-2003.iso / Dloads / WWIVMODS / MODSUNKN.ZIP / PCHAT11.DOC < prev    next >
Text File  |  1988-09-23  |  2KB  |  54 lines

  1.                             PREFERRED USER CHAT MOD v1.1
  2.                                 by DOUG FIELDS
  3.                                     9/23/88
  4.                                        
  5.  
  6.   The arc file PCHAT11.ARC, contains this file, PCHAT.DOC.
  7.  
  8.   This is a mod to allow PREFERRED users to initiate a chat request even if the
  9. "Sysop Not Available" status is active.  After this mod is in, and by setting a
  10. users AR to 'P', will allow that user to request chat regardless of what the 
  11. sysop status is.  So, for you Sysops that leave your chat status as 'Not
  12. Available" most of the time will now be able to allow certain preferred users 
  13. the ability to request chats.  This mod was suggested by the sysop of Caesar's
  14. Palace BBS (213-398-1224) and so here it is. It is a relatively simple mod.
  15.  
  16.                                      FIRST
  17.  
  18.   All of the code mods are in void reqchat(), which is in BBSUTL.C.
  19.  
  20. --  if (restrict_chat & thisuser.restrict)                    LEGEND
  21. --    ok=0;                                               --  Existing Lines
  22. -*  if (ok || (thisuser.ar & 0x8000)) {                   -*  Changed Lines
  23. **                                                        **  New Lines
  24. --    if (chatcall) {
  25. --      chatcall=0;
  26. --      pl("Chat call turned off.");
  27. --      topscreen();
  28. --    } else {
  29. **      if ((thisuser.ar & 0x8000) & !ok)
  30. **        pl("Note: This is preferred user chat - don't abuse!");
  31. --      help=3;
  32. --      prt(2,"Reason: ");
  33. --      inputl(s,70);
  34. --      if (s[0]) {
  35. --        chatcall=1;
  36. **        if ((thisuser.ar & 0x8000) && !ok)
  37. **          strcpy(chatreason, "Preferred user chat: ");
  38. **          else
  39. --        strcpy(chatreason,"Chat: ");
  40. --        strcat(chatreason,s);
  41.  
  42.  
  43.                                    SECOND
  44.  
  45.   Recompile and then go into //uedit and assign a AR of 'P' to those users who
  46. you want to have preferred user chat capability.
  47.  
  48. Have Fun!!
  49.  
  50.  
  51. Doug Fields
  52. 100 Midwood Road                          
  53. Greenwich, CT 06830-3837                     
  54. 203-661-2967(voice)  203-324-8960(BBS)