MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

[Newbie Question :] mild problem with lambdacore



Corrections to these problems were sent out a month or so ago---indeed
you're not the only one to have noticed.  I believe the help DBs are
all in the core as appropriate, they're just not referenced properly
in the .help properties.  Use "@kids $generic_help" to find them.  The
solution to :confunc is to move mail related stuff from
$player:confunc to a newly created $mail_recipient_class:confunc.

      Judy Anderson yclept yduJ          'yduJ' rhymes with 'fudge'
 yduJ@cs.stanford.edu (personal mail)   yduJ@harlequin.com (work-related)
	Join the League for Programming Freedom, lpf@uunet.uu.net


@program $player:confunc
if (valid(cp = caller_perms()) && caller != this && !$perm_utils:controls(cp, this) && caller != #0)
  return E_PERM;
endif
this:("@last-connection")();
$news:check();
.

@program $mail_recipient_class:confunc
if (valid(cp = caller_perms()) && caller != this && !$perm_utils:controls(cp, this) && caller != #0)
  return E_PERM;
endif
nm = this:length_all_msgs() - this:length_date_le(this:get_current_message()[2]);
if (nm)
  this:notify(tostr("You have new mail (", nm, " message", nm == 1 ? "" | "s", ").", this:mail_option("expert") ? "" | "  Type 'help mail' for info on reading it."));
endif
this:mail_catch_up();
this:check_mail_lists();
pass(@args);
.


References:

Home | Subject Index | Thread Index