This is something that's VERY VERY VERY VERY easy to do, but I'm sending this to the list in case some newbie wants to know how to do it, or someone just hasn't thought of it before:) In interpreter.c (search for reconnecting): switch (mode) { case RECON: SEND_TO_Q("Reconnecting.\r\n", d); + if (has_mail(GET_IDNUM(d->character))) + send_to_char("You have mail waiting.\r\n", d->character); act("$n has reconnected.", TRUE, d->character, 0, 0, TO_ROOM); sprintf(buf, "%s [%s] has reconnected.", GET_NAME(d->character), d->host); mudlog(buf, NRM, MAX(LVL_IMMORT, GET_INVIS_LEV(d->character)), TRUE); break; Add the two + lines, every time you reconnect it will check to see if you have new mail, and if you do it will tell you. (This is helpful if your mud doesn't crash every few hours (like mine) so that you will know if you have mail each time you reconnect.) I hope this works for yah:) Corey Hoitsma AKA -= Myrddin =- ____ choitsma@netcom.com L|azmania ah.net 7000 +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/18/00 PST