oops, sorry, i made a mistake here, what im looking for is a check to make sure the mobile being forced is part of the zone, not the room in which they are in. so it should be: if(mobile is not part of zone = get_zone_permission(ch)) thanks :) At 08:46 PM 11/30/96 +1100, Nic Suzor wrote: >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? +-----------------------------------------------------------+ | 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