Re: CODE: Does TO_WORLD exist?

From: Daniel Koepke (dkoepke@california.com)
Date: 02/20/97


On Thu, 20 Feb 1997, Chris Rehbein wrote:

> on to the act() function like you can pass TO_CHAR or TO_ROOM? 

No, as TO_WORLD doesn't exist. But, in your code, doing:

  struct descriptor_data *d;

  for (d = descriptor_list; d; d = d->next) {
    if (!d->character || d->connected)
      continue;
    if (PLR_FLAGGED(d->character, PLR_MAILING) ||
        PLR_FLAGGED(d->character, PLR_WRITING))
      continue;
    act(..., ..., d->character, ..., ..., TO_CHAR);
  }

Fill in the blanks, and, as always, it was written in my mailer.


--
Daniel Koepke
dkoepke@california.com
Forgive me father, for I am sin.


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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