I wrote this for a send_to_zone and I can't tell why it's not working. It
actually seems to be sending to everybody... which sucks.
void send_to_zone(char *messg, int zone)
{
struct descriptor_data *i;
if (messg)
for (i = descriptor_list; i; i = i->next)
if (!i->connected && i->character &&
world[i->character->in_room].zone == zone)
SEND_TO_Q(messg, i->character->desc);
}
Could someone be so kind as to wade through my ignorance and tell me where I
missed the boat?
Thanks!
Nino
This archive was generated by hypermail 2b30 : 12/07/00 PST