MAILER_O.C

LIB3/OBJ/MISC/MAILER_O.C · 443 B

From the archive nm4dos.zip

Download the archive   « Back to the archive contents

inherit "/std/object";

void    setup()
{
    set_name( "mailer" );
    set_short( "Mailer object" );
    set_long( 
		 "It is shaped like a flat hedgehog with a frog "
		 + "protruding from its mouth. Try 'mail' "
		 + "to use it.\n" );
}				/* setup() */

void    init()
{
    add_action( "do_mail", "mail" );
}				/* init() */

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

Site Stats

Snippets: 1791
Codebases: 571