TRIGEDIT-VARIABLES-ROOMS

building

Also known as: ROOM-VARIABLES · %WEATHER% · %ID% · %NAME% · %DIRECTION% · %ACTOR.ROOM% · TRIGEDIT-ROOM-VAR · %VNUM% · CONTENTS · %CONTENTS% · %ROOMS% · ROOM-VARS · PEOPLE · %PEOPLE% · %ROOM% · %ROOM.DIR% · ROOM.ID · ROOM.PEOPLE · %ROOM.PEOPLE% · ROOM.VNUM · RANDOM.DIR · %RANDOM.DIR%

Rooms When using field - The variable returns: contents - The id of the first obj in the room. <dir> - The list of flags affecting the exit in the specified direction: north Usage: %<dir>(<subfield>)% Possible subfields include: south subfield, (vnum) - vnum of room in direction. east subfield, (key) - vnum of key to use. %self.north(key)% west subfield, (bits) - CLOSED LOCKED, etc. up subfield, (room) - room variable for room in direction. down no subfield: same as (bits). hasattached() - Checks if the trig is attached. HELP HASATTACHED. id - The unique id of the room. name - The name of the room. people - The id of the first mob or player in the room, or an empty return. random.dir - Chooses a random valid direction. roomflag() - Checks if roomflag exists. HELP ROOMFLAGS TSTAT 1220 sector - The sector type of the room. vnum() - The room's vnum. Equality can now be checked with if %self.vnum(#)% not if %self.vnum% == # weather - current weather: sunny, cloudy, rainy, or lightning TSTAT 41098. zonename - The name of the zone. zonenumber - The zone number. Example: TSTAT 29 See also:: VARIABLES