vis.c

lima-1.0b5/lib/cmds/wiz/vis.c · 503 B

From the archive lima-1.0b5+driver.tar.gz

Download the archive   « Back to the archive contents

/* Do not remove the headers from this file! see /USAGE for more info. */

// Rust

//:COMMAND
//$$ see: invis
//USAGE: vis
//
//This command will let you turn visible to players

#include <setbit.h>
#include <daemons.h>

inherit CMD;

private void main()
{
  string msg;
  if (this_body()->is_visible())
    printf("You are not invisible.\n");
  else
  {
    this_body()->set_visibility(1);
    FINGER_D->update_me();
    this_body()->do_player_message("vis");
    out("You are now visible.\n");
  }
}

Site Stats

Snippets: 1791
Codebases: 571