<html><head><title>
POO lib: social verbs
</title></head><body><center>
<h3>POO Library</h3>
<h1>Social Verbs</h1>
</center>

Here's a simple function and a set of commands which define common
nonverbal communication -- nodding, waving, smiling, growling, and so on.
Just log in to your POO as a wizard, and paste the following commands:

<hr>
<pre>
"Creating $agent.social..."
@newfunc $agent.social(self, adverb='')
# first, find what the social verb is
verb = string.split(gCmdLine)[0] + 's'
# now construct the message and show it
if adverb: msg = "%1D %1:(" + verb + ") " + adverb + "."
else: msg = "%1D %1:(" + verb + ")."
show( msg, {1:user} )
.x

"Defining various social commands...
@cmd $agent.nod calls social()
@cmd $agent.nod &lt;str&gt; calls social(%1)

@cmd $agent.grin calls social()
@cmd $agent.grin &lt;str&gt; calls social(%1)

@cmd $agent.think calls social()
@cmd $agent.think &lt;str&gt; calls social(%1)

@cmd $agent.grimace calls social()
@cmd $agent.grimace &lt;str&gt; calls social(%1)

@cmd $agent.ack calls social()
@cmd $agent.ack &lt;str&gt; calls social(%1)

@cmd $agent.grok calls social()
@cmd $agent.grok &lt;str&gt; calls social(%1)

@cmd $agent.wave calls social()
@cmd $agent.wave &lt;str&gt; calls social(%1)

@cmd $agent.frown calls social()
@cmd $agent.frown &lt;str&gt; calls social(%1)

@cmd $agent.smile calls social()
@cmd $agent.smile &lt;str&gt; calls social(%1)

@cmd $agent.growl calls social()
@cmd $agent.growl &lt;str&gt; calls social(%1)

@cmd $agent.bow calls social()
@cmd $agent.bow &lt;str&gt; calls social(%1)
</pre><hr>

<h3>For the help database:</h3><pre>
social
&lt;social verb&gt; [&lt;adverb&gt;]
Various social verbs are defined for nonverbal communication.  These
include nod, grin, think, grimace, ack, grok, wave, frown, smile, and
bow.  Each may be used alone, or with an adverb, as shown in these
examples:

   grimace
   wave happily
   nod thoughtfully
</pre>

<p><hr>
<address>
http://www.strout.net/python/poo/lib/social.html
<br>Last Updated:
6/05/97
. . . . . . <a href="http://www.strout.net/">Joe Strout</a>
</address>
</body></html>