/* Copyright (C) 1991, Marcus J. Ranum. All rights reserved. */ /* configure all options BEFORE including system stuff. */ #include "config.h" #include "mud.h" #include "vars.h" /* echo stuff back to yourself */ /* ARGSUSED */ int cmd__echo (int argc, char *argv[], char *who, char *aswho) { int ax; char *ut; ut = run_actor (); for (ax = 1; ax < argc;) { if (ax == 1 && argv[ax][0] == '#') say (ut, " ", (char *) 0); say (ut, argv[ax], (char *) 0); if (++ax < argc) say (ut, " ", (char *) 0); } say (ut, "\n", (char *) 0); return (UERR_NONE); }