Repository navigation
Expand file tree
/
Copy pathouttypes.html
More file actions
140 lines (121 loc) · 4.08 KB
/
Copy pathouttypes.html
File metadata and controls
140 lines (121 loc) · 4.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<html>
<head>
<title>The MUCK Manual: Output Types</title>
</head>
<body bgcolor="#FFFFFF">
<center>
<a href="patmatch.html">prev</a>|
<a href="toc.html">toc</a>|
<a href="pronounsubs.html">next</a>
</center>
<table>
<tr>
<td width="20%"> </tc>
<td>
<!-- BODY CONTENT HERE -->
<p><b>2.1.6 Output Types</b></p>
<p>Searches with <code>@find</code> and the related commands
(<code>@owned, @contents</code>, and <code>@entrances</code>) 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:</p>
<pre>
@find <name | pattern> = <parameter> = <output type>
</pre>
<p>One or several search parameters may be used. Valid search parameters
may be a type flag, a Mucker level, or the following special values:
<table>
<tr><td> </td><td>
<dl>
<p><dt> <code>U</code>
<dd>Show only unlinked objects</p>
<p><dt> <code>@</code>
<dd>Show only old and unused objects</p>
<p><dt> <code>~<size></code>
<dd>Show only objects with current memory used greater than <size></p>
<p><dt> <code>^<size></code>
<dd>Show only objects with total memory used greater than <size></p>
</dl>
</td></tr>
</table>
<p>An output type parameter must be typed in full; only one output type
may be used per search. Valid types include:</p>
<table>
<tr><td> </td><td>
<dl>
<p><dt><code>owners</code>
<dd>List owners along with objects</p>
<p><dt><code>links</code>
<dd>List links along with objects</p>
<p><dt><code>size</code>
<dd>Show memory size</p>
<p><dt><code>count</code>
<dd>Don't list objects: just show total found</p>
<p><dt><code>location</code>
<dd>Show objects' locations</p>
</dl>
</td></tr>
</table>
<p>Some examples:</p>
<p>This search would list any unlinked exits you control...<br>
<code>
====================================<br>
> @find = EU<br>
South;sout;sou;so;s(#528E)<br>
North;nort;nor;no;n(#533E)<br>
***End of List***<br>
2 objects found.<br>
====================================<br>
</code></p>
<p>This search would list any old and unused objects you control,
along with their locations...<br>
<code>
====================================<br>
> @find = @ = location<br>
Faded rose(#761) Mistral(#100)<br>
***End of List***<br>
1 objects found.<br>
====================================<br>
</code></p>
<p>Objects become `old and unused' if none of their
<code>`created',</code> <code>`modified',</code> or <code>`last
used'</code> timestamps is more recent than the <code>aging_time</code>
system parameter.</p>
<p>This search will find all your <code>M1</code> programs...<br>
<code>
====================================<br>
> @find = 1<br>
HelloWorld.muf(#976FM1)<br>
TrainingWheels.muf(#978FDM1)<br>
WhatsMyName.muf(#979FM1)<br>
CountMyBellyButton.muf(#980FM1)<br>
***End of List***<br>
4 objects found.<br>
====================================<br>
</code></p>
<p>This search will find any objects you control which use more than
2000 bytes of memory, along with the current memory size...<br>
<code>
====================================<br>
> @find = ~2000 = size<br>
Manhattan Phonebook(#1301) 1932373346 bytes.<br>
***End of List***<br>
1 objects found.<br>
====================================<br>
</code></p>
<p>For additional information on output types and pattern matching, see
the entry for <code>@find</code> in the Server Command Reference (<a
href="srvcomref.html">Section 2.6</a>) and the entry for
<code>SMATCH</code> in the <code>MUF</code> Reference (<a
href="mufref.html">Section 3.2.5</a>).</p>
<center>
<a href="patmatch.html">prev</a>|
<a href="toc.html">toc</a>|
<a href="#top">top</a>|
<a href="pronounsubs.html">next</a>
</center>
</td>
<td width="20%"> </tc>
</table>
</body>
</html>