mailer_ob.c

dw_fluffos_v1/lib/obj/misc/mailer_ob.c · 578 B

From the archive dw_fluffos_v1.tar.gz

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)"/obj/handlers/mail_track"->mail(str);
} /* do_mail() */

Site Stats

Snippets: 1791
Codebases: 571