$Log$
+ Revision 591.23 2002/05/14 01:27:18 error
+ * Minor cosmetic changes, extraneous double spaces etc.
+
Revision 591.22 2002/05/14 01:15:54 error
* Idle threshold on the who list is now customizable in the citadel.rc
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
newmailcount = extract_int(&aaa[4], 9);
if (newmailcount > 0) {
color(BRIGHT_RED);
- scr_printf("*** You have new mail\n");
+ scr_printf("*** You have %d new mail message%s\n",
+ newmailcount - oldmailcount,
+ (newmailcount - oldmailcount == 1) ?
+ "" : "s");
color(DIM_WHITE);
}
status_line(serv_info.serv_humannode, serv_info.serv_bbs_city,
extern char rc_username[32];
extern char rc_password[32];
extern char rc_floor_mode;
+extern int rc_idle_threshold;
#ifdef HAVE_OPENSSL
extern char rc_encrypt; /* from the citadel.rc file */
extern char arg_encrypt; /* from the command line */
/* old server -- use inline paging */
if (serv_info.serv_paging_level == 0) {
- newprompt("Message: ", msg, 69);
+ newprompt("Message: ", msg, 69);
snprintf(buf, sizeof buf, "SEXP %s|%s", touser, msg);
serv_puts(buf);
serv_gets(buf);
void readinfo(void)
{ /* read info file for current room */
char cmd[SIZ];
+ char raide[64];
- snprintf(cmd, sizeof cmd, "RINF");
- serv_puts(cmd);
+ /* Name of currernt room aide */
+ serv_puts("GETA");
+ serv_gets(cmd);
+ if (cmd[0] == '2') {
+ safestrncpy(raide, &cmd[4], sizeof raide);
+ scr_printf("Room aide is %s.\n\n", raide);
+ } else {
+ strcpy(raide, "");
+
+ serv_puts("RINF");
serv_gets(cmd);
if (cmd[0] != '1') {
}
fmout(screenwidth, NULL, NULL,
- ((userflags & US_PAGINATOR) ? 1 : 0), screenheight, 0, 1);
+ ((userflags & US_PAGINATOR) ? 1 : 0), screenheight,
+ (*raide) ? 2 : 0, 1);
}