[DGSCRIPTS] wzoneecho - dumb question

From: Edward Felch (dustlos@hotmail.com)
Date: 03/21/01


here is some code of mine taken from wzoneecho for dgscripts:

void boat_to_zone(char *messg, int zone_rnum)
{
  struct descriptor_data *i;
  int zone;
  zone = real_zone(zone_rnum);

  if (!messg || !*messg)
    return;

  for (i = descriptor_list; i; i = i->next)
    if (!i->connected && i->character && AWAKE(i->character) &&
        (IN_ROOM(i->character) != NOWHERE) &&
        (world[IN_ROOM(i->character)].zone == zone_rnum))
      SEND_TO_Q(messg, i);
}

its to send a message to a zone, my question is, what int do i pass to it?
for zone 2 (rooms 200-299), do i send in 2 or 200 or 20?
I've tried lots of things and it doesn't want to work with me, it sends
zones to some odd zones sometimes whenever i play with the int passed in

--
   +---------------------------------------------------------------+
   | 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/04/01 PST