god/mortwho again...

From: Brian Williams (bmw@efn.org)
Date: 06/04/96


anything wrong with this you can see? when morts are logged on, it says 
"$n leaves east." on the who listing.. dunno why though, and it works 
fine when only immorts are logged on.. thanks ahead of time

	[snip]
       send_to_char/// blah blah blah "Listing of Gods", etc etc... here 
is the code...
  if (GET_LEVEL(tch) == LVL_IMPL) {
      num_can_see++;
      sprintf(buf2, "%s[ Implementor ] %s %s",
              (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""),
              GET_NAME(tch), GET_TITLE(tch)); }
  else if (GET_LEVEL(tch) == LVL_GRGOD) {
      num_can_see++;
      sprintf(buf2, "%s[ Greater God ] %s %s",
              (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""),
              GET_NAME(tch), GET_TITLE(tch)); }
  else if (GET_LEVEL(tch) == LVL_GOD) {
      num_can_see++;
      sprintf(buf2, "%s[ Lesser God  ] %s %s",
              (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""),
              GET_NAME(tch), GET_TITLE(tch)); }
  else if (GET_LEVEL(tch) == LVL_IMMORT) {
      num_can_see++;
      sprintf(buf2, "%s[ Demi God    ] %s %s",
              (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""),
              GET_NAME(tch), GET_TITLE(tch)); }
      strcat(buf2, "\r\n");
      send_to_char(buf2, ch);
  }
  send_to_char("\r\nListing of Mortals\r\n------------------\r\n", ch);

  for (d = descriptor_list; d; d = d->next) {
    if (d->connected)
      continue;
	[snip].. <normal who listing>



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