_brief.c

tmi2_fluffos_v2/lib/cmds/ghost/_brief.c · 416 B

From the archive tmi2_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)
*/

inherit "/std/cmd_m";

int cmd_brief() {
   int brief;
   brief = (int)previous_object()->query("brief");
   if(brief) {
      write("Verbose mode.\n");
      this_player()->set("brief", 0);
   } else {
      write("Brief mode.\n");
      this_player()->set("brief", 1);
   }
   return 1;
}

Site Stats

Snippets: 1791
Codebases: 571