TinyMUX

SEARCH CLASSES

Topics

SEARCH CLASSES

You may use the following classes in @search commands and search() function calls:

ClassDescription
TYPERestricts to objects of the indicated type (OBJECTS, ROOMS, EXITS, PLAYERS). THINGS may be used as an alias for OBJECTS.
NAMERestricts to objects whose names start with the restriction.
OBJECTSA combination of TYPE=OBJECT and NAME=restriction.
THINGSAn alias for OBJECTS.
ROOMSA combination of TYPE=ROOM and NAME=restriction.
EXITSA combination of TYPE=EXIT and NAME=restriction.
PLAYERSA combination of TYPE=PLAYER and NAME=restriction.
FLAGSRestricts to objects which have the flags listed in the restriction set.
POWERRestricts to objects which have the specified power.
EVALEvaluates the restriction for each object, replacing ## with the object’s database number. Evaluations that return TRUE (ie, not 0 or #-1) are selected.
ZONERestricts to objects that are in the indicated zone.
EOBJECTA combination of TYPE=OBJECT and EVAL=restriction.
ETHINGAn alias for EOBJECT.
EROOMA combination of TYPE=ROOM and EVAL=restriction.
EEXITA combination of TYPE=EXIT and EVAL=restriction.
EPLAYERA combination of TYPE=PLAYER and EVAL=restriction.
PARENTRestricts to the parent designated by the restriction.