[an error occurred while processing this directive]
[<a href="index.shtml">Package Index</a></code> | <a href="index_std.shtml">Mudlib Index</a></code> | <a href="index_eff.shtml">Effect Index</a></code>]<br><h2>File /std/room/basic/chatter.c</h2>
The standard chatter inheritable for room chats.  <p><b>See also:</b><br><a href="std.room.c.shtml">/std/room.c</a> and room_chat
.c<p>Written by Pinkfish<h2>Includes</h2>
This class includes the following files <a href="include.room.h.shtml">/include/room.h</a><h2>Method index</h2>
<dl><ul>
<li><a href="#add_room_chats">add_room_chats</a>(string *)<br/>
Adds more chats to the existing set of room chats
managed by this chatter object.
<li><a href="#check_chat">check_chat</a>()<br/>
Checks that the chatter is on and being activated
properly from the room_handler.
<li><a href="#query_room_chats">query_room_chats</a>()<br/>
Returns the the set of room chats
managed by this chatter object.
<li><a href="#remove_room_chats">remove_room_chats</a>(string *)<br/>
Removes chats from the set of room chats
managed by this chatter object.
<li><a href="#set_chat_min_max">set_chat_min_max</a>(int, int)<br/>
Allows the chat interval to be changed.
<li><a href="#setup_chatter">setup_chatter</a>(object, mixed *)<br/>
Gives the chatter a room to chat at and the chat args.
</ul><h2>Public Functions</h2>
These are functions that everyone can access.<p>
.<ul><a name="add_room_chats">
add_room_chats</a><pre>
void add_room_chats(string * new_chats)
</pre></br>
Adds more chats to the existing set of room chats
managed by this chatter object.
<br/><ul>
<li><b>Parameters:</b>
<br/>new_chats - an array of new chat strings
<li><b>See also:</b>
<br/>remove_room_chats.c, query_room_chats.c and /std/room/basic/chatter
.c</dl>

<ul><a name="check_chat">
check_chat</a><pre>
void check_chat()
</pre></br>
Checks that the chatter is on and being activated
properly from the room_handler. 
<br/><ul>
<li><b>See also:</b>
<br/><a href="std.room.basic.chatter.c.shtml">/std/room/basic/chatter.c</a> and /obj/handlers/room_handler
.c</dl>

<ul><a name="query_room_chats">
query_room_chats</a><pre>
mixed * query_room_chats()
</pre></br>
Returns the the set of room chats
managed by this chatter object.  
<br/><ul>
<li><b>Returns:</b>
<br/>pointer to the mixed array of chat args
<li><b>See also:</b>
<br/>add_room_chats.c, remove_room_chats.c, room_chat.c and /std/room/basic/chatter
.c<li><b>Example:</b>
<br/><pre> ({ 120, 240, ({ "A frog gimbles the curtains.",
                 "A truly revolting smell drifts insidiously "
                 "from the rug." }) })</pre></dl>

<ul><a name="remove_room_chats">
remove_room_chats</a><pre>
void remove_room_chats(string * dead_chats)
</pre></br>
Removes chats from the set of room chats
managed by this chatter object.  If there are no chats
left the chatter is destructed.
<br/><ul>
<li><b>Parameters:</b>
<br/>dead_chats - an array of chat strings to remove
<li><b>See also:</b>
<br/>add_room_chats.c, query_room_chats.c and /std/room/basic/chatter
.c</dl>

<ul><a name="set_chat_min_max">
set_chat_min_max</a><pre>
void set_chat_min_max(int min,
                      int max)
</pre></br>
Allows the chat interval to be changed.
<br/><ul>
<li><b>Parameters:</b>
<br/>min - minimum interval between chats (seconds)
<br/>max - maximum interval between chats (seconds)

</dl>

<ul><a name="setup_chatter">
setup_chatter</a><pre>
void setup_chatter(object my_room,
                   mixed * chat_args)
</pre></br>
Gives the chatter a room to chat at and the chat args.
<br/><ul>
<li><b>Parameters:</b>
<br/>my_room - room object
<br/>chat_args - chat data: ({ min, max, chats array })
<li><b>See also:</b>
<br/>room_chat.c, query_room_chats.c and /std/room/basic/chatter
.c</dl>


[an error occurred while processing this directive]

