[Circle] [NEWBIE] Looking up Real Zone number

From: Nic Suzor (suzor@bluesky.net.au)
Date: 11/30/96


Hi,

i am adding a command for my heroes, similar to the FORCE command. now, the
command itself works well, but i wanted to add a check like this:

if (the room that ch is in is not part of zone = get_zone_permission(ch))
   send_to_char("you may not blah blah blah", ch);

now, the problem is, i dont know how to look up a virtual zone number to
compare it to get_zone_permission or whatever. i have a feeling it looks
something like zone_table[], but i really dont know. could someone please
point me in the right direction?

thanks

Nic Suzor
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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