_brief.c

nightmare3_fluffos_v2/lib/cmds/mortal/_brief.c · 621 B

From the archive nightmare3_fluffos_v2.zip

Download the archive   « Back to the archive contents

/*
// The "brief" command.
// toggle your verbosity.
// Part of the TMI mudlib, of course!
// Written by Buddha(2-19-92)
*/

#include <std.h>

inherit DAEMON;

int cmd_brief() {
   this_player()->set_brief();
   if(this_player()->query_verbose()) write("Verbose mode.\n");
   else write("Brief mode.\n");
   return 1;
}

int help()
{
  write( @EndText
Syntax: brief
Effect: Toggles you between brief and verbose modes
        In brief mode you get shorter room descriptions on entering them
        Useful when going through a lot of well known rooms fast
See also: look, lines, ansi, autowrap
EndText
  );
  return 1;
}

Site Stats

Snippets: 1791
Codebases: 571