prev | toc | next
 

2.1.6 Output Types

Searches with @find and the related commands (@owned, @contents, and @entrances) may also be narrowed by object type and several other values, and may return additional information such as the objects' owners and locations. The extended syntax is:

    @find <name | pattern> = <parameter> = <output type>

One or several search parameters may be used. Valid search parameters may be a type flag, a Mucker level, or the following special values:
   

U
Show only unlinked objects

@
Show only old and unused objects

~<size>
Show only objects with current memory used greater than <size>

^<size>
Show only objects with total memory used greater than <size>

An output type parameter must be typed in full; only one output type may be used per search. Valid types include:

   

owners
List owners along with objects

links
List links along with objects

size
Show memory size

count
Don't list objects: just show total found

location
Show objects' locations

Some examples:

This search would list any unlinked exits you control...
====================================
> @find = EU
  South;sout;sou;so;s(#528E)
  North;nort;nor;no;n(#533E)
  ***End of List***
  2 objects found.
====================================

This search would list any old and unused objects you control, along with their locations...
====================================
> @find = @ = location
  Faded rose(#761)         Mistral(#100)
  ***End of List***
  1 objects found.
====================================

Objects become `old and unused' if none of their `created', `modified', or `last used' timestamps is more recent than the aging_time system parameter.

This search will find all your M1 programs...
====================================
> @find = 1
  HelloWorld.muf(#976FM1)
  TrainingWheels.muf(#978FDM1)
  WhatsMyName.muf(#979FM1)
  CountMyBellyButton.muf(#980FM1)
  ***End of List***
  4 objects found.
====================================

This search will find any objects you control which use more than 2000 bytes of memory, along with the current memory size...
====================================
> @find = ~2000 = size
  Manhattan Phonebook(#1301)         1932373346 bytes.
  ***End of List***
  1 objects found.
====================================

For additional information on output types and pattern matching, see the entry for @find in the Server Command Reference (Section 2.6) and the entry for SMATCH in the MUF Reference (Section 3.2.5).

prev | toc | top | next