Difference between pages "TRIGEDIT-VARIABLES-ROOMS ROOM-VARIABLES WEATHER ID NAME DIRECTION TRIGEDIT-ROOM-VAR VNUM CONTENTS CONTENTS ROOMS ROOM-VARS" and "AT WAT MAT OAT"

From 4Dimensions
(Difference between pages)
Jump to: navigation, search
(Bot: Automated import of articles)
 
m
 
Line 1: Line 1:
'''TRIGEDIT-VARIABLES-ROOMS ROOM-VARIABLES WEATHER ID NAME DIRECTION TRIGEDIT-ROOM-VAR VNUM CONTENTS CONTENTS ROOMS ROOM-VARS '''
+
'''AT WAT MAT OAT'''
 
[[Category:Help Files]]
 
[[Category:Help Files]]
 +
[[Category:Building]]
  
TRIGEDIT-VARIABLES-ROOMS ROOM-VARIABLES %WEATHER% %ID% %NAME% %DIRECTION% TRIGEDIT-ROOM-VAR %VNUM% CONTENTS %CONTENTS% %ROOMS% ROOM-VARS
+
%AT% WAT MAT OAT
  
TRIGEDIT-VARIABLES-ROOMS ROOM-VARIABLES %WEATHER% %ID% %NAME% %DIRECTION% TRIGEDIT-ROOM-VAR %VNUM% CONTENTS %CONTENTS% %ROOMS% ROOM-VARS
+
%AT% WAT MAT OAT
  
TRIGEDIT-VARIABLES-ROOMS ROOM-VARIABLES %WEATHER% %ID% %NAME% %DIRECTION% TRIGEDIT-ROOM-VAR %VNUM% CONTENTS %CONTENTS% %ROOMS% ROOM-VARS
+
%AT% WAT MAT OAT
  
  
  
Rooms When using field - The variable returns:
+
%at% <target> <command>
  
  
contents - The id of the first obj in the room.
 
  
(dir)    - The list of flags affecting the exit in the specified direction:
+
Using %at% will perform the command in the room where target is found.
  
north, south, east, west, up or down. The result is either:
 
  
subfield, "vnum"  - vnum of room in direction
 
  
subfield, "key"  - vnum of key to use
+
Example: {cRTSTAT 19{c0
  
subfield, "bits"  - CLOSED LOCKED, etc.
+
{cRTSTAT 20{c0
 
 
subfield, "room"  - room variable for room in direction
 
 
 
no subfield: same as 'bits'. %self.north(key)%
 
 
 
id      - The unique id of the room.
 
 
 
name    - The name of the room.
 
 
 
people  - The id of the first character in the room, or an empty return.
 
 
 
sector  - The sector type of the room.
 
 
 
vnum    - The room's vnum.
 
 
 
weather  - current weather: sunny, cloudy, rainy, or lightning {cRTSTAT 41098{c0.
 
 
 
 
 
 
 
Example: {cRTSTAT 29{c0
 

Latest revision as of 15:10, 13 July 2017

AT WAT MAT OAT

%AT% WAT MAT OAT

%AT% WAT MAT OAT

%AT% WAT MAT OAT


%at% <target> <command>


Using %at% will perform the command in the room where target is found.


Example: {cRTSTAT 19{c0

{cRTSTAT 20{c0