_mark.c

untermud/CMD/_mark.c · 431 B

From the archive untermud-2.4-r22.tar.gz

Download the archive   « Back to the archive contents

/*
    Copyright (C) 1991, Marcus J. Ranum. All rights reserved.
*/

/* configure all options BEFORE including system stuff. */
#include    "config.h"
#include    "mud.h"

/*
echo back a text mark [for robots]
*/

/* ARGSUSED */
int cmd__mark (int argc, char *argv[], char *who, char *aswho)
{
  if (argc > 1)
    say (who, "#mark ", argv[1], "\n", (char *) 0);
  else
    say (who, "#mark\n", (char *) 0);
  return (UERR_NONE);
}

Site Stats

Snippets: 1791
Codebases: 571