_invis.c

foundationI_fluffos_v1/lib/cmds/creator/_invis.c · 528 B

From the archive foundation1_fluffos_v1.zip

Download the archive   « Back to the archive contents

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

#include <std.h>

inherit DAEMON;

varargs int cmd_invis(string str)
{
   if((int)this_player()->query_invis()) {
	notify_fail("You are already invisible.\n");
	return 0;
    }
    this_player()->set_invis(1);
    message("my_action", "You fade into the shadows.", this_player());
   return 1;
}

void help()
{
    write("Syntax: <invis>\n\nMakes you invisible to players of lower levels in all circumstances.\n");
}

Site Stats

Snippets: 1791
Codebases: 571