User Tools

Site Tools


mud:search_classes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mud:search_classes [2019/08/08 14:56] (current)
admin created
Line 1: Line 1:
 +You may use the following classes in @search commands and search() function calls:
  
 +<​code>​
 +  TYPE      - Restricts to objects of the indicated type (OBJECTS, ROOMS,
 +              EXITS, PLAYERS). ​ THINGS may be used as an alias for OBJECTS.
 +  NAME      - Restricts to objects whose names start with <​restriction>​.
 +  OBJECTS ​  - A combination of TYPE=OBJECT and NAME=<​restriction>​.
 +  THINGS ​   - An alias for OBJECTS.
 +  ROOMS     - A combination of TYPE=ROOM and NAME=<​restriction>​.
 +  EXITS     - A combination of TYPE=EXIT and NAME=<​restriction>​.
 +  PLAYERS ​  - A combination of TYPE=PLAYER and NAME=<​restriction>​.
 +  FLAGS     - Restricts to objects which have the flags listed in
 +              <​restriction>​ set..
 +  POWER     - Restricts to objects which have the specified power.
 +  EVAL      - Evaluates the restriction for each object, replacing ##
 +              with the object'​s database number. ​ Evaluations that return
 +              TRUE (ie, not 0 or #-1) are selected.
 +  ZONE      - Restricts to objects that are in the indicated zone.
 +
 +  EOBJECT ​  - A combination of TYPE=OBJECT and EVAL=<​restriction>​.
 +  ETHING ​   - An alias for OBJECTS.
 +  EROOM     - A combination of TYPE=ROOM and EVAL=<​restriction>​.
 +  EEXIT     - A combination of TYPE=EXIT and EVAL=<​restriction>​.
 +  EPLAYER ​  - A combination of TYPE=PLAYER and EVAL=<​restriction>​.
 +  PARENT ​   - Restricts to the parent designated by <​restriction>​.
 +  ZONE      - Restricts to the zone designated by <​restriction>​.
 +
 +</​code>​
mud/search_classes.txt ยท Last modified: 2019/08/08 14:56 by admin