Re: Getting the current zone #

From: Brian Pape (bpape@ezl.com)
Date: 06/27/96


>    I am setting up multiple hometowns in my MUD and I want to make rent free if
> you are renting in your hometown but for it cost money to rent in another
> hometown.  In order to do this I need to make some kind of check on the current
> zone a character is in vs. his/her hometown.  I am not sure how to go about
> getting the current zone the player is in.  Is there anyway I can use the
> ch-in_room variable to get the zone #?

world[ch->in_room].zone

you might prefer to check for the vnum of the room they are in though,
unless you have multiple rent areas per hometown.

Taran.
Reign of Towers
bpape@ezl.com
bpape@bill.gates.will.turn.the.internet.into.a.total.wasteland.org



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