From: "Edward Felch" <dustlos@HOTMAIL.COM>
> 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))
--snip--
It looks like you should change the above line to:
(world[IN_ROOM(i->character)].zone == zone))
Then you would pass 2 as your second parameter to indicate rooms
200-299.
Mike
--
+---------------------------------------------------------------+
| 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