[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 /obj/handlers/hist_handler.c</h2>
The channel history handler. by Turrican@Discworld.
Based on the tell history.<p>Started 23-3-1995<h2>Method index</h2>
<ul>
<li><a href="#add_chat_history">add_chat_history</a>(string, string, string)<br/>
Keep a mesage from a specified line on the chat stick.
<li><a href="#add_cre_history">add_cre_history</a>(string, string)<br/>
Add the history of the creator channel.
<li><a href="#add_lord_history">add_lord_history</a>(string, string)<br/>
Adds a amessage into the lord channel history.
<li><a href="#query_chat_history">query_chat_history</a>(string)<br/>
Returns the current chat channel history.
<li><a href="#query_cre_history">query_cre_history</a>()<br/>
Returns the current creator history.
<li><a href="#query_lord_history">query_lord_history</a>()<br/>
Returns the current lord history.
<li><a href="#save_me">save_me</a>()<br/>Save the current state.
</ul>
<h2>Public Functions</h2>
These are functions that everyone can access.<p>
<dl>
<dt class="autodocfuncname"><a name="add_chat_history">
add_chat_history</a><pre class="autodocfuncdef">
void add_chat_history(string channel,
                      string start,
                      string mess)
</pre><dd><br />
Keep a mesage from a specified line on the chat stick.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
channel - the channel being stored<br />
start - the start string (name)<br />
mess - the message being stored
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="add_cre_history">
add_cre_history</a><pre class="autodocfuncdef">
void add_cre_history(string start,
                     string mess)
</pre><dd><br />
Add the history of the creator channel.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
start - the start bit, emote or not<br />
mess - the message they said
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="add_lord_history">
add_lord_history</a><pre class="autodocfuncdef">
void add_lord_history(string start,
                      string mess)
</pre><dd><br />
Adds a amessage into the lord channel history.<br />
<br /><dl>
<dd><b>Parameters:</b><br />
start - the start staring<br />
mess - what they actually said
<br />
<br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_chat_history">
query_chat_history</a><pre class="autodocfuncdef">
mixed * query_chat_history(string channel)
</pre><dd><br />
Returns the current chat channel history. The array contains arrays of
three elemnts each.,   In each array the first element is the
start, the second the mssage and thwe third the time.
<p>
<code>({  .. ({ start, mess, time }), ({ start, mess, time }), .. })</code><br />
<br /><dl>
<dd><b>Parameters:</b><br />
channel - the channel to get the history of
<br />
<br />
<dd><b>Returns:</b>
<br />an array of the chat channel history.<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_cre_history">
query_cre_history</a><pre class="autodocfuncdef">
mixed * query_cre_history()
</pre><dd><br />
Returns the current creator history. The array contains arrays of
three elemnts each.,   In each array the first element is the
start, the second the mssage and thwe third the time.
<p>
<code>({  .. ({ start, mess, time }), ({ start, mess, time }), .. })</code><br />
<br /><dl>
<dd><b>Returns:</b>
<br />an array of the creator history.
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="query_lord_history">
query_lord_history</a><pre class="autodocfuncdef">
mixed * query_lord_history()
</pre><dd><br />
Returns the current lord history. The array contains arrays of
three elemnts each.,   In each array the first element is the
start, the second the mssage and thwe third the time.
<p>
<code>({  .. ({ start, mess, time }), ({ start, mess, time }), .. })</code><br />
<br /><dl>
<dd><b>Returns:</b>
<br />an array of the lord history.
<br /><br />
<br /></dl>

<dt class="autodocfuncname"><a name="save_me">
save_me</a><pre class="autodocfuncdef">
void save_me()
</pre><dd><br />Save the current state. <br />

</dl>
[an error occurred while processing this directive]

