mud/lib/cmds/creators/vis.c
2020-09-06 05:43:07 -07:00

24 lines
542 B
C

// /bin/dev/_vis.c
// from the Dead Souls mudlib
// created by Descartes of Borg october 1992
#include <lib.h>
inherit LIB_DAEMON;
varargs int cmd(string str){
if(!this_player()->GetInvis()){
notify_fail("You are already visible.\n");
return 0;
}
this_player()->SetInvis(0);
message ("my_action", "You step out of the shadows.", this_player());
return 1;
}
string GetHelp(){
return "Syntax: vis\n\n"
"Makes you visible if you weren't already."
"\nSee also: invis";
}