New do_who: With some problems

From: Abraham Dizon (soldier2003@hotmail.com)
Date: 06/29/01


I got a problem with my ACMD(do_who). I implemented this snippet and I got a
problem. It says unused variable godlevs. I removed the variable and got
tons of errors that pissed me off. Next I got a problem that says undeclared
boot_high.

Part of the Snippet:
----------------------

  const char *godlevs[LVL_IMPL - (LVL_IMMORT-1)] = {
    "    &02Demi God&00   ",
    "   &05Lesser God&00  ",
    "  &04Greater God&00  ",
    "     &12Forger&00    "
  };


------------------------ End of Part of a Snippet ----------------

Boot_high snippet:
------------------

  if ((gods + morts) > boot_high)
    boot_high = gods+morts;
  sprintf(buf, "%s&06Total visible players: &04%d&00.\r\n", buf,
gods+morts);
  sprintf(buf, "%s&13Maximum number of players on this boot:
&00&04%d&00.\r\n",
buf, boot_high);
  send_to_char(buf, ch);

------------------------------ End of Part of Boot_high snippet-------

Any input is welcome. I might figure out the prob soon heh. Laters

-Hero


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/05/01 PST