drop.c

tmuck2.4/src/builtins/drop.c · 451 B

From the archive tmuck2.4.tar.gz

Download the archive   « Back to the archive contents

/* Copyright (c) 1992 by David Moore.  All rights reserved. */
/* drop.c,v 2.3 1993/04/08 20:24:38 dmoore Exp */
#include "config.h"

#include "db.h"
#include "match.h"
#include "externs.h"


void do_drop_message(const dbref player, const char *name, const char *message, const char *ignore)
{
    dbref thing;

    thing = match_controlled(player, name);
    if (thing != NOTHING) {
	SetDrop(thing, message);
	notify(player, "Message set.");
    }
}

Site Stats

Snippets: 1791
Codebases: 571