mailer_ob.c

skylib_fluffos_v3/mudlib/obj/misc/mailer_ob.c · 574 B

From the archive skylib_fluffos_v3.zip

Download the archive   « Back to the archive contents

inherit "/std/object";

int do_mail(string str);

void setup() {
  set_name("mailer");
  set_short( "mailer object" );
  set_long("It is a small black box with pictures of small red demons "
           "painted on "+
           "the front.  Though, some of them look suspicously like frogs.\n");
  set_weight(1);
  reset_drop();
} /* setup() */

void init() {
  add_command("mail", "", (: do_mail(0) :) );
  add_command("mail", "<string>", (: do_mail($4[0]) :) );
} /* init() */

int do_mail(string str) {
  return (int)"/handlers/mail_track"->mail(str);
} /* do_mail() */

Site Stats

Snippets: 1791
Codebases: 571