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 >
Wrap
Text File
|
1988-09-23
|
2KB
|
54 lines
PREFERRED USER CHAT MOD v1.1
by DOUG FIELDS
9/23/88
The arc file PCHAT11.ARC, contains this file, PCHAT.DOC.
This is a mod to allow PREFERRED users to initiate a chat request even if the
"Sysop Not Available" status is active. After this mod is in, and by setting a
users AR to 'P', will allow that user to request chat regardless of what the
sysop status is. So, for you Sysops that leave your chat status as 'Not
Available" most of the time will now be able to allow certain preferred users
the ability to request chats. This mod was suggested by the sysop of Caesar's
Palace BBS (213-398-1224) and so here it is. It is a relatively simple mod.
FIRST
All of the code mods are in void reqchat(), which is in BBSUTL.C.
-- if (restrict_chat & thisuser.restrict) LEGEND
-- ok=0; -- Existing Lines
-* if (ok || (thisuser.ar & 0x8000)) { -* Changed Lines
** ** New Lines
-- if (chatcall) {
-- chatcall=0;
-- pl("Chat call turned off.");
-- topscreen();
-- } else {
** if ((thisuser.ar & 0x8000) & !ok)
** pl("Note: This is preferred user chat - don't abuse!");
-- help=3;
-- prt(2,"Reason: ");
-- inputl(s,70);
-- if (s[0]) {
-- chatcall=1;
** if ((thisuser.ar & 0x8000) && !ok)
** strcpy(chatreason, "Preferred user chat: ");
** else
-- strcpy(chatreason,"Chat: ");
-- strcat(chatreason,s);
SECOND
Recompile and then go into //uedit and assign a AR of 'P' to those users who
you want to have preferred user chat capability.
Have Fun!!
Doug Fields
100 Midwood Road
Greenwich, CT 06830-3837
203-661-2967(voice) 203-324-8960(BBS)