Toggle command

From: Del Minturn (caminturn@EARTHLINK.NET)
Date: 08/24/98


I added this in to show some of the immortal toggles.
Just thought I would share this with everyone. I didn't make a diff,
just copied and pasted it here..

ACMD(do_toggle)
{
  if (IS_NPC(ch))
    return;
+  if (GET_LEVEL(ch) >= LVL_IMMORT) {
+   sprintf(buf,
+          "      No Hassle: %-3s    "
+          "      Holylight: %-3s    "
+          "      Roomflags: %-3s\r\n",
+          ONOFF(!PRF_FLAGGED(ch, PRF_NOHASSLE)),
+          ONOFF(PRF_FLAGGED(ch, PRF_HOLYLIGHT)),
+          ONOFF(PRF_FLAGGED(ch, PRF_ROOMFLAGS)));
+   send_to_char(buf, ch);
+   }


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST