Updated online docs

This commit is contained in:
Jakob Ovrum 2010-07-17 11:56:46 +09:00
parent e589fe727d
commit ee73311524
1 changed files with 32 additions and 1 deletions

View File

@ -112,6 +112,11 @@
<td class="summary">Handle incoming data for <code>irc</code>, and invoke previously hooked callbacks based on new server input.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#irc:topic">irc:topic</a>&nbsp;(channel)</td>
<td class="summary">Look up topic.</td>
</tr>
<tr>
<td class="name" nowrap><a href="#irc:trackUsers">irc:trackUsers</a>&nbsp;(b)</td>
<td class="summary">Turn user information tracking on or off.</td>
@ -454,6 +459,32 @@ Handle incoming data for <code>irc</code>, and invoke previously hooked callback
</dd>
<dt><a name="irc:topic"></a><strong>irc:topic</strong>&nbsp;(channel)</dt>
<dd>
Look up topic. Use this to invoke the hooks OnTopic and OnTopicInfo at any time.
<h3>Parameters</h3>
<ul>
<li>
channel: Channel to query.
</li>
</ul>
</dd>
@ -580,7 +611,7 @@ Returns a new <code>irc</code> object.
<dl class="table">
<dt><a name="Hooks"></a><strong>Hooks</strong></dt>
<dd>List of hooks you can use with irc:hook. The parameter list describes the parameters passed to the callback function. <ul> <li><code>OnDisconnect(message, errorOccurred)</code></li> <li><code>OnChat(user, channel, message)</code></li> <li><code>OnNotice(user, channel, message)</code></li> <li><code>OnJoin(user, channel)</code>*</li> <li><code>OnPart(user, channel)</code>*</li> <li><code>OnQuit(user, message)</code></li> <li><code>NickChange(user, newnick)</code>*</li> <li><code>NameList(channel, names)</code></li> </ul> * Event also invoked for yourself.
<dd>List of hooks you can use with irc:hook. The parameter list describes the parameters passed to the callback function. <ul> <li><code>OnDisconnect(message, errorOccurred)</code></li> <li><code>OnChat(user, channel, message)</code></li> <li><code>OnNotice(user, channel, message)</code></li> <li><code>OnJoin(user, channel)</code>*</li> <li><code>OnPart(user, channel)</code>*</li> <li><code>OnQuit(user, message)</code></li> <li><code>NickChange(user, newnick, channel)</code>*</li> <li><code>NameList(channel, names)</code></li> <li><code>OnTopic(channel, topic)</code></li> <li><code>OnTopicInfo(channel, creator, timeCreated)</code></li> </ul> * Event also invoked for yourself. † Channel passed only when user tracking is enabled