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

#include <lib.h>

inherit LIB_DAEMON;

varargs int cmd()
{
    if((int)this_player()->GetInvis()) {
	notify_fail("You are already invisible.\n");
	return 0;
    }
    this_player()->SetInvis(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\nSee also: vis");
}
