_vis.c

foundationI_fluffos_v1/lib/cmds/creator/_vis.c · 520 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

//      /bin/dev/_vis.c
//      from the Nightmare mudlib
//      created by Descartes of Borg october 1992

#include <std.h>

inherit DAEMON;

varargs int cmd_vis(string str)
{
   if(!this_player()->query_invis()) {
	notify_fail("You are already visible.\n");
	return 0;
    }
    this_player()->set_invis(0);
    message("my_action", "You step out of the shadows.", this_player());
   return 1;
}


int help()
{
  write( @EndText
Syntax: vis
Effect: Makes you visible if you wern't already.
EndText
  );
  return 1;
}

Site Stats

Snippets: 1791
Codebases: 571