ofail.c
tmuck2.4/src/builtins/ofail.c · 450 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. */
/* ofail.c,v 2.3 1993/04/08 20:24:37 dmoore Exp */
#include "config.h"
#include "db.h"
#include "match.h"
#include "externs.h"
void do_ofail(const dbref player, const char *name, const char *message, const char *ignore)
{
dbref thing;
thing = match_controlled(player, name);
if (thing != NOTHING) {
SetOFail(thing, message);
notify(player, "Message set.");
}
}