diff options
author | Christopher Davis <loafier@gmail.com> | 2006-08-15 03:40:36 +0000 |
---|---|---|
committer | Christopher Davis <loafier@gmail.com> | 2006-08-15 03:40:36 +0000 |
commit | 501cfa59a78c2cb7ea76e9686aa33221c77ac9f3 (patch) | |
tree | d1d10c217d4140b8340b096286dc1094e5b13ec1 | |
parent | ce3d6fcba4587feb5555a9b85c6fdeaa0b74553f (diff) | |
download | irssi-python-501cfa59a78c2cb7ea76e9686aa33221c77ac9f3.tar.gz irssi-python-501cfa59a78c2cb7ea76e9686aa33221c77ac9f3.tar.xz irssi-python-501cfa59a78c2cb7ea76e9686aa33221c77ac9f3.zip |
added docs dir
git-svn-id: http://svn.irssi.org/repos/irssi-python@4314 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | docs/irssi.html | 2594 |
1 files changed, 2594 insertions, 0 deletions
diff --git a/docs/irssi.html b/docs/irssi.html new file mode 100644 index 0000000..998a763 --- /dev/null +++ b/docs/irssi.html @@ -0,0 +1,2594 @@ + +<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> +<html><head><title>Python: module irssi</title> +</head><body bgcolor="#f0f0f8"> + +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading"> +<tr bgcolor="#7799ee"> +<td valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"> <br><big><big><strong>irssi</strong></big></big></font></td +><td align=right valign=bottom +><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/share/irssi/scripts/irssi.py">/usr/local/share/irssi/scripts/irssi.py</a></font></td></tr></table> + <p></p> +<p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#aa55cc"> +<td colspan=3 valign=bottom> <br> +<font color="#fffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr> + +<tr><td bgcolor="#aa55cc"><tt> </tt></td><td> </td> +<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="_irssi.html">_irssi</a><br> +</td><td width="25%" valign=top><a href="sys.html">sys</a><br> +</td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ee77aa"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> + +<tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> +<td width="100%"><dl> +<dt><font face="helvetica, arial"><a href="__builtin__.html#object">__builtin__.object</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="irssi.html#Ban">Ban</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Command">Command</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Ignore">Ignore</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#IrssiBase">IrssiBase</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="irssi.html#Dcc">Dcc</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="irssi.html#DccChat">DccChat</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#DccGet">DccGet</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#DccSend">DccSend</a> +</font></dt></dl> +</dd> +<dt><font face="helvetica, arial"><a href="irssi.html#IrssiChatBase">IrssiChatBase</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="irssi.html#Chatnet">Chatnet</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Connect">Connect</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="irssi.html#IrcConnect">IrcConnect</a> +</font></dt></dl> +</dd> +<dt><font face="helvetica, arial"><a href="irssi.html#Nick">Nick</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Server">Server</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="irssi.html#IrcServer">IrcServer</a> +</font></dt></dl> +</dd> +<dt><font face="helvetica, arial"><a href="irssi.html#WindowItem">WindowItem</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="irssi.html#Channel">Channel</a> +</font></dt><dd> +<dl> +<dt><font face="helvetica, arial"><a href="irssi.html#IrcChannel">IrcChannel</a> +</font></dt></dl> +</dd> +<dt><font face="helvetica, arial"><a href="irssi.html#Query">Query</a> +</font></dt></dl> +</dd> +</dl> +</dd> +</dl> +</dd> +<dt><font face="helvetica, arial"><a href="irssi.html#Log">Log</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Logitem">Logitem</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#MainWindow">MainWindow</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Netsplit">Netsplit</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#NetsplitChannel">NetsplitChannel</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#NetsplitServer">NetsplitServer</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Notifylist">Notifylist</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Process">Process</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Rawlog">Rawlog</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Reconnect">Reconnect</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Script">Script</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#StatusbarItem">StatusbarItem</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#TextDest">TextDest</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Theme">Theme</a> +</font></dt><dt><font face="helvetica, arial"><a href="irssi.html#Window">Window</a> +</font></dt></dl> +</dd> +</dl> + <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Ban">class <strong>Ban</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyBan objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Ban-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>ban</strong> = <attribute 'ban' of 'irssi.Ban' objects><dd><tt>The ban</tt></dl> + +<dl><dt><strong>setby</strong> = <attribute 'setby' of 'irssi.Ban' objects><dd><tt><a href="#Nick">Nick</a> of who set the ban</tt></dl> + +<dl><dt><strong>time</strong> = <attribute 'time' of 'irssi.Ban' objects><dd><tt>Timestamp when ban was set</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Channel">class <strong>Channel</strong></a>(<a href="irssi.html#WindowItem">WindowItem</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyChannel objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#Channel">Channel</a></dd> +<dd><a href="irssi.html#WindowItem">WindowItem</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="Channel-nick_find"><strong>nick_find</strong></a>(...)</dt><dd><tt><a href="#Channel-nick_find">nick_find</a>(nick) -> <a href="#Nick">Nick</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find nick from nicklist.</tt></dd></dl> + +<dl><dt><a name="Channel-nick_insert_obj"><strong>nick_insert_obj</strong></a>(...)</dt><dd><tt>nick_insert(nick) -> None<br> + <br> +Insert nick <a href="__builtin__.html#object">object</a> into nicklist.</tt></dd></dl> + +<dl><dt><a name="Channel-nick_remove"><strong>nick_remove</strong></a>(...)</dt><dd><tt><a href="#Channel-nick_remove">nick_remove</a>(nick) -> None<br> + <br> +Remove nick from nicklist.</tt></dd></dl> + +<dl><dt><a name="Channel-nicks"><strong>nicks</strong></a>(...)</dt><dd><tt><a href="#Channel-nicks">nicks</a>() -> list of <a href="#Nick">Nick</a> objects<br> + <br> +Return a list of nicks in the channel.</tt></dd></dl> + +<dl><dt><a name="Channel-nicks_find_mask"><strong>nicks_find_mask</strong></a>(...)</dt><dd><tt><a href="#Channel-nicks_find_mask">nicks_find_mask</a>(mask) -> <a href="#Nick">Nick</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find nick mask from nicklist, wildcards allowed.</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>chanop</strong> = <attribute 'chanop' of 'irssi.Channel' objects><dd><tt>You are channel operator</tt></dl> + +<dl><dt><strong>joined</strong> = <attribute 'joined' of 'irssi.Channel' objects><dd><tt>JOIN event for this channel has been received</tt></dl> + +<dl><dt><strong>key</strong> = <attribute 'key' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> key (password)</tt></dl> + +<dl><dt><strong>kicked</strong> = <attribute 'kicked' of 'irssi.Channel' objects><dd><tt>You were just kicked out of the channel (for 'channel destroyed' event)</tt></dl> + +<dl><dt><strong>left</strong> = <attribute 'left' of 'irssi.Channel' objects><dd><tt>You just left the channel (for 'channel destroyed' event)</tt></dl> + +<dl><dt><strong>limit</strong> = <attribute 'limit' of 'irssi.Channel' objects><dd><tt>Max. users in channel (+l mode)</tt></dl> + +<dl><dt><strong>mode</strong> = <attribute 'mode' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> mode</tt></dl> + +<dl><dt><strong>names_got</strong> = <attribute 'names_got' of 'irssi.Channel' objects><dd><tt>/NAMES list has been received</tt></dl> + +<dl><dt><strong>no_modes</strong> = <attribute 'no_modes' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> is modeless</tt></dl> + +<dl><dt><strong>synced</strong> = <attribute 'synced' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> is fully synchronized</tt></dl> + +<dl><dt><strong>topic</strong> = <attribute 'topic' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> topic</tt></dl> + +<dl><dt><strong>topic_by</strong> = <attribute 'topic_by' of 'irssi.Channel' objects><dd><tt><a href="#Nick">Nick</a> who set the topic</tt></dl> + +<dl><dt><strong>topic_time</strong> = <attribute 'topic_time' of 'irssi.Channel' objects><dd><tt>Timestamp when the topic was set</tt></dl> + +<dl><dt><strong>wholist</strong> = <attribute 'wholist' of 'irssi.Channel' objects><dd><tt>/WHO list has been received</tt></dl> + +<hr> +Methods inherited from <a href="irssi.html#WindowItem">WindowItem</a>:<br> +<dl><dt><a name="Channel-activity"><strong>activity</strong></a>(...)</dt><dd><tt><a href="#Channel-activity">activity</a>(data_level, hilight_color) -> None</tt></dd></dl> + +<dl><dt><a name="Channel-change_server"><strong>change_server</strong></a>(...)</dt><dd><tt><a href="#Channel-change_server">change_server</a>(server) -> None<br> + <br> +Change server for window item</tt></dd></dl> + +<dl><dt><a name="Channel-command"><strong>command</strong></a>(...)</dt><dd><tt><a href="#Channel-command">command</a>(cmd) -> None<br> + <br> +Send command to window item</tt></dd></dl> + +<dl><dt><a name="Channel-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#Channel-destroy">destroy</a>() -> None<br> + <br> +Destroy channel or query</tt></dd></dl> + +<dl><dt><a name="Channel-get_dcc"><strong>get_dcc</strong></a>(...)</dt><dd><tt><a href="#Channel-get_dcc">get_dcc</a>() -> <a href="#DccChat">DccChat</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +If item is a query of a =nick, return DCC chat record of nick</tt></dd></dl> + +<dl><dt><a name="Channel-is_active"><strong>is_active</strong></a>(...)</dt><dd><tt><a href="#Channel-is_active">is_active</a>() -> bool<br> + <br> +Returns true if window item is active</tt></dd></dl> + +<dl><dt><a name="Channel-printformat"><strong>printformat</strong></a>(...)</dt><dd><tt>for <a href="#Server">Server</a> objects:<br> +<a href="#Channel-printformat">printformat</a>(target, level, format, ...) -> None<br> + <br> +For all else:<br> +<a href="#Channel-printformat">printformat</a>(level, format, ...) -> None</tt></dd></dl> + +<dl><dt><a name="Channel-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#Channel-prnt">prnt</a>(str, level) -> None<br> + <br> +Print to window item</tt></dd></dl> + +<dl><dt><a name="Channel-set_active"><strong>set_active</strong></a>(...)</dt><dd><tt><a href="#Channel-set_active">set_active</a>() -> None<br> + <br> +Set window item active</tt></dd></dl> + +<dl><dt><a name="Channel-window"><strong>window</strong></a>(...)</dt><dd><tt><a href="#Channel-window">window</a>() -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Return parent window for window item</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#WindowItem">WindowItem</a>:<br> +<dl><dt><strong>createtime</strong> = <attribute 'createtime' of 'irssi.WindowItem' objects><dd><tt>Time the witem was created</tt></dl> + +<dl><dt><strong>data_level</strong> = <attribute 'data_level' of 'irssi.WindowItem' objects><dd><tt>0=no new data, 1=text, 2=msg, 3=highlighted text</tt></dl> + +<dl><dt><strong>hilight_color</strong> = <attribute 'hilight_color' of 'irssi.WindowItem' objects><dd><tt>Color of the last highlighted text</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.WindowItem' objects><dd><tt>Name of the item</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.WindowItem' objects><dd><tt>Active name for item</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Channel-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Chatnet">class <strong>Chatnet</strong></a>(<a href="irssi.html#IrssiChatBase">IrssiChatBase</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyChatnet objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#Chatnet">Chatnet</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>autosendcmd</strong> = <attribute 'autosendcmd' of 'irssi.Chatnet' objects><dd><tt>command to send after connecting to this network</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.Chatnet' objects><dd><tt>name of chat network</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Chatnet' objects><dd><tt>if not empty, nick preferred in this network</tt></dl> + +<dl><dt><strong>own_host</strong> = <attribute 'own_host' of 'irssi.Chatnet' objects><dd><tt>address to use when connecting to this network</tt></dl> + +<dl><dt><strong>realname</strong> = <attribute 'realname' of 'irssi.Chatnet' objects><dd><tt>if not empty, realname preferred in this network</tt></dl> + +<dl><dt><strong>username</strong> = <attribute 'username' of 'irssi.Chatnet' objects><dd><tt>if not empty, username preferred in this network</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Chatnet-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Command">class <strong>Command</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyCommand objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Command-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>category</strong> = <attribute 'category' of 'irssi.Command' objects><dd><tt>Category</tt></dl> + +<dl><dt><strong>cmd</strong> = <attribute 'cmd' of 'irssi.Command' objects><dd><tt><a href="#Command">Command</a> name</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Connect">class <strong>Connect</strong></a>(<a href="irssi.html#IrssiChatBase">IrssiChatBase</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyConnect objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#Connect">Connect</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>address</strong> = <attribute 'address' of 'irssi.Connect' objects><dd><tt>Address where we connected (irc.blah.org)</tt></dl> + +<dl><dt><strong>chatnet</strong> = <attribute 'chatnet' of 'irssi.Connect' objects><dd><tt>Chat network</tt></dl> + +<dl><dt><strong>password</strong> = <attribute 'password' of 'irssi.Connect' objects><dd><tt>Password we used in connection.</tt></dl> + +<dl><dt><strong>port</strong> = <attribute 'port' of 'irssi.Connect' objects><dd><tt>Port where we're connected</tt></dl> + +<dl><dt><strong>realname</strong> = <attribute 'realname' of 'irssi.Connect' objects><dd><tt>Real name</tt></dl> + +<dl><dt><strong>username</strong> = <attribute 'username' of 'irssi.Connect' objects><dd><tt>User name</tt></dl> + +<dl><dt><strong>wanted_nick</strong> = <attribute 'wanted_nick' of 'irssi.Connect' objects><dd><tt><a href="#Nick">Nick</a> which we would prefer to use</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Connect-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Dcc">class <strong>Dcc</strong></a>(<a href="irssi.html#IrssiBase">IrssiBase</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyDcc objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#Dcc">Dcc</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="Dcc-close"><strong>close</strong></a>(...)</dt><dd><tt><a href="#Dcc-close">close</a>() -> None<br> + <br> +Close and destroy DCC connection.</tt></dd></dl> + +<dl><dt><a name="Dcc-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#Dcc-destroy">destroy</a>() -> None<br> + <br> +Destroy DCC connection</tt></dd></dl> + +<dl><dt><a name="Dcc-reject"><strong>reject</strong></a>(...)</dt><dd><tt><a href="#Dcc-reject">reject</a>() -> None<br> + <br> +?</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>addr</strong> = <attribute 'addr' of 'irssi.Dcc' objects><dd><tt>Other side's IP address.</tt></dl> + +<dl><dt><strong>arg</strong> = <attribute 'arg' of 'irssi.Dcc' objects><dd><tt>Given argument .. file name usually</tt></dl> + +<dl><dt><strong>chat</strong> = <attribute 'chat' of 'irssi.Dcc' objects><dd><tt><a href="#Dcc">Dcc</a> chat record if the request came through DCC chat</tt></dl> + +<dl><dt><strong>created</strong> = <attribute 'created' of 'irssi.Dcc' objects><dd><tt>Time stamp when the DCC record was created</tt></dl> + +<dl><dt><strong>mynick</strong> = <attribute 'mynick' of 'irssi.Dcc' objects><dd><tt>Our nick to use in DCC chat.</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Dcc' objects><dd><tt>Other side's nick name.</tt></dl> + +<dl><dt><strong>orig_type</strong> = <attribute 'orig_type' of 'irssi.Dcc' objects><dd><tt>Original DCC type that was sent to us - same as type except GET and SEND are swapped</tt></dl> + +<dl><dt><strong>port</strong> = <attribute 'port' of 'irssi.Dcc' objects><dd><tt>Port we're connecting in.</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.Dcc' objects><dd><tt><a href="#Server">Server</a> record where the DCC was initiated.</tt></dl> + +<dl><dt><strong>servertag</strong> = <attribute 'servertag' of 'irssi.Dcc' objects><dd><tt>Tag of the server where the DCC was initiated.</tt></dl> + +<dl><dt><strong>starttime</strong> = <attribute 'starttime' of 'irssi.Dcc' objects><dd><tt>Unix time stamp when the DCC transfer was started</tt></dl> + +<dl><dt><strong>target</strong> = <attribute 'target' of 'irssi.Dcc' objects><dd><tt>Who the request was sent to - your nick, channel or empty if you sent the request</tt></dl> + +<dl><dt><strong>transfd</strong> = <attribute 'transfd' of 'irssi.Dcc' objects><dd><tt>Bytes transferred</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Dcc-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="DccChat">class <strong>DccChat</strong></a>(<a href="irssi.html#Dcc">Dcc</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyDccChat objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#DccChat">DccChat</a></dd> +<dd><a href="irssi.html#Dcc">Dcc</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="DccChat-chat_send"><strong>chat_send</strong></a>(...)</dt><dd><tt><a href="#DccChat-chat_send">chat_send</a>(data) -> None<br> + <br> +Send data to a dcc chat session.</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>connection_lost</strong> = <attribute 'connection_lost' of 'irssi.DccChat' objects><dd><tt>Other side closed connection</tt></dl> + +<dl><dt><strong>id</strong> = <attribute 'id' of 'irssi.DccChat' objects><dd><tt>Unique identifier - usually same as nick</tt></dl> + +<dl><dt><strong>mirc_ctcp</strong> = <attribute 'mirc_ctcp' of 'irssi.DccChat' objects><dd><tt>Send CTCPs without the CTCP_MESSAGE prefix</tt></dl> + +<hr> +Methods inherited from <a href="irssi.html#Dcc">Dcc</a>:<br> +<dl><dt><a name="DccChat-close"><strong>close</strong></a>(...)</dt><dd><tt><a href="#DccChat-close">close</a>() -> None<br> + <br> +Close and destroy DCC connection.</tt></dd></dl> + +<dl><dt><a name="DccChat-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#DccChat-destroy">destroy</a>() -> None<br> + <br> +Destroy DCC connection</tt></dd></dl> + +<dl><dt><a name="DccChat-reject"><strong>reject</strong></a>(...)</dt><dd><tt><a href="#DccChat-reject">reject</a>() -> None<br> + <br> +?</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#Dcc">Dcc</a>:<br> +<dl><dt><strong>addr</strong> = <attribute 'addr' of 'irssi.Dcc' objects><dd><tt>Other side's IP address.</tt></dl> + +<dl><dt><strong>arg</strong> = <attribute 'arg' of 'irssi.Dcc' objects><dd><tt>Given argument .. file name usually</tt></dl> + +<dl><dt><strong>chat</strong> = <attribute 'chat' of 'irssi.Dcc' objects><dd><tt><a href="#Dcc">Dcc</a> chat record if the request came through DCC chat</tt></dl> + +<dl><dt><strong>created</strong> = <attribute 'created' of 'irssi.Dcc' objects><dd><tt>Time stamp when the DCC record was created</tt></dl> + +<dl><dt><strong>mynick</strong> = <attribute 'mynick' of 'irssi.Dcc' objects><dd><tt>Our nick to use in DCC chat.</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Dcc' objects><dd><tt>Other side's nick name.</tt></dl> + +<dl><dt><strong>orig_type</strong> = <attribute 'orig_type' of 'irssi.Dcc' objects><dd><tt>Original DCC type that was sent to us - same as type except GET and SEND are swapped</tt></dl> + +<dl><dt><strong>port</strong> = <attribute 'port' of 'irssi.Dcc' objects><dd><tt>Port we're connecting in.</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.Dcc' objects><dd><tt><a href="#Server">Server</a> record where the DCC was initiated.</tt></dl> + +<dl><dt><strong>servertag</strong> = <attribute 'servertag' of 'irssi.Dcc' objects><dd><tt>Tag of the server where the DCC was initiated.</tt></dl> + +<dl><dt><strong>starttime</strong> = <attribute 'starttime' of 'irssi.Dcc' objects><dd><tt>Unix time stamp when the DCC transfer was started</tt></dl> + +<dl><dt><strong>target</strong> = <attribute 'target' of 'irssi.Dcc' objects><dd><tt>Who the request was sent to - your nick, channel or empty if you sent the request</tt></dl> + +<dl><dt><strong>transfd</strong> = <attribute 'transfd' of 'irssi.Dcc' objects><dd><tt>Bytes transferred</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#DccChat-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="DccGet">class <strong>DccGet</strong></a>(<a href="irssi.html#Dcc">Dcc</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyDccGet objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#DccGet">DccGet</a></dd> +<dd><a href="irssi.html#Dcc">Dcc</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>file</strong> = <attribute 'file' of 'irssi.DccGet' objects><dd><tt>The real file name which we use.</tt></dl> + +<dl><dt><strong>file_quoted</strong> = <attribute 'file_quoted' of 'irssi.DccGet' objects><dd><tt>true if file name was received quoted ("file name")</tt></dl> + +<dl><dt><strong>get_type</strong> = <attribute 'get_type' of 'irssi.DccGet' objects><dd><tt>What to do if file exists? 0=default, 1=rename, 2=overwrite, 3=resume</tt></dl> + +<dl><dt><strong>size</strong> = <attribute 'size' of 'irssi.DccGet' objects><dd><tt>File size</tt></dl> + +<dl><dt><strong>skipped</strong> = <attribute 'skipped' of 'irssi.DccGet' objects><dd><tt>Bytes skipped from start (resuming file)</tt></dl> + +<hr> +Methods inherited from <a href="irssi.html#Dcc">Dcc</a>:<br> +<dl><dt><a name="DccGet-close"><strong>close</strong></a>(...)</dt><dd><tt><a href="#DccGet-close">close</a>() -> None<br> + <br> +Close and destroy DCC connection.</tt></dd></dl> + +<dl><dt><a name="DccGet-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#DccGet-destroy">destroy</a>() -> None<br> + <br> +Destroy DCC connection</tt></dd></dl> + +<dl><dt><a name="DccGet-reject"><strong>reject</strong></a>(...)</dt><dd><tt><a href="#DccGet-reject">reject</a>() -> None<br> + <br> +?</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#Dcc">Dcc</a>:<br> +<dl><dt><strong>addr</strong> = <attribute 'addr' of 'irssi.Dcc' objects><dd><tt>Other side's IP address.</tt></dl> + +<dl><dt><strong>arg</strong> = <attribute 'arg' of 'irssi.Dcc' objects><dd><tt>Given argument .. file name usually</tt></dl> + +<dl><dt><strong>chat</strong> = <attribute 'chat' of 'irssi.Dcc' objects><dd><tt><a href="#Dcc">Dcc</a> chat record if the request came through DCC chat</tt></dl> + +<dl><dt><strong>created</strong> = <attribute 'created' of 'irssi.Dcc' objects><dd><tt>Time stamp when the DCC record was created</tt></dl> + +<dl><dt><strong>mynick</strong> = <attribute 'mynick' of 'irssi.Dcc' objects><dd><tt>Our nick to use in DCC chat.</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Dcc' objects><dd><tt>Other side's nick name.</tt></dl> + +<dl><dt><strong>orig_type</strong> = <attribute 'orig_type' of 'irssi.Dcc' objects><dd><tt>Original DCC type that was sent to us - same as type except GET and SEND are swapped</tt></dl> + +<dl><dt><strong>port</strong> = <attribute 'port' of 'irssi.Dcc' objects><dd><tt>Port we're connecting in.</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.Dcc' objects><dd><tt><a href="#Server">Server</a> record where the DCC was initiated.</tt></dl> + +<dl><dt><strong>servertag</strong> = <attribute 'servertag' of 'irssi.Dcc' objects><dd><tt>Tag of the server where the DCC was initiated.</tt></dl> + +<dl><dt><strong>starttime</strong> = <attribute 'starttime' of 'irssi.Dcc' objects><dd><tt>Unix time stamp when the DCC transfer was started</tt></dl> + +<dl><dt><strong>target</strong> = <attribute 'target' of 'irssi.Dcc' objects><dd><tt>Who the request was sent to - your nick, channel or empty if you sent the request</tt></dl> + +<dl><dt><strong>transfd</strong> = <attribute 'transfd' of 'irssi.Dcc' objects><dd><tt>Bytes transferred</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#DccGet-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="DccSend">class <strong>DccSend</strong></a>(<a href="irssi.html#Dcc">Dcc</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyDccSend objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#DccSend">DccSend</a></dd> +<dd><a href="irssi.html#Dcc">Dcc</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>file_quoted</strong> = <attribute 'file_quoted' of 'irssi.DccSend' objects><dd><tt>True if file name was received quoted ("file name")</tt></dl> + +<dl><dt><strong>gotalldata</strong> = <attribute 'gotalldata' of 'irssi.DccSend' objects><dd><tt>Got all acks from the other end</tt></dl> + +<dl><dt><strong>size</strong> = <attribute 'size' of 'irssi.DccSend' objects><dd><tt>File size</tt></dl> + +<dl><dt><strong>skipped</strong> = <attribute 'skipped' of 'irssi.DccSend' objects><dd><tt>Bytes skipped from start (resuming file)</tt></dl> + +<dl><dt><strong>waitforend</strong> = <attribute 'waitforend' of 'irssi.DccSend' objects><dd><tt>File is sent, just wait for the replies from the other side</tt></dl> + +<hr> +Methods inherited from <a href="irssi.html#Dcc">Dcc</a>:<br> +<dl><dt><a name="DccSend-close"><strong>close</strong></a>(...)</dt><dd><tt><a href="#DccSend-close">close</a>() -> None<br> + <br> +Close and destroy DCC connection.</tt></dd></dl> + +<dl><dt><a name="DccSend-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#DccSend-destroy">destroy</a>() -> None<br> + <br> +Destroy DCC connection</tt></dd></dl> + +<dl><dt><a name="DccSend-reject"><strong>reject</strong></a>(...)</dt><dd><tt><a href="#DccSend-reject">reject</a>() -> None<br> + <br> +?</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#Dcc">Dcc</a>:<br> +<dl><dt><strong>addr</strong> = <attribute 'addr' of 'irssi.Dcc' objects><dd><tt>Other side's IP address.</tt></dl> + +<dl><dt><strong>arg</strong> = <attribute 'arg' of 'irssi.Dcc' objects><dd><tt>Given argument .. file name usually</tt></dl> + +<dl><dt><strong>chat</strong> = <attribute 'chat' of 'irssi.Dcc' objects><dd><tt><a href="#Dcc">Dcc</a> chat record if the request came through DCC chat</tt></dl> + +<dl><dt><strong>created</strong> = <attribute 'created' of 'irssi.Dcc' objects><dd><tt>Time stamp when the DCC record was created</tt></dl> + +<dl><dt><strong>mynick</strong> = <attribute 'mynick' of 'irssi.Dcc' objects><dd><tt>Our nick to use in DCC chat.</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Dcc' objects><dd><tt>Other side's nick name.</tt></dl> + +<dl><dt><strong>orig_type</strong> = <attribute 'orig_type' of 'irssi.Dcc' objects><dd><tt>Original DCC type that was sent to us - same as type except GET and SEND are swapped</tt></dl> + +<dl><dt><strong>port</strong> = <attribute 'port' of 'irssi.Dcc' objects><dd><tt>Port we're connecting in.</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.Dcc' objects><dd><tt><a href="#Server">Server</a> record where the DCC was initiated.</tt></dl> + +<dl><dt><strong>servertag</strong> = <attribute 'servertag' of 'irssi.Dcc' objects><dd><tt>Tag of the server where the DCC was initiated.</tt></dl> + +<dl><dt><strong>starttime</strong> = <attribute 'starttime' of 'irssi.Dcc' objects><dd><tt>Unix time stamp when the DCC transfer was started</tt></dl> + +<dl><dt><strong>target</strong> = <attribute 'target' of 'irssi.Dcc' objects><dd><tt>Who the request was sent to - your nick, channel or empty if you sent the request</tt></dl> + +<dl><dt><strong>transfd</strong> = <attribute 'transfd' of 'irssi.Dcc' objects><dd><tt>Bytes transferred</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#DccSend-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Ignore">class <strong>Ignore</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyIgnore objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Ignore-add_rec"><strong>add_rec</strong></a>(...)</dt><dd><tt><a href="#Ignore-add_rec">add_rec</a>() -> None<br> + <br> +Add ignore record</tt></dd></dl> + +<dl><dt><a name="Ignore-channels"><strong>channels</strong></a>(...)</dt><dd><tt><a href="#Ignore-channels">channels</a>() -> list of str<br> + <br> +<a href="#Ignore">Ignore</a> only in channels (list of names)</tt></dd></dl> + +<dl><dt><a name="Ignore-update_rec"><strong>update_rec</strong></a>(...)</dt><dd><tt><a href="#Ignore-update_rec">update_rec</a>() -> None<br> + <br> +Update ignore record in configuration</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Ignore-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>exception</strong> = <attribute 'exception' of 'irssi.Ignore' objects><dd><tt>This is an exception ignore</tt></dl> + +<dl><dt><strong>fullword</strong> = <attribute 'fullword' of 'irssi.Ignore' objects><dd><tt>Pattern matches only full words</tt></dl> + +<dl><dt><strong>level</strong> = <attribute 'level' of 'irssi.Ignore' objects><dd><tt><a href="#Ignore">Ignore</a> level</tt></dl> + +<dl><dt><strong>mask</strong> = <attribute 'mask' of 'irssi.Ignore' objects><dd><tt><a href="#Ignore">Ignore</a> mask</tt></dl> + +<dl><dt><strong>pattern</strong> = <attribute 'pattern' of 'irssi.Ignore' objects><dd><tt><a href="#Ignore">Ignore</a> text patern</tt></dl> + +<dl><dt><strong>regexp</strong> = <attribute 'regexp' of 'irssi.Ignore' objects><dd><tt>Regexp pattern matching</tt></dl> + +<dl><dt><strong>replies</strong> = <attribute 'replies' of 'irssi.Ignore' objects><dd><tt><a href="#Ignore">Ignore</a> replies to nick in channel</tt></dl> + +<dl><dt><strong>servertag</strong> = <attribute 'servertag' of 'irssi.Ignore' objects><dd><tt><a href="#Ignore">Ignore</a> only in server</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="IrcChannel">class <strong>IrcChannel</strong></a>(<a href="irssi.html#Channel">Channel</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyIrcChannel objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#IrcChannel">IrcChannel</a></dd> +<dd><a href="irssi.html#Channel">Channel</a></dd> +<dd><a href="irssi.html#WindowItem">WindowItem</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="IrcChannel-ban_get_mask"><strong>ban_get_mask</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-ban_get_mask">ban_get_mask</a>(nick, ban_type=0) -> str<br> + <br> +Get ban mask for 'nick'.</tt></dd></dl> + +<dl><dt><a name="IrcChannel-banlist_add"><strong>banlist_add</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-banlist_add">banlist_add</a>(ban, nick, time) -> <a href="#Ban">Ban</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Add a new ban to channel. Return None if duplicate.</tt></dd></dl> + +<dl><dt><a name="IrcChannel-banlist_remove"><strong>banlist_remove</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-banlist_remove">banlist_remove</a>(ban, nick) -> None<br> + <br> +Remove a new ban from channel.</tt></dd></dl> + +<dl><dt><a name="IrcChannel-bans"><strong>bans</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-bans">bans</a>() -> list of <a href="#Ban">Ban</a> objects<br> + <br> +Returns a list of bans in the channel.</tt></dd></dl> + +<hr> +Methods inherited from <a href="irssi.html#Channel">Channel</a>:<br> +<dl><dt><a name="IrcChannel-nick_find"><strong>nick_find</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-nick_find">nick_find</a>(nick) -> <a href="#Nick">Nick</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find nick from nicklist.</tt></dd></dl> + +<dl><dt><a name="IrcChannel-nick_insert_obj"><strong>nick_insert_obj</strong></a>(...)</dt><dd><tt>nick_insert(nick) -> None<br> + <br> +Insert nick <a href="__builtin__.html#object">object</a> into nicklist.</tt></dd></dl> + +<dl><dt><a name="IrcChannel-nick_remove"><strong>nick_remove</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-nick_remove">nick_remove</a>(nick) -> None<br> + <br> +Remove nick from nicklist.</tt></dd></dl> + +<dl><dt><a name="IrcChannel-nicks"><strong>nicks</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-nicks">nicks</a>() -> list of <a href="#Nick">Nick</a> objects<br> + <br> +Return a list of nicks in the channel.</tt></dd></dl> + +<dl><dt><a name="IrcChannel-nicks_find_mask"><strong>nicks_find_mask</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-nicks_find_mask">nicks_find_mask</a>(mask) -> <a href="#Nick">Nick</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find nick mask from nicklist, wildcards allowed.</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#Channel">Channel</a>:<br> +<dl><dt><strong>chanop</strong> = <attribute 'chanop' of 'irssi.Channel' objects><dd><tt>You are channel operator</tt></dl> + +<dl><dt><strong>joined</strong> = <attribute 'joined' of 'irssi.Channel' objects><dd><tt>JOIN event for this channel has been received</tt></dl> + +<dl><dt><strong>key</strong> = <attribute 'key' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> key (password)</tt></dl> + +<dl><dt><strong>kicked</strong> = <attribute 'kicked' of 'irssi.Channel' objects><dd><tt>You were just kicked out of the channel (for 'channel destroyed' event)</tt></dl> + +<dl><dt><strong>left</strong> = <attribute 'left' of 'irssi.Channel' objects><dd><tt>You just left the channel (for 'channel destroyed' event)</tt></dl> + +<dl><dt><strong>limit</strong> = <attribute 'limit' of 'irssi.Channel' objects><dd><tt>Max. users in channel (+l mode)</tt></dl> + +<dl><dt><strong>mode</strong> = <attribute 'mode' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> mode</tt></dl> + +<dl><dt><strong>names_got</strong> = <attribute 'names_got' of 'irssi.Channel' objects><dd><tt>/NAMES list has been received</tt></dl> + +<dl><dt><strong>no_modes</strong> = <attribute 'no_modes' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> is modeless</tt></dl> + +<dl><dt><strong>synced</strong> = <attribute 'synced' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> is fully synchronized</tt></dl> + +<dl><dt><strong>topic</strong> = <attribute 'topic' of 'irssi.Channel' objects><dd><tt><a href="#Channel">Channel</a> topic</tt></dl> + +<dl><dt><strong>topic_by</strong> = <attribute 'topic_by' of 'irssi.Channel' objects><dd><tt><a href="#Nick">Nick</a> who set the topic</tt></dl> + +<dl><dt><strong>topic_time</strong> = <attribute 'topic_time' of 'irssi.Channel' objects><dd><tt>Timestamp when the topic was set</tt></dl> + +<dl><dt><strong>wholist</strong> = <attribute 'wholist' of 'irssi.Channel' objects><dd><tt>/WHO list has been received</tt></dl> + +<hr> +Methods inherited from <a href="irssi.html#WindowItem">WindowItem</a>:<br> +<dl><dt><a name="IrcChannel-activity"><strong>activity</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-activity">activity</a>(data_level, hilight_color) -> None</tt></dd></dl> + +<dl><dt><a name="IrcChannel-change_server"><strong>change_server</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-change_server">change_server</a>(server) -> None<br> + <br> +Change server for window item</tt></dd></dl> + +<dl><dt><a name="IrcChannel-command"><strong>command</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-command">command</a>(cmd) -> None<br> + <br> +Send command to window item</tt></dd></dl> + +<dl><dt><a name="IrcChannel-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-destroy">destroy</a>() -> None<br> + <br> +Destroy channel or query</tt></dd></dl> + +<dl><dt><a name="IrcChannel-get_dcc"><strong>get_dcc</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-get_dcc">get_dcc</a>() -> <a href="#DccChat">DccChat</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +If item is a query of a =nick, return DCC chat record of nick</tt></dd></dl> + +<dl><dt><a name="IrcChannel-is_active"><strong>is_active</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-is_active">is_active</a>() -> bool<br> + <br> +Returns true if window item is active</tt></dd></dl> + +<dl><dt><a name="IrcChannel-printformat"><strong>printformat</strong></a>(...)</dt><dd><tt>for <a href="#Server">Server</a> objects:<br> +<a href="#IrcChannel-printformat">printformat</a>(target, level, format, ...) -> None<br> + <br> +For all else:<br> +<a href="#IrcChannel-printformat">printformat</a>(level, format, ...) -> None</tt></dd></dl> + +<dl><dt><a name="IrcChannel-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-prnt">prnt</a>(str, level) -> None<br> + <br> +Print to window item</tt></dd></dl> + +<dl><dt><a name="IrcChannel-set_active"><strong>set_active</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-set_active">set_active</a>() -> None<br> + <br> +Set window item active</tt></dd></dl> + +<dl><dt><a name="IrcChannel-window"><strong>window</strong></a>(...)</dt><dd><tt><a href="#IrcChannel-window">window</a>() -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Return parent window for window item</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#WindowItem">WindowItem</a>:<br> +<dl><dt><strong>createtime</strong> = <attribute 'createtime' of 'irssi.WindowItem' objects><dd><tt>Time the witem was created</tt></dl> + +<dl><dt><strong>data_level</strong> = <attribute 'data_level' of 'irssi.WindowItem' objects><dd><tt>0=no new data, 1=text, 2=msg, 3=highlighted text</tt></dl> + +<dl><dt><strong>hilight_color</strong> = <attribute 'hilight_color' of 'irssi.WindowItem' objects><dd><tt>Color of the last highlighted text</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.WindowItem' objects><dd><tt>Name of the item</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.WindowItem' objects><dd><tt>Active name for item</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#IrcChannel-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="IrcConnect">class <strong>IrcConnect</strong></a>(<a href="irssi.html#Connect">Connect</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyIrcConnect objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#IrcConnect">IrcConnect</a></dd> +<dd><a href="irssi.html#Connect">Connect</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>alternate_nick</strong> = <attribute 'alternate_nick' of 'irssi.IrcConnect' objects><dd><tt>Alternate nick to use if default nick is taken</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#Connect">Connect</a>:<br> +<dl><dt><strong>address</strong> = <attribute 'address' of 'irssi.Connect' objects><dd><tt>Address where we connected (irc.blah.org)</tt></dl> + +<dl><dt><strong>chatnet</strong> = <attribute 'chatnet' of 'irssi.Connect' objects><dd><tt>Chat network</tt></dl> + +<dl><dt><strong>password</strong> = <attribute 'password' of 'irssi.Connect' objects><dd><tt>Password we used in connection.</tt></dl> + +<dl><dt><strong>port</strong> = <attribute 'port' of 'irssi.Connect' objects><dd><tt>Port where we're connected</tt></dl> + +<dl><dt><strong>realname</strong> = <attribute 'realname' of 'irssi.Connect' objects><dd><tt>Real name</tt></dl> + +<dl><dt><strong>username</strong> = <attribute 'username' of 'irssi.Connect' objects><dd><tt>User name</tt></dl> + +<dl><dt><strong>wanted_nick</strong> = <attribute 'wanted_nick' of 'irssi.Connect' objects><dd><tt><a href="#Nick">Nick</a> which we would prefer to use</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#IrcConnect-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="IrcServer">class <strong>IrcServer</strong></a>(<a href="irssi.html#Server">Server</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyIrcServer objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#IrcServer">IrcServer</a></dd> +<dd><a href="irssi.html#Server">Server</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="IrcServer-ctcp_send_reply"><strong>ctcp_send_reply</strong></a>(...)</dt><dd><tt><a href="#IrcServer-ctcp_send_reply">ctcp_send_reply</a>(data) -> None<br> + <br> +Send CTCP reply. This will be 'CTCP flood protected' so if there's too<br> +many CTCP requests in buffer, this reply might not get sent. The data<br> +is the full raw command to be sent to server, like<br> +'NOTICE nick :VERSION irssi'</tt></dd></dl> + +<dl><dt><a name="IrcServer-get_channels"><strong>get_channels</strong></a>(...)</dt><dd><tt><a href="#IrcServer-get_channels">get_channels</a>() -> str<br> + <br> +Return a string of all channels (and keys, if any have them) in server,<br> +like '#a,#b,#c,#d x,b_chan_key,x,x' or just '#e,#f,#g'</tt></dd></dl> + +<dl><dt><a name="IrcServer-isupport"><strong>isupport</strong></a>(...)</dt><dd><tt><a href="#IrcServer-isupport">isupport</a>(name) -> str or None<br> + <br> +Returns the value of the named item in the ISUPPORT (005) numeric to the<br> +script. If the item is not present returns undef, if the item has no value<br> +then '' is returned use defined server.<a href="#IrcServer-isupport">isupport</a>('name') if you need to<br> +check whether a property is present.<br> +See <a href="http://www.ietf.org/internet-drafts/draft-brocklesby-irc-isupport-01.txt">http://www.ietf.org/internet-drafts/draft-brocklesby-irc-isupport-01.txt</a><br> +for more information on the ISUPPORT numeric.</tt></dd></dl> + +<dl><dt><a name="IrcServer-netsplit_find"><strong>netsplit_find</strong></a>(...)</dt><dd><tt><a href="#IrcServer-netsplit_find">netsplit_find</a>(nick, address) -> <a href="#Netsplit">Netsplit</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Check if nick!address is on the other side of netsplit. <a href="#Netsplit">Netsplit</a> records<br> +are automatically removed after 30 minutes (current default)..</tt></dd></dl> + +<dl><dt><a name="IrcServer-netsplit_find_channel"><strong>netsplit_find_channel</strong></a>(...)</dt><dd><tt><a href="#IrcServer-netsplit_find_channel">netsplit_find_channel</a>(nick, address, channel) -> <a href="#NetsplitChannel">NetsplitChannel</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find nick record for nick!address in channel `channel'.</tt></dd></dl> + +<dl><dt><a name="IrcServer-notifylist_ison"><strong>notifylist_ison</strong></a>(...)</dt><dd><tt><a href="#IrcServer-notifylist_ison">notifylist_ison</a>(nick) -> bool<br> + <br> +Check if nick is on server</tt></dd></dl> + +<dl><dt><a name="IrcServer-redirect_event"><strong>redirect_event</strong></a>(...)</dt><dd><tt><a href="#IrcServer-redirect_event">redirect_event</a>(command, signals, arg=None, count=1, remote=-1, failure_signal=None) -> None<br> + <br> +Specify that the next command sent to server will be redirected.<br> +NOTE: This command MUST be called before sending the command to server.<br> + <br> +`command' - Name of the registered redirection that we're using.<br> + <br> +`count' - How many times to execute the redirection. Some commands may<br> +send multiple stop events, like MODE #a,#b.<br> + <br> +`arg' - The argument to be compared in event strings. You can give multiple<br> +arguments separated with space.<br> + <br> +`remote' - Specifies if the command is a remote command, -1 = use default.<br> + <br> +`failure_signal' - If irssi can't find the stop signal for the redirection,<br> +this signal is called.<br> + <br> +`signals' - hash reference with "event" => "redir signal" entries.<br> +If the event is , all the events belonging to the redirection but not<br> +specified here, will be sent there.<br> + <br> +Example:<br> + <br> +# ignore all events generated by whois query, except 311.<br> + <br> +server.<a href="#IrcServer-redirect_event">redirect_event</a>("whois",<br> + remote = 0,<br> + arg = "cras",<br> + signals = [<br> + ('event 311', 'redir whois'),<br> + ('', 'event empty') <br> + ]<br> +)<br> +server.<a href="#IrcServer-send_raw">send_raw</a>("WHOIS :cras")</tt></dd></dl> + +<dl><dt><a name="IrcServer-redirect_get_signal"><strong>redirect_get_signal</strong></a>(...)</dt><dd><tt><a href="#IrcServer-redirect_get_signal">redirect_get_signal</a>(event, args) -> str</tt></dd></dl> + +<dl><dt><a name="IrcServer-redirect_peek_signal"><strong>redirect_peek_signal</strong></a>(...)</dt><dd><tt><a href="#IrcServer-redirect_peek_signal">redirect_peek_signal</a>(event, args) -> str</tt></dd></dl> + +<dl><dt><a name="IrcServer-send_raw"><strong>send_raw</strong></a>(...)</dt><dd><tt><a href="#IrcServer-send_raw">send_raw</a>(cmd) -> None<br> + <br> +Send raw message to server, it will be flood protected so you<br> +don't need to worry about it.</tt></dd></dl> + +<dl><dt><a name="IrcServer-send_raw_now"><strong>send_raw_now</strong></a>(...)</dt><dd><tt><a href="#IrcServer-send_raw_now">send_raw_now</a>(cmd) -> None<br> + <br> +Send raw message to server immediately without flood protection.</tt></dd></dl> + +<dl><dt><a name="IrcServer-send_raw_split"><strong>send_raw_split</strong></a>(...)</dt><dd><tt><a href="#IrcServer-send_raw_split">send_raw_split</a>(cmd, nickarg, max_nicks) -> None<br> + <br> +Split the `cmd' into several commands so `nickarg' argument has only<br> +`max_nicks' number of nicks.<br> + <br> +Example:<br> +server.<a href="#IrcServer-send_raw_split">send_raw_split</a>('KICK #channel nick1,nick2,nick3 :byebye', 3, 2)<br> + <br> +Irssi will send commands 'KICK #channel nick1,nick2 :byebye' and<br> +'KICK #channel nick3 :byebye' to server.</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>real_address</strong> = <attribute 'real_address' of 'irssi.IrcServer' objects><dd><tt>Address the IRC server gives</tt></dl> + +<dl><dt><strong>userhost</strong> = <attribute 'userhost' of 'irssi.IrcServer' objects><dd><tt>Your user host in server</tt></dl> + +<dl><dt><strong>usermode</strong> = <attribute 'usermode' of 'irssi.IrcServer' objects><dd><tt>User mode in server</tt></dl> + +<hr> +Methods inherited from <a href="irssi.html#Server">Server</a>:<br> +<dl><dt><a name="IrcServer-channel_find"><strong>channel_find</strong></a>(...)</dt><dd><tt><a href="#IrcServer-channel_find">channel_find</a>(name) -> <a href="#Channel">Channel</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find channel from this server</tt></dd></dl> + +<dl><dt><a name="IrcServer-channels"><strong>channels</strong></a>(...)</dt><dd><tt><a href="#IrcServer-channels">channels</a>() -> list of <a href="#Channel">Channel</a> objects<br> + <br> +Return list of channels for server</tt></dd></dl> + +<dl><dt><a name="IrcServer-channels_join"><strong>channels_join</strong></a>(...)</dt><dd><tt><a href="#IrcServer-channels_join">channels_join</a>(channels, automatic=False) -> None<br> + <br> +Join to channels in server. `channels' may also contain keys for<br> +channels just like with /JOIN command. `automatic' specifies if this<br> +channel was joined 'automatically' or if it was joined because join<br> +was requested by user. If channel join is 'automatic', irssi doesn't<br> +jump to the window where the channel was joined.</tt></dd></dl> + +<dl><dt><a name="IrcServer-command"><strong>command</strong></a>(...)</dt><dd><tt><a href="#IrcServer-command">command</a>(cmd) -> None<br> + <br> +Send command</tt></dd></dl> + +<dl><dt><a name="IrcServer-disconnect"><strong>disconnect</strong></a>(...)</dt><dd><tt><a href="#IrcServer-disconnect">disconnect</a>() -> None<br> + <br> +Disconnect from server</tt></dd></dl> + +<dl><dt><a name="IrcServer-get_nick_flags"><strong>get_nick_flags</strong></a>(...)</dt><dd><tt><a href="#IrcServer-get_nick_flags">get_nick_flags</a>() -> str<br> + <br> +Returns nick flag characters in order: op, voice, halfop ("@+%") in IRC</tt></dd></dl> + +<dl><dt><a name="IrcServer-ignore_check"><strong>ignore_check</strong></a>(...)</dt><dd><tt><a href="#IrcServer-ignore_check">ignore_check</a>(nick, host, channel, text, level) -> bool<br> + <br> +Return True if ignore matches</tt></dd></dl> + +<dl><dt><a name="IrcServer-ischannel"><strong>ischannel</strong></a>(...)</dt><dd><tt><a href="#IrcServer-ischannel">ischannel</a>(data) -> bool<br> + <br> +Returns True if start of `data' seems to mean channel.</tt></dd></dl> + +<dl><dt><a name="IrcServer-isnickflag"><strong>isnickflag</strong></a>(...)</dt><dd><tt><a href="#IrcServer-isnickflag">isnickflag</a>(flag) -> bool<br> + <br> +Returns True if flag is a nick mode flag (@, + or % in IRC)</tt></dd></dl> + +<dl><dt><a name="IrcServer-mask_match"><strong>mask_match</strong></a>(...)</dt><dd><tt><a href="#IrcServer-mask_match">mask_match</a>(mask, nick, user, host) -> bool<br> + <br> +Return true if mask matches nick!user@host</tt></dd></dl> + +<dl><dt><a name="IrcServer-mask_match_address"><strong>mask_match_address</strong></a>(...)</dt><dd><tt><a href="#IrcServer-mask_match_address">mask_match_address</a>(mask, nick, address) -> bool<br> + <br> +Return True if mask matches nick!address</tt></dd></dl> + +<dl><dt><a name="IrcServer-masks_match"><strong>masks_match</strong></a>(...)</dt><dd><tt><a href="#IrcServer-masks_match">masks_match</a>(masks, nick, address) -> bool<br> + <br> +Return True if any mask in the masks (string separated by spaces)<br> +matches nick!address</tt></dd></dl> + +<dl><dt><a name="IrcServer-nicks_get_same"><strong>nicks_get_same</strong></a>(...)</dt><dd><tt><a href="#IrcServer-nicks_get_same">nicks_get_same</a>(nick)<br> + <br> +Return all nick objects in all channels in server. List is in format:<br> +[(<a href="#Channel">Channel</a>, <a href="#Nick">Nick</a>), (<a href="#Channel">Channel</a>, <a href="#Nick">Nick</a>), ...]</tt></dd></dl> + +<dl><dt><a name="IrcServer-printformat"><strong>printformat</strong></a>(...)</dt><dd><tt>for <a href="#Server">Server</a> objects:<br> +<a href="#IrcServer-printformat">printformat</a>(target, level, format, ...) -> None<br> + <br> +For all else:<br> +<a href="#IrcServer-printformat">printformat</a>(level, format, ...) -> None</tt></dd></dl> + +<dl><dt><a name="IrcServer-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#IrcServer-prnt">prnt</a>(channel, str, level) -> None<br> + <br> +Print to server</tt></dd></dl> + +<dl><dt><a name="IrcServer-queries"><strong>queries</strong></a>(...)</dt><dd><tt><a href="#IrcServer-queries">queries</a>() -> list of <a href="#Query">Query</a> objects<br> + <br> +Return a list of queries for server.</tt></dd></dl> + +<dl><dt><a name="IrcServer-query_find"><strong>query_find</strong></a>(...)</dt><dd><tt><a href="#IrcServer-query_find">query_find</a>(nick) -> <a href="#Query">Query</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find a query on this server.</tt></dd></dl> + +<dl><dt><a name="IrcServer-send_message"><strong>send_message</strong></a>(...)</dt><dd><tt><a href="#IrcServer-send_message">send_message</a>(target, msg, target_type) -> None<br> + <br> +Sends a message to nick/channel. target_type 0 = channel, 1 = nick</tt></dd></dl> + +<dl><dt><a name="IrcServer-window_find_closest"><strong>window_find_closest</strong></a>(...)</dt><dd><tt><a href="#IrcServer-window_find_closest">window_find_closest</a>(name, level) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window that matches best to given arguments. `name' can be either<br> +window name or name of one of the window items.</tt></dd></dl> + +<dl><dt><a name="IrcServer-window_find_item"><strong>window_find_item</strong></a>(...)</dt><dd><tt><a href="#IrcServer-window_find_item">window_find_item</a>(name) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window which contains window item with specified name/server</tt></dd></dl> + +<dl><dt><a name="IrcServer-window_find_level"><strong>window_find_level</strong></a>(...)</dt><dd><tt><a href="#IrcServer-window_find_level">window_find_level</a>(level) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window with level</tt></dd></dl> + +<dl><dt><a name="IrcServer-window_item_find"><strong>window_item_find</strong></a>(...)</dt><dd><tt><a href="#IrcServer-window_item_find">window_item_find</a>(name) -> <a href="#WindowItem">WindowItem</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window item that matches best to given arguments</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#Server">Server</a>:<br> +<dl><dt><strong>away_reason</strong> = <attribute 'away_reason' of 'irssi.Server' objects><dd><tt>Away reason message</tt></dl> + +<dl><dt><strong>banned</strong> = <attribute 'banned' of 'irssi.Server' objects><dd><tt>Were we banned from this server? 1|0</tt></dl> + +<dl><dt><strong>connect</strong> = <attribute 'connect' of 'irssi.Server' objects><dd><tt><a href="#Connect">Connect</a> <a href="__builtin__.html#object">object</a> for the server</tt></dl> + +<dl><dt><strong>connect_time</strong> = <attribute 'connect_time' of 'irssi.Server' objects><dd><tt>Time when <a href="#IrcServer-connect">connect</a>() to server finished</tt></dl> + +<dl><dt><strong>connected</strong> = <attribute 'connected' of 'irssi.Server' objects><dd><tt>Is connection finished? 1|0</tt></dl> + +<dl><dt><strong>connection_lost</strong> = <attribute 'connection_lost' of 'irssi.Server' objects><dd><tt>Did we lose the connection (1) or was the connection just /DISCONNECTed (0)</tt></dl> + +<dl><dt><strong>lag</strong> = <attribute 'lag' of 'irssi.Server' objects><dd><tt>Current lag to server in milliseconds</tt></dl> + +<dl><dt><strong>last_invite</strong> = <attribute 'last_invite' of 'irssi.Server' objects><dd><tt>Last channel we were invited to</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Server' objects><dd><tt>Current nick</tt></dl> + +<dl><dt><strong>rawlog</strong> = <attribute 'rawlog' of 'irssi.Server' objects><dd><tt><a href="#Rawlog">Rawlog</a> <a href="__builtin__.html#object">object</a> for the server</tt></dl> + +<dl><dt><strong>real_connect_time</strong> = <attribute 'real_connect_time' of 'irssi.Server' objects><dd><tt>Time when server sent 'connected' message</tt></dl> + +<dl><dt><strong>server_operator</strong> = <attribute 'server_operator' of 'irssi.Server' objects><dd><tt>Are we server operator (IRC op) 1|0</tt></dl> + +<dl><dt><strong>tag</strong> = <attribute 'tag' of 'irssi.Server' objects><dd><tt>Unique server tag</tt></dl> + +<dl><dt><strong>usermode_away</strong> = <attribute 'usermode_away' of 'irssi.Server' objects><dd><tt>Are we marked as away? 1|0</tt></dl> + +<dl><dt><strong>version</strong> = <attribute 'version' of 'irssi.Server' objects><dd><tt><a href="#Server">Server</a> version</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#IrcServer-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="IrssiBase">class <strong>IrssiBase</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyIrssiBase objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#IrssiBase-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="IrssiChatBase">class <strong>IrssiChatBase</strong></a>(<a href="irssi.html#IrssiBase">IrssiBase</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyIrssiChatBase objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#IrssiChatBase-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Log">class <strong>Log</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt><a href="#Log-__init__">__init__</a>(fname, level=MSGLEVEL_ALL)<br> + <br> +Create a log<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Log-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Log-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> + +<dl><dt><a name="Log-close"><strong>close</strong></a>(...)</dt><dd><tt>destroy() -> None<br> + <br> +Destroy the log file</tt></dd></dl> + +<dl><dt><a name="Log-item_add"><strong>item_add</strong></a>(...)</dt><dd><tt><a href="#Log-item_add">item_add</a>(item, servertag=None, type=0, target=False, window=False) -> None<br> + <br> +Add a log item to log.<br> + <br> +Add a target item (nick, chan): <br> + <a href="#Log-item_add">item_add</a>('#linux', target=True)<br> + <a href="#Log-item_add">item_add</a>('#linux', type=0)<br> + <br> +Add a window ref: <br> + <a href="#Log-item_add">item_add</a>('2', window=True)<br> + <a href="#Log-item_add">item_add</a>('2', type=1)</tt></dd></dl> + +<dl><dt><a name="Log-item_destroy"><strong>item_destroy</strong></a>(...)</dt><dd><tt><a href="#Log-item_destroy">item_destroy</a>(item) -> None<br> + <br> +Remove log item from log.</tt></dd></dl> + +<dl><dt><a name="Log-item_find"><strong>item_find</strong></a>(...)</dt><dd><tt><a href="#Log-item_find">item_find</a>(item, servertag=None, type=-1, target=False, window=False) -> item or None<br> + <br> +Find item from log.</tt></dd></dl> + +<dl><dt><a name="Log-items"><strong>items</strong></a>(...)</dt><dd><tt><a href="#Log-items">items</a>() -> list of <a href="#Log">Log</a> objects<br> + <br> +Return a list of log items</tt></dd></dl> + +<dl><dt><a name="Log-start_logging"><strong>start_logging</strong></a>(...)</dt><dd><tt><a href="#Log-start_logging">start_logging</a>() -> None<br> + <br> +Open log file and start logging.</tt></dd></dl> + +<dl><dt><a name="Log-stop_logging"><strong>stop_logging</strong></a>(...)</dt><dd><tt><a href="#Log-stop_logging">stop_logging</a>() -> None<br> + <br> +Stop and close the log file.</tt></dd></dl> + +<dl><dt><a name="Log-update"><strong>update</strong></a>(...)</dt><dd><tt><a href="#Log-update">update</a>() -> None<br> + <br> +Add log to list of logs / save changes to config file.</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Log-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>autoopen</strong> = <attribute 'autoopen' of 'irssi.Log' objects><dd><tt>Automatically open log at startup</tt></dl> + +<dl><dt><strong>failed</strong> = <attribute 'failed' of 'irssi.Log' objects><dd><tt>Opening log failed last time</tt></dl> + +<dl><dt><strong>fname</strong> = <attribute 'fname' of 'irssi.Log' objects><dd><tt><a href="#Log">Log</a> file name</tt></dl> + +<dl><dt><strong>last</strong> = <attribute 'last' of 'irssi.Log' objects><dd><tt>Timestamp when last message was written</tt></dl> + +<dl><dt><strong>level</strong> = <attribute 'level' of 'irssi.Log' objects><dd><tt><a href="#Log">Log</a> only these levels</tt></dl> + +<dl><dt><strong>opened</strong> = <attribute 'opened' of 'irssi.Log' objects><dd><tt><a href="#Log">Log</a> file is open</tt></dl> + +<dl><dt><strong>real_fname</strong> = <attribute 'real_fname' of 'irssi.Log' objects><dd><tt>The actual opened log file (after %d.%m.Y etc. are expanded)</tt></dl> + +<dl><dt><strong>temp</strong> = <attribute 'temp' of 'irssi.Log' objects><dd><tt><a href="#Log">Log</a> isn't saved to config file</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Logitem">class <strong>Logitem</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyLogitem objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Logitem-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.Logitem' objects><dd><tt>Name</tt></dl> + +<dl><dt><strong>servertag</strong> = <attribute 'servertag' of 'irssi.Logitem' objects><dd><tt><a href="#Server">Server</a> tag</tt></dl> + +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.Logitem' objects><dd><tt>0=target, 1=window refnum</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="MainWindow">class <strong>MainWindow</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyMainWindow objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#MainWindow-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>active</strong> = <attribute 'active' of 'irssi.MainWindow' objects><dd><tt>active window <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>first_line</strong> = <attribute 'first_line' of 'irssi.MainWindow' objects><dd><tt>first line used by this window (0..x) (includes statusbars)</tt></dl> + +<dl><dt><strong>height</strong> = <attribute 'height' of 'irssi.MainWindow' objects><dd><tt>height of the window (includes statusbars)</tt></dl> + +<dl><dt><strong>last_line</strong> = <attribute 'last_line' of 'irssi.MainWindow' objects><dd><tt>last line used by this window (0..x) (includes statusbars)</tt></dl> + +<dl><dt><strong>statusbar_lines</strong> = <attribute 'statusbar_lines' of 'irssi.MainWindow' objects><dd><tt>???</tt></dl> + +<dl><dt><strong>width</strong> = <attribute 'width' of 'irssi.MainWindow' objects><dd><tt>width of the window (includes statusbars)</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Netsplit">class <strong>Netsplit</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyNetsplit objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Netsplit-channels"><strong>channels</strong></a>(...)</dt><dd><tt><a href="#Netsplit-channels">channels</a>() -> list of <a href="#NetsplitChannel">NetsplitChannel</a> objects<br> + <br> +Return list of <a href="#NetsplitChannel">NetsplitChannel</a> objects</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Netsplit-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>address</strong> = <attribute 'address' of 'irssi.Netsplit' objects><dd><tt><a href="#Nick">Nick</a>'s host</tt></dl> + +<dl><dt><strong>destroy</strong> = <attribute 'destroy' of 'irssi.Netsplit' objects><dd><tt>Timestamp when this record should be destroyed</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Netsplit' objects><dd><tt><a href="#Nick">Nick</a></tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.Netsplit' objects><dd><tt>Netsplitserver <a href="__builtin__.html#object">object</a></tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="NetsplitChannel">class <strong>NetsplitChannel</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyNetsplitChannel objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#NetsplitChannel-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>halfop</strong> = <attribute 'halfop' of 'irssi.NetsplitChannel' objects><dd><tt>is halfop</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.NetsplitChannel' objects><dd><tt><a href="#Channel">Channel</a> name</tt></dl> + +<dl><dt><strong>op</strong> = <attribute 'op' of 'irssi.NetsplitChannel' objects><dd><tt>is op</tt></dl> + +<dl><dt><strong>other</strong> = <attribute 'other' of 'irssi.NetsplitChannel' objects><dd><tt>?</tt></dl> + +<dl><dt><strong>voice</strong> = <attribute 'voice' of 'irssi.NetsplitChannel' objects><dd><tt>is voice</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="NetsplitServer">class <strong>NetsplitServer</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyNetsplitServer objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#NetsplitServer-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>count</strong> = <attribute 'count' of 'irssi.NetsplitServer' objects><dd><tt>Number of splits in server</tt></dl> + +<dl><dt><strong>destserver</strong> = <attribute 'destserver' of 'irssi.NetsplitServer' objects><dd><tt>The other server where split occured.</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.NetsplitServer' objects><dd><tt>The server nick was in</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Nick">class <strong>Nick</strong></a>(<a href="irssi.html#IrssiChatBase">IrssiChatBase</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyNick objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#Nick">Nick</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>gone</strong> = <attribute 'gone' of 'irssi.Nick' objects><dd><tt>User status</tt></dl> + +<dl><dt><strong>halfop</strong> = <attribute 'halfop' of 'irssi.Nick' objects><dd><tt>User status</tt></dl> + +<dl><dt><strong>hops</strong> = <attribute 'hops' of 'irssi.Nick' objects><dd><tt>Hop count to the server the nick is using</tt></dl> + +<dl><dt><strong>host</strong> = <attribute 'host' of 'irssi.Nick' objects><dd><tt>Host address</tt></dl> + +<dl><dt><strong>last_check</strong> = <attribute 'last_check' of 'irssi.Nick' objects><dd><tt>timestamp when last checked gone/ircop status.</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Nick' objects><dd><tt>Plain nick</tt></dl> + +<dl><dt><strong>op</strong> = <attribute 'op' of 'irssi.Nick' objects><dd><tt>User status</tt></dl> + +<dl><dt><strong>realname</strong> = <attribute 'realname' of 'irssi.Nick' objects><dd><tt>Real name</tt></dl> + +<dl><dt><strong>send_massjoin</strong> = <attribute 'send_massjoin' of 'irssi.Nick' objects><dd><tt>Waiting to be sent in a 'massjoin' signal, True or False</tt></dl> + +<dl><dt><strong>serverop</strong> = <attribute 'serverop' of 'irssi.Nick' objects><dd><tt>User status</tt></dl> + +<dl><dt><strong>voice</strong> = <attribute 'voice' of 'irssi.Nick' objects><dd><tt>User status</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Nick-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Notifylist">class <strong>Notifylist</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyNotifylist objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Notifylist-ircnets"><strong>ircnets</strong></a>(...)</dt><dd><tt><a href="#Notifylist-ircnets">ircnets</a>() -> list of str<br> + <br> +Return list of ircnets the notify is checked</tt></dd></dl> + +<dl><dt><a name="Notifylist-ircnets_match"><strong>ircnets_match</strong></a>(...)</dt><dd><tt><a href="#Notifylist-ircnets_match">ircnets_match</a>(ircnet) -> bool<br> + <br> +Return True if notify is checked in ircnet</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Notifylist-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>away_check</strong> = <attribute 'away_check' of 'irssi.Notifylist' objects><dd><tt>Notify away status changes</tt></dl> + +<dl><dt><strong>idle_check_time</strong> = <attribute 'idle_check_time' of 'irssi.Notifylist' objects><dd><tt>Notify when idle time is reset and idle was bigger than this (seconds)</tt></dl> + +<dl><dt><strong>mask</strong> = <attribute 'mask' of 'irssi.Notifylist' objects><dd><tt>Notify nick mask</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Process">class <strong>Process</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyProcess objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Process-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>args</strong> = <attribute 'args' of 'irssi.Process' objects><dd><tt>The command that is being executed</tt></dl> + +<dl><dt><strong>id</strong> = <attribute 'id' of 'irssi.Process' objects><dd><tt>ID for the process</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.Process' objects><dd><tt>Name for the process (if given)</tt></dl> + +<dl><dt><strong>notice</strong> = <attribute 'notice' of 'irssi.Process' objects><dd><tt>send text with /notice, not /msg if target is set</tt></dl> + +<dl><dt><strong>pid</strong> = <attribute 'pid' of 'irssi.Process' objects><dd><tt>PID for the executed command</tt></dl> + +<dl><dt><strong>shell</strong> = <attribute 'shell' of 'irssi.Process' objects><dd><tt>start the program via /bin/sh</tt></dl> + +<dl><dt><strong>silent</strong> = <attribute 'silent' of 'irssi.Process' objects><dd><tt>don't print "process exited with level xx"</tt></dl> + +<dl><dt><strong>target</strong> = <attribute 'target' of 'irssi.Process' objects><dd><tt>send text with /msg <target> ...</tt></dl> + +<dl><dt><strong>target_win</strong> = <attribute 'target_win' of 'irssi.Process' objects><dd><tt>print text to this window</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Query">class <strong>Query</strong></a>(<a href="irssi.html#WindowItem">WindowItem</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyQuery objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#Query">Query</a></dd> +<dd><a href="irssi.html#WindowItem">WindowItem</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="Query-change_server"><strong>change_server</strong></a>(...)</dt><dd><tt><a href="#Query-change_server">change_server</a>(server) -> None<br> + <br> +Change the active server for the query.</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>address</strong> = <attribute 'address' of 'irssi.Query' objects><dd><tt>Host address of the queries nick</tt></dl> + +<dl><dt><strong>server_tag</strong> = <attribute 'server_tag' of 'irssi.Query' objects><dd><tt><a href="#Server">Server</a> tag used for this nick (doesn't get erased if server gets disconnected)</tt></dl> + +<dl><dt><strong>unwanted</strong> = <attribute 'unwanted' of 'irssi.Query' objects><dd><tt>1 if the other side closed or some error occured (DCC chats)</tt></dl> + +<hr> +Methods inherited from <a href="irssi.html#WindowItem">WindowItem</a>:<br> +<dl><dt><a name="Query-activity"><strong>activity</strong></a>(...)</dt><dd><tt><a href="#Query-activity">activity</a>(data_level, hilight_color) -> None</tt></dd></dl> + +<dl><dt><a name="Query-command"><strong>command</strong></a>(...)</dt><dd><tt><a href="#Query-command">command</a>(cmd) -> None<br> + <br> +Send command to window item</tt></dd></dl> + +<dl><dt><a name="Query-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#Query-destroy">destroy</a>() -> None<br> + <br> +Destroy channel or query</tt></dd></dl> + +<dl><dt><a name="Query-get_dcc"><strong>get_dcc</strong></a>(...)</dt><dd><tt><a href="#Query-get_dcc">get_dcc</a>() -> <a href="#DccChat">DccChat</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +If item is a query of a =nick, return DCC chat record of nick</tt></dd></dl> + +<dl><dt><a name="Query-is_active"><strong>is_active</strong></a>(...)</dt><dd><tt><a href="#Query-is_active">is_active</a>() -> bool<br> + <br> +Returns true if window item is active</tt></dd></dl> + +<dl><dt><a name="Query-printformat"><strong>printformat</strong></a>(...)</dt><dd><tt>for <a href="#Server">Server</a> objects:<br> +<a href="#Query-printformat">printformat</a>(target, level, format, ...) -> None<br> + <br> +For all else:<br> +<a href="#Query-printformat">printformat</a>(level, format, ...) -> None</tt></dd></dl> + +<dl><dt><a name="Query-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#Query-prnt">prnt</a>(str, level) -> None<br> + <br> +Print to window item</tt></dd></dl> + +<dl><dt><a name="Query-set_active"><strong>set_active</strong></a>(...)</dt><dd><tt><a href="#Query-set_active">set_active</a>() -> None<br> + <br> +Set window item active</tt></dd></dl> + +<dl><dt><a name="Query-window"><strong>window</strong></a>(...)</dt><dd><tt><a href="#Query-window">window</a>() -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Return parent window for window item</tt></dd></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#WindowItem">WindowItem</a>:<br> +<dl><dt><strong>createtime</strong> = <attribute 'createtime' of 'irssi.WindowItem' objects><dd><tt>Time the witem was created</tt></dl> + +<dl><dt><strong>data_level</strong> = <attribute 'data_level' of 'irssi.WindowItem' objects><dd><tt>0=no new data, 1=text, 2=msg, 3=highlighted text</tt></dl> + +<dl><dt><strong>hilight_color</strong> = <attribute 'hilight_color' of 'irssi.WindowItem' objects><dd><tt>Color of the last highlighted text</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.WindowItem' objects><dd><tt>Name of the item</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.WindowItem' objects><dd><tt>Active name for item</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Query-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Rawlog">class <strong>Rawlog</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyRawlog objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Rawlog-close"><strong>close</strong></a>(...)</dt><dd><tt><a href="#Rawlog-close">close</a>() -> None<br> + <br> +Stop logging to file</tt></dd></dl> + +<dl><dt><a name="Rawlog-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#Rawlog-destroy">destroy</a>() -> None<br> + <br> +Destroy rawlog</tt></dd></dl> + +<dl><dt><a name="Rawlog-get_lines"><strong>get_lines</strong></a>(...)</dt><dd><tt><a href="#Rawlog-get_lines">get_lines</a>() -> list of str<br> + <br> +Return a list of lines for rawlog.</tt></dd></dl> + +<dl><dt><a name="Rawlog-input"><strong>input</strong></a>(...)</dt><dd><tt><a href="#Rawlog-input">input</a>(str) -> None<br> + <br> +Send str to rawlog as input text.</tt></dd></dl> + +<dl><dt><a name="Rawlog-open"><strong>open</strong></a>(...)</dt><dd><tt><a href="#Rawlog-open">open</a>(fname) -> None<br> + <br> +Start logging new messages in rawlog to specified file.</tt></dd></dl> + +<dl><dt><a name="Rawlog-output"><strong>output</strong></a>(...)</dt><dd><tt><a href="#Rawlog-output">output</a>(str) -> None<br> + <br> +Send str to rawlog as output text.</tt></dd></dl> + +<dl><dt><a name="Rawlog-redirect"><strong>redirect</strong></a>(...)</dt><dd><tt><a href="#Rawlog-redirect">redirect</a>(str) -> None<br> + <br> +Send str to rawlog as redirection text.</tt></dd></dl> + +<dl><dt><a name="Rawlog-save"><strong>save</strong></a>(...)</dt><dd><tt><a href="#Rawlog-save">save</a>(fname) -> None<br> + <br> +Save the current rawlog history to specified file.</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Rawlog-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>logging</strong> = <attribute 'logging' of 'irssi.Rawlog' objects><dd><tt>The raw log is being written to file currently.</tt></dl> + +<dl><dt><strong>nlines</strong> = <attribute 'nlines' of 'irssi.Rawlog' objects><dd><tt>Number of lines in rawlog.</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Reconnect">class <strong>Reconnect</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyReconnect objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Reconnect-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>connect</strong> = <attribute 'connect' of 'irssi.Reconnect' objects><dd><tt>Connection <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>next_connect</strong> = <attribute 'next_connect' of 'irssi.Reconnect' objects><dd><tt>Unix time stamp when the next connection occurs</tt></dl> + +<dl><dt><strong>tag</strong> = <attribute 'tag' of 'irssi.Reconnect' objects><dd><tt>Unique numeric tag</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Script">class <strong>Script</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyScript objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Script-command_bind"><strong>command_bind</strong></a>(...)</dt><dd><tt><a href="#Script-command_bind">command_bind</a>(command, func, catetory=None, priority=SIGNAL_PRIORITY_DEFAULT) -> None<br> + <br> +Add handler for a command</tt></dd></dl> + +<dl><dt><a name="Script-command_unbind"><strong>command_unbind</strong></a>(...)</dt><dd><tt><a href="#Script-command_unbind">command_unbind</a>(command, func=None) -> None<br> + <br> +Remove command handler</tt></dd></dl> + +<dl><dt><a name="Script-io_add_watch"><strong>io_add_watch</strong></a>(...)</dt><dd><tt><a href="#Script-io_add_watch">io_add_watch</a>(fd, func, data=None, condition=IO_IN|IO_PRI) -> int source tag</tt></dd></dl> + +<dl><dt><a name="Script-settings_add_bool"><strong>settings_add_bool</strong></a>(...)</dt><dd><tt><a href="#Script-settings_add_bool">settings_add_bool</a>(section, key, def) -> None</tt></dd></dl> + +<dl><dt><a name="Script-settings_add_int"><strong>settings_add_int</strong></a>(...)</dt><dd><tt><a href="#Script-settings_add_int">settings_add_int</a>(section, key, def) -> None</tt></dd></dl> + +<dl><dt><a name="Script-settings_add_level"><strong>settings_add_level</strong></a>(...)</dt><dd><tt><a href="#Script-settings_add_level">settings_add_level</a>(section, key, def) -> None</tt></dd></dl> + +<dl><dt><a name="Script-settings_add_size"><strong>settings_add_size</strong></a>(...)</dt><dd><tt><a href="#Script-settings_add_size">settings_add_size</a>(section, key, def) -> None</tt></dd></dl> + +<dl><dt><a name="Script-settings_add_str"><strong>settings_add_str</strong></a>(...)</dt><dd><tt><a href="#Script-settings_add_str">settings_add_str</a>(section, key, def) -> None</tt></dd></dl> + +<dl><dt><a name="Script-settings_add_time"><strong>settings_add_time</strong></a>(...)</dt><dd><tt><a href="#Script-settings_add_time">settings_add_time</a>(section, key, def) -> None</tt></dd></dl> + +<dl><dt><a name="Script-settings_remove"><strong>settings_remove</strong></a>(...)</dt><dd><tt><a href="#Script-settings_remove">settings_remove</a>(key) -> bool</tt></dd></dl> + +<dl><dt><a name="Script-signal_add"><strong>signal_add</strong></a>(...)</dt><dd><tt><a href="#Script-signal_add">signal_add</a>(signal, func, priority=SIGNAL_PRIORITY_DEFAULT) -> None<br> + <br> +Add handler for signal</tt></dd></dl> + +<dl><dt><a name="Script-signal_register"><strong>signal_register</strong></a>(...)</dt><dd><tt><a href="#Script-signal_register">signal_register</a>(signal, arglist) -> None<br> + <br> +Register a new dynamic signal for use with irssi_python<br> +arglist is a string of character codes representing the type of each argument<br> +of the signal handler function.<br> + <br> + Scalars<br> + s -> char *<br> + i -> int<br> + <br> + Chat objects<br> + c -> CHATNET_REC<br> + S -> SERVER_REC<br> + C -> CHANNEL_REC<br> + q -> QUERY_REC<br> + n -> NICK_REC<br> + W -> WI_ITEM_REC<br> + <br> + Irssi objects<br> + d -> DCC_REC<br> + <br> + Other objects<br> + r -> RECONNECT_REC<br> + o -> COMMAND_REC<br> + l -> LOG_REC<br> + a -> RAWLOG_REC<br> + g -> IGNORE_REC<br> + b -> BAN_REC<br> + N -> NETSPLIT_REC<br> + e -> NETSPLIT_SERVER_REC<br> + O -> NOTIFYLIST_REC<br> + p -> PROCESS_REC<br> + t -> TEXT_DEST_REC<br> + w -> WINDOW_REC</tt></dd></dl> + +<dl><dt><a name="Script-signal_remove"><strong>signal_remove</strong></a>(...)</dt><dd><tt><a href="#Script-signal_remove">signal_remove</a>(signal, func=None) -> None<br> + <br> +Remove signal handler</tt></dd></dl> + +<dl><dt><a name="Script-signal_unregister"><strong>signal_unregister</strong></a>(...)</dt><dd><tt><a href="#Script-signal_unregister">signal_unregister</a>(signal) -> None<br> + <br> +Unregister dynamic signal</tt></dd></dl> + +<dl><dt><a name="Script-source_remove"><strong>source_remove</strong></a>(...)</dt><dd><tt><a href="#Script-source_remove">source_remove</a>(tag) -> bool<br> + <br> +Remove IO or timeout source by tag. Return True if tag found and removed.</tt></dd></dl> + +<dl><dt><a name="Script-statusbar_item_register"><strong>statusbar_item_register</strong></a>(...)</dt><dd><tt><a href="#Script-statusbar_item_register">statusbar_item_register</a>(name, value=None, func=None) -> None</tt></dd></dl> + +<dl><dt><a name="Script-theme_register"><strong>theme_register</strong></a>(...)</dt><dd><tt><a href="#Script-theme_register">theme_register</a>(list) -> None</tt></dd></dl> + +<dl><dt><a name="Script-timeout_add"><strong>timeout_add</strong></a>(...)</dt><dd><tt><a href="#Script-timeout_add">timeout_add</a>(msecs, func, data=None) -> int source tag<br> + <br> +Add a timeout handler called every 'msecs' milliseconds until func<br> +returns False or the source is removed with <a href="#Script-source_remove">source_remove</a>().<br> + <br> +func is called as func(data) or func(), depending on whether data<br> +is specified or not.</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Script-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>argv</strong> = <member 'argv' of 'irssi.Script' objects><dd><tt><a href="#Script">Script</a> arguments</tt></dl> + +<dl><dt><strong>module</strong> = <member 'module' of 'irssi.Script' objects><dd><tt><a href="#Script">Script</a> module</tt></dl> + +<dl><dt><strong>modules</strong> = <member 'modules' of 'irssi.Script' objects><dd><tt>Imported modules</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Server">class <strong>Server</strong></a>(<a href="irssi.html#IrssiChatBase">IrssiChatBase</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyServer objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#Server">Server</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="Server-channel_find"><strong>channel_find</strong></a>(...)</dt><dd><tt><a href="#Server-channel_find">channel_find</a>(name) -> <a href="#Channel">Channel</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find channel from this server</tt></dd></dl> + +<dl><dt><a name="Server-channels"><strong>channels</strong></a>(...)</dt><dd><tt><a href="#Server-channels">channels</a>() -> list of <a href="#Channel">Channel</a> objects<br> + <br> +Return list of channels for server</tt></dd></dl> + +<dl><dt><a name="Server-channels_join"><strong>channels_join</strong></a>(...)</dt><dd><tt><a href="#Server-channels_join">channels_join</a>(channels, automatic=False) -> None<br> + <br> +Join to channels in server. `channels' may also contain keys for<br> +channels just like with /JOIN command. `automatic' specifies if this<br> +channel was joined 'automatically' or if it was joined because join<br> +was requested by user. If channel join is 'automatic', irssi doesn't<br> +jump to the window where the channel was joined.</tt></dd></dl> + +<dl><dt><a name="Server-command"><strong>command</strong></a>(...)</dt><dd><tt><a href="#Server-command">command</a>(cmd) -> None<br> + <br> +Send command</tt></dd></dl> + +<dl><dt><a name="Server-disconnect"><strong>disconnect</strong></a>(...)</dt><dd><tt><a href="#Server-disconnect">disconnect</a>() -> None<br> + <br> +Disconnect from server</tt></dd></dl> + +<dl><dt><a name="Server-get_nick_flags"><strong>get_nick_flags</strong></a>(...)</dt><dd><tt><a href="#Server-get_nick_flags">get_nick_flags</a>() -> str<br> + <br> +Returns nick flag characters in order: op, voice, halfop ("@+%") in IRC</tt></dd></dl> + +<dl><dt><a name="Server-ignore_check"><strong>ignore_check</strong></a>(...)</dt><dd><tt><a href="#Server-ignore_check">ignore_check</a>(nick, host, channel, text, level) -> bool<br> + <br> +Return True if ignore matches</tt></dd></dl> + +<dl><dt><a name="Server-ischannel"><strong>ischannel</strong></a>(...)</dt><dd><tt><a href="#Server-ischannel">ischannel</a>(data) -> bool<br> + <br> +Returns True if start of `data' seems to mean channel.</tt></dd></dl> + +<dl><dt><a name="Server-isnickflag"><strong>isnickflag</strong></a>(...)</dt><dd><tt><a href="#Server-isnickflag">isnickflag</a>(flag) -> bool<br> + <br> +Returns True if flag is a nick mode flag (@, + or % in IRC)</tt></dd></dl> + +<dl><dt><a name="Server-mask_match"><strong>mask_match</strong></a>(...)</dt><dd><tt><a href="#Server-mask_match">mask_match</a>(mask, nick, user, host) -> bool<br> + <br> +Return true if mask matches nick!user@host</tt></dd></dl> + +<dl><dt><a name="Server-mask_match_address"><strong>mask_match_address</strong></a>(...)</dt><dd><tt><a href="#Server-mask_match_address">mask_match_address</a>(mask, nick, address) -> bool<br> + <br> +Return True if mask matches nick!address</tt></dd></dl> + +<dl><dt><a name="Server-masks_match"><strong>masks_match</strong></a>(...)</dt><dd><tt><a href="#Server-masks_match">masks_match</a>(masks, nick, address) -> bool<br> + <br> +Return True if any mask in the masks (string separated by spaces)<br> +matches nick!address</tt></dd></dl> + +<dl><dt><a name="Server-nicks_get_same"><strong>nicks_get_same</strong></a>(...)</dt><dd><tt><a href="#Server-nicks_get_same">nicks_get_same</a>(nick)<br> + <br> +Return all nick objects in all channels in server. List is in format:<br> +[(<a href="#Channel">Channel</a>, <a href="#Nick">Nick</a>), (<a href="#Channel">Channel</a>, <a href="#Nick">Nick</a>), ...]</tt></dd></dl> + +<dl><dt><a name="Server-printformat"><strong>printformat</strong></a>(...)</dt><dd><tt>for <a href="#Server">Server</a> objects:<br> +<a href="#Server-printformat">printformat</a>(target, level, format, ...) -> None<br> + <br> +For all else:<br> +<a href="#Server-printformat">printformat</a>(level, format, ...) -> None</tt></dd></dl> + +<dl><dt><a name="Server-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#Server-prnt">prnt</a>(channel, str, level) -> None<br> + <br> +Print to server</tt></dd></dl> + +<dl><dt><a name="Server-queries"><strong>queries</strong></a>(...)</dt><dd><tt><a href="#Server-queries">queries</a>() -> list of <a href="#Query">Query</a> objects<br> + <br> +Return a list of queries for server.</tt></dd></dl> + +<dl><dt><a name="Server-query_find"><strong>query_find</strong></a>(...)</dt><dd><tt><a href="#Server-query_find">query_find</a>(nick) -> <a href="#Query">Query</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find a query on this server.</tt></dd></dl> + +<dl><dt><a name="Server-send_message"><strong>send_message</strong></a>(...)</dt><dd><tt><a href="#Server-send_message">send_message</a>(target, msg, target_type) -> None<br> + <br> +Sends a message to nick/channel. target_type 0 = channel, 1 = nick</tt></dd></dl> + +<dl><dt><a name="Server-window_find_closest"><strong>window_find_closest</strong></a>(...)</dt><dd><tt><a href="#Server-window_find_closest">window_find_closest</a>(name, level) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window that matches best to given arguments. `name' can be either<br> +window name or name of one of the window items.</tt></dd></dl> + +<dl><dt><a name="Server-window_find_item"><strong>window_find_item</strong></a>(...)</dt><dd><tt><a href="#Server-window_find_item">window_find_item</a>(name) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window which contains window item with specified name/server</tt></dd></dl> + +<dl><dt><a name="Server-window_find_level"><strong>window_find_level</strong></a>(...)</dt><dd><tt><a href="#Server-window_find_level">window_find_level</a>(level) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window with level</tt></dd></dl> + +<dl><dt><a name="Server-window_item_find"><strong>window_item_find</strong></a>(...)</dt><dd><tt><a href="#Server-window_item_find">window_item_find</a>(name) -> <a href="#WindowItem">WindowItem</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window item that matches best to given arguments</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>away_reason</strong> = <attribute 'away_reason' of 'irssi.Server' objects><dd><tt>Away reason message</tt></dl> + +<dl><dt><strong>banned</strong> = <attribute 'banned' of 'irssi.Server' objects><dd><tt>Were we banned from this server? 1|0</tt></dl> + +<dl><dt><strong>connect</strong> = <attribute 'connect' of 'irssi.Server' objects><dd><tt><a href="#Connect">Connect</a> <a href="__builtin__.html#object">object</a> for the server</tt></dl> + +<dl><dt><strong>connect_time</strong> = <attribute 'connect_time' of 'irssi.Server' objects><dd><tt>Time when <a href="#Server-connect">connect</a>() to server finished</tt></dl> + +<dl><dt><strong>connected</strong> = <attribute 'connected' of 'irssi.Server' objects><dd><tt>Is connection finished? 1|0</tt></dl> + +<dl><dt><strong>connection_lost</strong> = <attribute 'connection_lost' of 'irssi.Server' objects><dd><tt>Did we lose the connection (1) or was the connection just /DISCONNECTed (0)</tt></dl> + +<dl><dt><strong>lag</strong> = <attribute 'lag' of 'irssi.Server' objects><dd><tt>Current lag to server in milliseconds</tt></dl> + +<dl><dt><strong>last_invite</strong> = <attribute 'last_invite' of 'irssi.Server' objects><dd><tt>Last channel we were invited to</tt></dl> + +<dl><dt><strong>nick</strong> = <attribute 'nick' of 'irssi.Server' objects><dd><tt>Current nick</tt></dl> + +<dl><dt><strong>rawlog</strong> = <attribute 'rawlog' of 'irssi.Server' objects><dd><tt><a href="#Rawlog">Rawlog</a> <a href="__builtin__.html#object">object</a> for the server</tt></dl> + +<dl><dt><strong>real_connect_time</strong> = <attribute 'real_connect_time' of 'irssi.Server' objects><dd><tt>Time when server sent 'connected' message</tt></dl> + +<dl><dt><strong>server_operator</strong> = <attribute 'server_operator' of 'irssi.Server' objects><dd><tt>Are we server operator (IRC op) 1|0</tt></dl> + +<dl><dt><strong>tag</strong> = <attribute 'tag' of 'irssi.Server' objects><dd><tt>Unique server tag</tt></dl> + +<dl><dt><strong>usermode_away</strong> = <attribute 'usermode_away' of 'irssi.Server' objects><dd><tt>Are we marked as away? 1|0</tt></dl> + +<dl><dt><strong>version</strong> = <attribute 'version' of 'irssi.Server' objects><dd><tt><a href="#Server">Server</a> version</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Server-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="StatusbarItem">class <strong>StatusbarItem</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyStatusbarItem objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="StatusbarItem-default_handler"><strong>default_handler</strong></a>(...)</dt><dd><tt><a href="#StatusbarItem-default_handler">default_handler</a>(get_size_only, str=None, data=, escape_vars=True) -> None<br> + <br> +Run default handler of item to print to statusbar</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#StatusbarItem-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>max_size</strong> = <attribute 'max_size' of 'irssi.StatusbarItem' objects><dd><tt>max size</tt></dl> + +<dl><dt><strong>min_size</strong> = <attribute 'min_size' of 'irssi.StatusbarItem' objects><dd><tt>min size</tt></dl> + +<dl><dt><strong>size</strong> = <attribute 'size' of 'irssi.StatusbarItem' objects><dd><tt>size</tt></dl> + +<dl><dt><strong>window</strong> = <attribute 'window' of 'irssi.StatusbarItem' objects><dd><tt>parent window for statusbar item</tt></dl> + +<dl><dt><strong>xpos</strong> = <attribute 'xpos' of 'irssi.StatusbarItem' objects><dd><tt>x position</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="TextDest">class <strong>TextDest</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt><a href="#TextDest-__init__">__init__</a>(target, level=MSGLEVEL_CLIENTNOTICE, server=None, window=None)<br> + <br> +Create a <a href="#TextDest">TextDest</a><br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="TextDest-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#TextDest-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> + +<dl><dt><a name="TextDest-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#TextDest-prnt">prnt</a>(str) -> None<br> + <br> +Print str to <a href="#TextDest">TextDest</a></tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#TextDest-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>hilight_color</strong> = <attribute 'hilight_color' of 'irssi.TextDest' objects><dd><tt>Color for the hilighted text</tt></dl> + +<dl><dt><strong>hilight_priority</strong> = <attribute 'hilight_priority' of 'irssi.TextDest' objects><dd><tt>Priority for the hilighted text</tt></dl> + +<dl><dt><strong>level</strong> = <attribute 'level' of 'irssi.TextDest' objects><dd><tt>Text level</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.TextDest' objects><dd><tt>Target server</tt></dl> + +<dl><dt><strong>target</strong> = <attribute 'target' of 'irssi.TextDest' objects><dd><tt>Target channel/query/etc name</tt></dl> + +<dl><dt><strong>window</strong> = <attribute 'window' of 'irssi.TextDest' objects><dd><tt><a href="#Window">Window</a> where the text will be written</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Theme">class <strong>Theme</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr><td bgcolor="#ffc8d8"><tt> </tt></td><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Theme-format_expand"><strong>format_expand</strong></a>(...)</dt><dd><tt><a href="#Theme-format_expand">format_expand</a>(format, flags=0) -> str or None</tt></dd></dl> + +<dl><dt><a name="Theme-get_format"><strong>get_format</strong></a>(...)</dt><dd><tt><a href="#Theme-get_format">get_format</a>(module, tag) -> str</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Theme-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="Window">class <strong>Window</strong></a>(<a href="__builtin__.html#object">__builtin__.object</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyWindow objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%">Methods defined here:<br> +<dl><dt><a name="Window-activity"><strong>activity</strong></a>(...)</dt><dd><tt><a href="#Window-activity">activity</a>(data_level, hilight_color) -> None</tt></dd></dl> + +<dl><dt><a name="Window-change_server"><strong>change_server</strong></a>(...)</dt><dd><tt><a href="#Window-change_server">change_server</a>(server) -> None<br> + <br> +Change server in window</tt></dd></dl> + +<dl><dt><a name="Window-command"><strong>command</strong></a>(...)</dt><dd><tt><a href="#Window-command">command</a>(cmd) -> None<br> + <br> +Send command to window</tt></dd></dl> + +<dl><dt><a name="Window-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#Window-destroy">destroy</a>() -> None<br> + <br> +Destroy the window.</tt></dd></dl> + +<dl><dt><a name="Window-get_active_name"><strong>get_active_name</strong></a>(...)</dt><dd><tt><a href="#Window-get_active_name">get_active_name</a>() -> str or None<br> + <br> +Return active item's name, or if none is active, window's name.</tt></dd></dl> + +<dl><dt><a name="Window-item_add"><strong>item_add</strong></a>(...)</dt><dd><tt><a href="#Window-item_add">item_add</a>(item, automatic=False) -> None<br> + <br> +Add window item</tt></dd></dl> + +<dl><dt><a name="Window-item_destroy"><strong>item_destroy</strong></a>(...)</dt><dd><tt><a href="#Window-item_destroy">item_destroy</a>(item) -> None<br> + <br> +Destroy window item</tt></dd></dl> + +<dl><dt><a name="Window-item_find"><strong>item_find</strong></a>(...)</dt><dd><tt><a href="#Window-item_find">item_find</a>(server, name) -> <a href="#WindowItem">WindowItem</a> or None<br> + <br> +Find window item that matches best to given arguments</tt></dd></dl> + +<dl><dt><a name="Window-item_next"><strong>item_next</strong></a>(...)</dt><dd><tt><a href="#Window-item_next">item_next</a>() -> None<br> + <br> +Change to next window item</tt></dd></dl> + +<dl><dt><a name="Window-item_prev"><strong>item_prev</strong></a>(...)</dt><dd><tt><a href="#Window-item_prev">item_prev</a>() -> None<br> + <br> +Change to previous window item</tt></dd></dl> + +<dl><dt><a name="Window-item_remove"><strong>item_remove</strong></a>(...)</dt><dd><tt><a href="#Window-item_remove">item_remove</a>(item) -> None<br> + <br> +Remove window item</tt></dd></dl> + +<dl><dt><a name="Window-items"><strong>items</strong></a>(...)</dt><dd><tt><a href="#Window-items">items</a>() -> list of <a href="#WindowItem">WindowItem</a> objects<br> + <br> +Return a list of items in window.</tt></dd></dl> + +<dl><dt><a name="Window-printformat"><strong>printformat</strong></a>(...)</dt><dd><tt>for <a href="#Server">Server</a> objects:<br> +<a href="#Window-printformat">printformat</a>(target, level, format, ...) -> None<br> + <br> +For all else:<br> +<a href="#Window-printformat">printformat</a>(level, format, ...) -> None</tt></dd></dl> + +<dl><dt><a name="Window-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#Window-prnt">prnt</a>(str, level=MSGLEVEL_CLIENTNOTICE) -> None<br> + <br> +Print to window</tt></dd></dl> + +<dl><dt><a name="Window-set_active"><strong>set_active</strong></a>(...)</dt><dd><tt><a href="#Window-set_active">set_active</a>() -> None<br> + <br> +Set window active.</tt></dd></dl> + +<dl><dt><a name="Window-set_history"><strong>set_history</strong></a>(...)</dt><dd><tt><a href="#Window-set_history">set_history</a>(history) -> None<br> + <br> +Set window history</tt></dd></dl> + +<dl><dt><a name="Window-set_level"><strong>set_level</strong></a>(...)</dt><dd><tt><a href="#Window-set_level">set_level</a>(level) -> None<br> + <br> +Set window level</tt></dd></dl> + +<dl><dt><a name="Window-set_name"><strong>set_name</strong></a>(...)</dt><dd><tt><a href="#Window-set_name">set_name</a>(name) -> None<br> + <br> +Set window name</tt></dd></dl> + +<dl><dt><a name="Window-set_refnum"><strong>set_refnum</strong></a>(...)</dt><dd><tt><a href="#Window-set_refnum">set_refnum</a>(refnum) -> None<br> + <br> +Set window refnum</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Window-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>active</strong> = <attribute 'active' of 'irssi.Window' objects><dd><tt>Active window item</tt></dl> + +<dl><dt><strong>active_server</strong> = <attribute 'active_server' of 'irssi.Window' objects><dd><tt>Active server</tt></dl> + +<dl><dt><strong>data_level</strong> = <attribute 'data_level' of 'irssi.Window' objects><dd><tt>Current data level</tt></dl> + +<dl><dt><strong>height</strong> = <attribute 'height' of 'irssi.Window' objects><dd><tt>Height</tt></dl> + +<dl><dt><strong>hilight_color</strong> = <attribute 'hilight_color' of 'irssi.Window' objects><dd><tt>Current activity hilight color</tt></dl> + +<dl><dt><strong>history_name</strong> = <attribute 'history_name' of 'irssi.Window' objects><dd><tt>Name of named historylist for this window</tt></dl> + +<dl><dt><strong>last_line</strong> = <attribute 'last_line' of 'irssi.Window' objects><dd><tt>Last time text was written in window</tt></dl> + +<dl><dt><strong>last_timestamp</strong> = <attribute 'last_timestamp' of 'irssi.Window' objects><dd><tt>Last time timestamp was written in window</tt></dl> + +<dl><dt><strong>level</strong> = <attribute 'level' of 'irssi.Window' objects><dd><tt>Current window level</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.Window' objects><dd><tt>Name</tt></dl> + +<dl><dt><strong>refnum</strong> = <attribute 'refnum' of 'irssi.Window' objects><dd><tt>Reference number</tt></dl> + +<dl><dt><strong>servertag</strong> = <attribute 'servertag' of 'irssi.Window' objects><dd><tt>active_server must be either None or have this same tag(unless there's items in this window). This is used by/WINDOW SERVER -sticky</tt></dl> + +<dl><dt><strong>sticky_refnum</strong> = <attribute 'sticky_refnum' of 'irssi.Window' objects><dd><tt>True if reference number is sticky</tt></dl> + +<dl><dt><strong>theme_name</strong> = <attribute 'theme_name' of 'irssi.Window' objects><dd><tt>Active theme in window, None = default</tt></dl> + +<dl><dt><strong>width</strong> = <attribute 'width' of 'irssi.Window' objects><dd><tt>Width</tt></dl> + +</td></tr></table> <p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#ffc8d8"> +<td colspan=3 valign=bottom> <br> +<font color="#000000" face="helvetica, arial"><a name="WindowItem">class <strong>WindowItem</strong></a>(<a href="irssi.html#IrssiChatBase">IrssiChatBase</a>)</font></td></tr> + +<tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> +<td colspan=2><tt>PyWindowItem objects<br> </tt></td></tr> +<tr><td> </td> +<td width="100%"><dl><dt>Method resolution order:</dt> +<dd><a href="irssi.html#WindowItem">WindowItem</a></dd> +<dd><a href="irssi.html#IrssiChatBase">IrssiChatBase</a></dd> +<dd><a href="irssi.html#IrssiBase">IrssiBase</a></dd> +<dd><a href="__builtin__.html#object">__builtin__.object</a></dd> +</dl> +<hr> +Methods defined here:<br> +<dl><dt><a name="WindowItem-activity"><strong>activity</strong></a>(...)</dt><dd><tt><a href="#WindowItem-activity">activity</a>(data_level, hilight_color) -> None</tt></dd></dl> + +<dl><dt><a name="WindowItem-change_server"><strong>change_server</strong></a>(...)</dt><dd><tt><a href="#WindowItem-change_server">change_server</a>(server) -> None<br> + <br> +Change server for window item</tt></dd></dl> + +<dl><dt><a name="WindowItem-command"><strong>command</strong></a>(...)</dt><dd><tt><a href="#WindowItem-command">command</a>(cmd) -> None<br> + <br> +Send command to window item</tt></dd></dl> + +<dl><dt><a name="WindowItem-destroy"><strong>destroy</strong></a>(...)</dt><dd><tt><a href="#WindowItem-destroy">destroy</a>() -> None<br> + <br> +Destroy channel or query</tt></dd></dl> + +<dl><dt><a name="WindowItem-get_dcc"><strong>get_dcc</strong></a>(...)</dt><dd><tt><a href="#WindowItem-get_dcc">get_dcc</a>() -> <a href="#DccChat">DccChat</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +If item is a query of a =nick, return DCC chat record of nick</tt></dd></dl> + +<dl><dt><a name="WindowItem-is_active"><strong>is_active</strong></a>(...)</dt><dd><tt><a href="#WindowItem-is_active">is_active</a>() -> bool<br> + <br> +Returns true if window item is active</tt></dd></dl> + +<dl><dt><a name="WindowItem-printformat"><strong>printformat</strong></a>(...)</dt><dd><tt>for <a href="#Server">Server</a> objects:<br> +<a href="#WindowItem-printformat">printformat</a>(target, level, format, ...) -> None<br> + <br> +For all else:<br> +<a href="#WindowItem-printformat">printformat</a>(level, format, ...) -> None</tt></dd></dl> + +<dl><dt><a name="WindowItem-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#WindowItem-prnt">prnt</a>(str, level) -> None<br> + <br> +Print to window item</tt></dd></dl> + +<dl><dt><a name="WindowItem-set_active"><strong>set_active</strong></a>(...)</dt><dd><tt><a href="#WindowItem-set_active">set_active</a>() -> None<br> + <br> +Set window item active</tt></dd></dl> + +<dl><dt><a name="WindowItem-window"><strong>window</strong></a>(...)</dt><dd><tt><a href="#WindowItem-window">window</a>() -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Return parent window for window item</tt></dd></dl> + +<hr> +Data and other attributes defined here:<br> +<dl><dt><strong>createtime</strong> = <attribute 'createtime' of 'irssi.WindowItem' objects><dd><tt>Time the witem was created</tt></dl> + +<dl><dt><strong>data_level</strong> = <attribute 'data_level' of 'irssi.WindowItem' objects><dd><tt>0=no new data, 1=text, 2=msg, 3=highlighted text</tt></dl> + +<dl><dt><strong>hilight_color</strong> = <attribute 'hilight_color' of 'irssi.WindowItem' objects><dd><tt>Color of the last highlighted text</tt></dl> + +<dl><dt><strong>name</strong> = <attribute 'name' of 'irssi.WindowItem' objects><dd><tt>Name of the item</tt></dl> + +<dl><dt><strong>server</strong> = <attribute 'server' of 'irssi.WindowItem' objects><dd><tt>Active name for item</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiChatBase">IrssiChatBase</a>:<br> +<dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#WindowItem-__new__">__new__</a>(S, ...) -> a new <a href="__builtin__.html#object">object</a> with type S, a subtype of T</tt></dl> + +<dl><dt><strong>chat_type</strong> = <attribute 'chat_type' of 'irssi.IrssiChatBase' objects><dd><tt>Chat name (str)</tt></dl> + +<dl><dt><strong>chat_type_id</strong> = <attribute 'chat_type_id' of 'irssi.IrssiChatBase' objects><dd><tt>Chat Type id (int)</tt></dl> + +<hr> +Data and other attributes inherited from <a href="irssi.html#IrssiBase">IrssiBase</a>:<br> +<dl><dt><strong>type</strong> = <attribute 'type' of 'irssi.IrssiBase' objects><dd><tt>Irssi's name for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>type_id</strong> = <attribute 'type_id' of 'irssi.IrssiBase' objects><dd><tt>Irssi's type id for <a href="__builtin__.html#object">object</a></tt></dl> + +<dl><dt><strong>valid</strong> = <attribute 'valid' of 'irssi.IrssiBase' objects><dd><tt>True if the <a href="__builtin__.html#object">object</a> is valid</tt></dl> + +</td></tr></table></td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#eeaa77"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Functions</strong></big></font></td></tr> + +<tr><td bgcolor="#eeaa77"><tt> </tt></td><td> </td> +<td width="100%"><dl><dt><a name="-active_mainwin"><strong>active_mainwin</strong></a>(...)</dt><dd><tt><a href="#-active_mainwin">active_mainwin</a>() -> <a href="#MainWindow">MainWindow</a> <a href="__builtin__.html#object">object</a><br> + <br> +return active main window</tt></dd></dl> + <dl><dt><a name="-active_server"><strong>active_server</strong></a>(...)</dt><dd><tt><a href="#-active_server">active_server</a>() -> <a href="#Server">Server</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Return active server</tt></dd></dl> + <dl><dt><a name="-active_win"><strong>active_win</strong></a>(...)</dt><dd><tt><a href="#-active_win">active_win</a>() -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a><br> + <br> +Return active window</tt></dd></dl> + <dl><dt><a name="-bits2level"><strong>bits2level</strong></a>(...)</dt><dd><tt><a href="#-bits2level">bits2level</a>(bits) -> str<br> + <br> +Level number -> string</tt></dd></dl> + <dl><dt><a name="-channel_find"><strong>channel_find</strong></a>(...)</dt><dd><tt><a href="#-channel_find">channel_find</a>(name) -> <a href="#Channel">Channel</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find channel from any server</tt></dd></dl> + <dl><dt><a name="-channels"><strong>channels</strong></a>(...)</dt><dd><tt><a href="#-channels">channels</a>() -> list of <a href="#Channel">Channel</a> objects<br> + <br> +Return channel list</tt></dd></dl> + <dl><dt><a name="-chatnet_find"><strong>chatnet_find</strong></a>(...)</dt><dd><tt><a href="#-chatnet_find">chatnet_find</a>(name) -> <a href="#Chatnet">Chatnet</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find chat network with name</tt></dd></dl> + <dl><dt><a name="-chatnets"><strong>chatnets</strong></a>(...)</dt><dd><tt><a href="#-chatnets">chatnets</a>() -> list of <a href="#Chatnet">Chatnet</a> objects<br> + <br> +Return a list of all chatnets</tt></dd></dl> + <dl><dt><a name="-combine_level"><strong>combine_level</strong></a>(...)</dt><dd><tt><a href="#-combine_level">combine_level</a>(level, str) -> long<br> + <br> +Combine level number to level string ('+level -level'). Return new level number.</tt></dd></dl> + <dl><dt><a name="-command"><strong>command</strong></a>(...)</dt><dd><tt><a href="#-command">command</a>(cmd) -> None<br> + <br> +Execute command</tt></dd></dl> + <dl><dt><a name="-command_bind"><strong>command_bind</strong></a>(*args, **kwargs)</dt><dd><tt>see <a href="#Script">Script</a>.command_bind</tt></dd></dl> + <dl><dt><a name="-command_runsub"><strong>command_runsub</strong></a>(...)</dt><dd><tt><a href="#-command_runsub">command_runsub</a>(cmd, data, server=None, item=None) -> None<br> + <br> +Run subcommands for `cmd'. First word in `data' is parsed as<br> +subcommand. `server' is <a href="#Server">Server</a> <a href="__builtin__.html#object">object</a> for current<br> +<a href="#WindowItem">WindowItem</a> `item'.<br> + <br> +Call command_runsub in handler function for `cmd' and bind<br> +with <a href="#-command_bind">command_bind</a>("`cmd' `subcmd'", subcmdfunc[, category]);</tt></dd></dl> + <dl><dt><a name="-command_unbind"><strong>command_unbind</strong></a>(*args, **kwargs)</dt><dd><tt>see <a href="#Script">Script</a>.command_unbind</tt></dd></dl> + <dl><dt><a name="-commands"><strong>commands</strong></a>(...)</dt><dd><tt><a href="#-commands">commands</a>() -> list of <a href="#Command">Command</a> objects<br> + <br> +Return a list of all commands.</tt></dd></dl> + <dl><dt><a name="-current_theme"><strong>current_theme</strong></a>(...)</dt><dd><tt><a href="#-current_theme">current_theme</a>() -> <a href="#Theme">Theme</a> <a href="__builtin__.html#object">object</a></tt></dd></dl> + <dl><dt><a name="-dcc_chat_find_id"><strong>dcc_chat_find_id</strong></a>(...)</dt><dd><tt><a href="#-dcc_chat_find_id">dcc_chat_find_id</a>(id) -> <a href="#Dcc">Dcc</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +???</tt></dd></dl> + <dl><dt><a name="-dcc_find_request"><strong>dcc_find_request</strong></a>(...)</dt><dd><tt><a href="#-dcc_find_request">dcc_find_request</a>(type, nick, arg) -> <a href="#Dcc">Dcc</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +???</tt></dd></dl> + <dl><dt><a name="-dcc_find_request_latest"><strong>dcc_find_request_latest</strong></a>(...)</dt><dd><tt><a href="#-dcc_find_request_latest">dcc_find_request_latest</a>(type) -> <a href="#Dcc">Dcc</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +???</tt></dd></dl> + <dl><dt><a name="-dcc_get_download_path"><strong>dcc_get_download_path</strong></a>(...)</dt><dd><tt>dcc_get_download(fname) -> str<br> + <br> +???</tt></dd></dl> + <dl><dt><a name="-dcc_register_type"><strong>dcc_register_type</strong></a>(...)</dt><dd><tt><a href="#-dcc_register_type">dcc_register_type</a>(type) -> None<br> + <br> +???</tt></dd></dl> + <dl><dt><a name="-dcc_str2type"><strong>dcc_str2type</strong></a>(...)</dt><dd><tt><a href="#-dcc_str2type">dcc_str2type</a>(type) -> int<br> + <br> +???</tt></dd></dl> + <dl><dt><a name="-dcc_type2str"><strong>dcc_type2str</strong></a>(...)</dt><dd><tt><a href="#-dcc_type2str">dcc_type2str</a>(type) -> str or None<br> + <br> +???</tt></dd></dl> + <dl><dt><a name="-dcc_unregister_type"><strong>dcc_unregister_type</strong></a>(...)</dt><dd><tt><a href="#-dcc_unregister_type">dcc_unregister_type</a>(type) -> None<br> + <br> +???</tt></dd></dl> + <dl><dt><a name="-dccs"><strong>dccs</strong></a>(...)</dt><dd><tt><a href="#-dccs">dccs</a>() -> list of <a href="#Dcc">Dcc</a> objects<br> + <br> +Return list of active DCCs</tt></dd></dl> + <dl><dt><a name="-format_get_length"><strong>format_get_length</strong></a>(...)</dt><dd><tt><a href="#-format_get_length">format_get_length</a>(str) -> int length</tt></dd></dl> + <dl><dt><a name="-format_real_length"><strong>format_real_length</strong></a>(...)</dt><dd><tt><a href="#-format_real_length">format_real_length</a>(str, len) -> int length</tt></dd></dl> + <dl><dt><a name="-get_script"><strong>get_script</strong></a>(...)</dt><dd><tt><a href="#-get_script">get_script</a>() -> <a href="#Script">Script</a> <a href="__builtin__.html#object">object</a><br> + <br> +Find current Irssi script <a href="__builtin__.html#object">object</a></tt></dd></dl> + <dl><dt><a name="-ignore_check"><strong>ignore_check</strong></a>(...)</dt><dd><tt><a href="#-ignore_check">ignore_check</a>(nick, host, channel, text, level) -> bool<br> + <br> +Return True if ignore matches</tt></dd></dl> + <dl><dt><a name="-ignores"><strong>ignores</strong></a>(...)</dt><dd><tt><a href="#-ignores">ignores</a>() -> list of <a href="#Ignore">Ignore</a> objects<br> + <br> +Return a list of ignore entries</tt></dd></dl> + <dl><dt><a name="-io_add_watch"><strong>io_add_watch</strong></a>(*args, **kwargs)</dt><dd><tt>see <a href="#Script">Script</a>.io_add_watch</tt></dd></dl> + <dl><dt><a name="-level2bits"><strong>level2bits</strong></a>(...)</dt><dd><tt><a href="#-level2bits">level2bits</a>(level) -> long<br> + <br> +Level string -> number</tt></dd></dl> + <dl><dt><a name="-log_find"><strong>log_find</strong></a>(...)</dt><dd><tt><a href="#-log_find">log_find</a>(fname) -> <a href="#Log">Log</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find log by file name.</tt></dd></dl> + <dl><dt><a name="-logs"><strong>logs</strong></a>(...)</dt><dd><tt><a href="#-logs">logs</a>() -> list of <a href="#Log">Log</a> objects<br> + <br> +Return list of logs.</tt></dd></dl> + <dl><dt><a name="-mainwindows"><strong>mainwindows</strong></a>(...)</dt><dd><tt><a href="#-mainwindows">mainwindows</a>() -> list of <a href="#MainWindow">MainWindow</a> objects<br> + <br> +return a list of mainwindows</tt></dd></dl> + <dl><dt><a name="-mask_match"><strong>mask_match</strong></a>(...)</dt><dd><tt><a href="#-mask_match">mask_match</a>(mask, nick, user, host) -> bool<br> + <br> +Return true if mask matches nick!user@host</tt></dd></dl> + <dl><dt><a name="-mask_match_address"><strong>mask_match_address</strong></a>(...)</dt><dd><tt><a href="#-mask_match_address">mask_match_address</a>(mask, nick, address) -> bool<br> + <br> +Return True if mask matches nick!address</tt></dd></dl> + <dl><dt><a name="-masks_match"><strong>masks_match</strong></a>(...)</dt><dd><tt><a href="#-masks_match">masks_match</a>(masks, nick, address) -> bool<br> + <br> +Return True if any mask in the masks (string separated by spaces)<br> +matches nick!address</tt></dd></dl> + <dl><dt><a name="-notifies"><strong>notifies</strong></a>(...)</dt><dd><tt><a href="#-notifies">notifies</a>() -> list of <a href="#Notifylist">Notifylist</a> objects<br> + <br> +Return list of notifies</tt></dd></dl> + <dl><dt><a name="-notifylist_add"><strong>notifylist_add</strong></a>(...)</dt><dd><tt><a href="#-notifylist_add">notifylist_add</a>(mask, ircnets=None, away_check=0, idle_time_check=0) -> <a href="#Notifylist">Notifylist</a> <a href="__builtin__.html#object">object</a><br> + <br> +Add new item to notify list</tt></dd></dl> + <dl><dt><a name="-notifylist_find"><strong>notifylist_find</strong></a>(...)</dt><dd><tt><a href="#-notifylist_find">notifylist_find</a>(mask, ircnet=None) -> <a href="#Notifylist">Notifylist</a> <a href="__builtin__.html#object">object</a><br> + <br> +Find notify</tt></dd></dl> + <dl><dt><a name="-notifylist_ison"><strong>notifylist_ison</strong></a>(...)</dt><dd><tt><a href="#-notifylist_ison">notifylist_ison</a>(nick, serverlist="") -> <a href="#IrcServer">IrcServer</a> <a href="__builtin__.html#object">object</a><br> + <br> +Check if nick is in IRC. serverlist is a space separated list of server tags.<br> +If it's empty string, all servers will be checked</tt></dd></dl> + <dl><dt><a name="-notifylist_remove"><strong>notifylist_remove</strong></a>(...)</dt><dd><tt><a href="#-notifylist_remove">notifylist_remove</a>(mask) -> None<br> + <br> +Remove notify item from notify list</tt></dd></dl> + <dl><dt><a name="-pidwait_add"><strong>pidwait_add</strong></a>(...)</dt><dd><tt><a href="#-pidwait_add">pidwait_add</a>(pid) -> None<br> + <br> +Add pid to wait list</tt></dd></dl> + <dl><dt><a name="-pidwait_remove"><strong>pidwait_remove</strong></a>(...)</dt><dd><tt><a href="#-pidwait_remove">pidwait_remove</a>(pid) -> None<br> + <br> +Remove pid from wait list</tt></dd></dl> + <dl><dt><a name="-printformat"><strong>printformat</strong></a>(...)</dt><dd><tt>for <a href="#Server">Server</a> objects:<br> +<a href="#-printformat">printformat</a>(target, level, format, ...) -> None<br> + <br> +For all else:<br> +<a href="#-printformat">printformat</a>(level, format, ...) -> None</tt></dd></dl> + <dl><dt><a name="-prnt"><strong>prnt</strong></a>(...)</dt><dd><tt><a href="#-prnt">prnt</a>(text, msglvl=MSGLEVEL_CLIENTNOTICE) -> None<br> + <br> +print output</tt></dd></dl> + <dl><dt><a name="-queries"><strong>queries</strong></a>(...)</dt><dd><tt><a href="#-queries">queries</a>() -> list of <a href="#Query">Query</a> objects<br> + <br> +Return a list of open queries.</tt></dd></dl> + <dl><dt><a name="-query_find"><strong>query_find</strong></a>(...)</dt><dd><tt><a href="#-query_find">query_find</a>(nick) -> <a href="#Query">Query</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find a query from any server.</tt></dd></dl> + <dl><dt><a name="-rawlog_set_size"><strong>rawlog_set_size</strong></a>(...)</dt><dd><tt><a href="#-rawlog_set_size">rawlog_set_size</a>(lines) -> None<br> + <br> +Set the default rawlog size for new rawlogs.</tt></dd></dl> + <dl><dt><a name="-reconnects"><strong>reconnects</strong></a>(...)</dt><dd><tt><a href="#-reconnects">reconnects</a>() -> list of <a href="#Reconnect">Reconnect</a> objects<br> + <br> +Return a list of all reconnects</tt></dd></dl> + <dl><dt><a name="-server_find_chatnet"><strong>server_find_chatnet</strong></a>(...)</dt><dd><tt><a href="#-server_find_chatnet">server_find_chatnet</a>(chatnet) -> <a href="#Server">Server</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find first server that is in chatnet</tt></dd></dl> + <dl><dt><a name="-server_find_tag"><strong>server_find_tag</strong></a>(...)</dt><dd><tt><a href="#-server_find_tag">server_find_tag</a>(tag) -> <a href="#Server">Server</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find server with tag</tt></dd></dl> + <dl><dt><a name="-server_redirect_register"><strong>server_redirect_register</strong></a>(...)</dt><dd><tt><a href="#-server_redirect_register">server_redirect_register</a>(command, stop, start=None, opt=None, remote=False, timeout=0) -> None<br> + <br> +Register new redirection command. By default irssi has already<br> +registered at least: whois, whowas, who, list, ison, userhost, ping,<br> +"mode channel" (/MODE #channel), "mode b" (/MODE #channel b), "mode e"<br> +and "mode I".<br> + <br> +`command' specifies the name of the command to register, it doesn't<br> +have to be a real command name, but something you just specify to<br> +<a href="#Server">Server</a>.redirect_event() when using this redirection.<br> + <br> +`start', `stop', `opt' - lists of ('event', argpos) tuples.<br> +List of events that start and stop this redirection.<br> +Start event list may be empty, but there must be at least one<br> +stop event. Optional events are checked only if they are received<br> +immediately after one of the stop-events. `argpos' specifies the<br> +word number in event string which is compared to wanted argument,<br> +-1 = don't compare, TRUE always.<br> + <br> +`remote' specifies if the command is by default a remote command<br> +(eg. sent to another server). <a href="#Server">Server</a>.redirect_event() may override this.<br> + <br> +`timeout' - If remote is TRUE, specifies how many seconds to wait for<br> +reply before aborting.<br> + <br> +Example (already done by irssi):<br> + <br> +<a href="#-server_redirect_register">server_redirect_register</a>('mode channel',<br> + start = None,<br> + stop = [ <br> + ('event 324', 1), # MODE-reply<br> + ('event 403', 1), # no such channel<br> + ('event 442', 1), # "you're not on that channel"<br> + ('event 479', 1) # "Cannot join channel (illegal name)"<br> + ], <br> + opt = [ <br> + ('event 329', 1) # <a href="#Channel">Channel</a> create time<br> + ] <br> +)</tt></dd></dl> + <dl><dt><a name="-servers"><strong>servers</strong></a>(...)</dt><dd><tt><a href="#-servers">servers</a>() -> list of <a href="#Server">Server</a> objects<br> + <br> +Return a list of all servers</tt></dd></dl> + <dl><dt><a name="-settings_get_bool"><strong>settings_get_bool</strong></a>(...)</dt><dd><tt><a href="#-settings_get_bool">settings_get_bool</a>(key) -> bool<br> + <br> +Get value for setting.</tt></dd></dl> + <dl><dt><a name="-settings_get_int"><strong>settings_get_int</strong></a>(...)</dt><dd><tt><a href="#-settings_get_int">settings_get_int</a>(key) -> int<br> + <br> +Get value for setting.</tt></dd></dl> + <dl><dt><a name="-settings_get_level"><strong>settings_get_level</strong></a>(...)</dt><dd><tt><a href="#-settings_get_level">settings_get_level</a>(key) -> int<br> + <br> +Get value for setting.</tt></dd></dl> + <dl><dt><a name="-settings_get_size"><strong>settings_get_size</strong></a>(...)</dt><dd><tt><a href="#-settings_get_size">settings_get_size</a>(key) -> long<br> + <br> +Get value for setting.</tt></dd></dl> + <dl><dt><a name="-settings_get_str"><strong>settings_get_str</strong></a>(...)</dt><dd><tt><a href="#-settings_get_str">settings_get_str</a>(key) -> str<br> + <br> +Get value for setting.</tt></dd></dl> + <dl><dt><a name="-settings_get_time"><strong>settings_get_time</strong></a>(...)</dt><dd><tt><a href="#-settings_get_time">settings_get_time</a>(key) -> long<br> + <br> +Get value for setting.</tt></dd></dl> + <dl><dt><a name="-settings_set_bool"><strong>settings_set_bool</strong></a>(...)</dt><dd><tt><a href="#-settings_set_bool">settings_set_bool</a>(key, value) -> None<br> + <br> +Set bool value for setting</tt></dd></dl> + <dl><dt><a name="-settings_set_int"><strong>settings_set_int</strong></a>(...)</dt><dd><tt><a href="#-settings_set_int">settings_set_int</a>(key, value) -> None<br> + <br> +Set int value for setting</tt></dd></dl> + <dl><dt><a name="-settings_set_level"><strong>settings_set_level</strong></a>(...)</dt><dd><tt><a href="#-settings_set_level">settings_set_level</a>(key, value) -> bool<br> + <br> +Set string value for setting</tt></dd></dl> + <dl><dt><a name="-settings_set_size"><strong>settings_set_size</strong></a>(...)</dt><dd><tt><a href="#-settings_set_size">settings_set_size</a>(key, value) -> bool<br> + <br> +Set string value for setting</tt></dd></dl> + <dl><dt><a name="-settings_set_str"><strong>settings_set_str</strong></a>(...)</dt><dd><tt><a href="#-settings_set_str">settings_set_str</a>(key, value) -> None<br> + <br> +Set string value for setting</tt></dd></dl> + <dl><dt><a name="-settings_set_time"><strong>settings_set_time</strong></a>(...)</dt><dd><tt><a href="#-settings_set_time">settings_set_time</a>(key, value) -> bool<br> + <br> +Set string value for setting</tt></dd></dl> + <dl><dt><a name="-signal_add"><strong>signal_add</strong></a>(*args, **kwargs)</dt><dd><tt>see <a href="#Script">Script</a>.signal_add</tt></dd></dl> + <dl><dt><a name="-signal_continue"><strong>signal_continue</strong></a>(...)</dt><dd><tt><a href="#-signal_continue">signal_continue</a>(*args) -> None<br> + <br> +Continue (reemit?) the current Irssi signal with up to 6 arguments</tt></dd></dl> + <dl><dt><a name="-signal_emit"><strong>signal_emit</strong></a>(...)</dt><dd><tt><a href="#-signal_emit">signal_emit</a>(signal, *args) -> None<br> + <br> +Emit an Irssi signal with up to 6 arguments</tt></dd></dl> + <dl><dt><a name="-signal_get_emitted"><strong>signal_get_emitted</strong></a>(...)</dt><dd><tt>signal_get_emmited() -> signal name string<br> + <br> +Get name of current signal</tt></dd></dl> + <dl><dt><a name="-signal_get_emitted_id"><strong>signal_get_emitted_id</strong></a>(...)</dt><dd><tt>signal_get_emmited_id() -> signal id int<br> + <br> +Get id of current signal</tt></dd></dl> + <dl><dt><a name="-signal_remove"><strong>signal_remove</strong></a>(*args, **kwargs)</dt><dd><tt>see <a href="#Script">Script</a>.signal_remove</tt></dd></dl> + <dl><dt><a name="-signal_stop"><strong>signal_stop</strong></a>(...)</dt><dd><tt><a href="#-signal_stop">signal_stop</a>() -> None<br> + <br> +Stop the signal that's currently being emitted.</tt></dd></dl> + <dl><dt><a name="-signal_stop_by_name"><strong>signal_stop_by_name</strong></a>(...)</dt><dd><tt><a href="#-signal_stop_by_name">signal_stop_by_name</a>(signal) -> None<br> + <br> +Stop the signal, 'signal', thats currently being emitted by name</tt></dd></dl> + <dl><dt><a name="-statusbar_item_unregister"><strong>statusbar_item_unregister</strong></a>(...)</dt><dd><tt><a href="#-statusbar_item_unregister">statusbar_item_unregister</a>(name) -> None</tt></dd></dl> + <dl><dt><a name="-statusbar_items_redraw"><strong>statusbar_items_redraw</strong></a>(...)</dt><dd><tt><a href="#-statusbar_items_redraw">statusbar_items_redraw</a>(name) -> None</tt></dd></dl> + <dl><dt><a name="-statusbars_recreate_items"><strong>statusbars_recreate_items</strong></a>(...)</dt><dd><tt><a href="#-statusbars_recreate_items">statusbars_recreate_items</a>() -> None</tt></dd></dl> + <dl><dt><a name="-strip_codes"><strong>strip_codes</strong></a>(...)</dt><dd><tt><a href="#-strip_codes">strip_codes</a>(input) -> str</tt></dd></dl> + <dl><dt><a name="-themes_reload"><strong>themes_reload</strong></a>(...)</dt><dd><tt><a href="#-themes_reload">themes_reload</a>() -> None</tt></dd></dl> + <dl><dt><a name="-timeout_add"><strong>timeout_add</strong></a>(*args, **kwargs)</dt><dd><tt>see <a href="#Script">Script</a>.timeout_add</tt></dd></dl> + <dl><dt><a name="-window_create"><strong>window_create</strong></a>(...)</dt><dd><tt><a href="#-window_create">window_create</a>(item=None, automatic=False) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a><br> + <br> +Create a new window</tt></dd></dl> + <dl><dt><a name="-window_find_closest"><strong>window_find_closest</strong></a>(...)</dt><dd><tt><a href="#-window_find_closest">window_find_closest</a>(name, level) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window that matches best to given arguments. `name' can be either<br> +window name or name of one of the window items.</tt></dd></dl> + <dl><dt><a name="-window_find_item"><strong>window_find_item</strong></a>(...)</dt><dd><tt><a href="#-window_find_item">window_find_item</a>(name) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window which contains window item with specified name.</tt></dd></dl> + <dl><dt><a name="-window_find_level"><strong>window_find_level</strong></a>(...)</dt><dd><tt><a href="#-window_find_level">window_find_level</a>(level) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window with level.</tt></dd></dl> + <dl><dt><a name="-window_find_name"><strong>window_find_name</strong></a>(...)</dt><dd><tt><a href="#-window_find_name">window_find_name</a>(name) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window with name</tt></dd></dl> + <dl><dt><a name="-window_find_refnum"><strong>window_find_refnum</strong></a>(...)</dt><dd><tt><a href="#-window_find_refnum">window_find_refnum</a>(refnum) -> <a href="#Window">Window</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window with reference number</tt></dd></dl> + <dl><dt><a name="-window_item_find"><strong>window_item_find</strong></a>(...)</dt><dd><tt><a href="#-window_item_find">window_item_find</a>(name) -> <a href="#WindowItem">WindowItem</a> <a href="__builtin__.html#object">object</a> or None<br> + <br> +Find window item that matches best to given arguments.</tt></dd></dl> + <dl><dt><a name="-window_refnum_next"><strong>window_refnum_next</strong></a>(...)</dt><dd><tt><a href="#-window_refnum_next">window_refnum_next</a>(refnum, wrap) -> int<br> + <br> +Return refnum for window that's next in window list</tt></dd></dl> + <dl><dt><a name="-window_refnum_prev"><strong>window_refnum_prev</strong></a>(...)</dt><dd><tt><a href="#-window_refnum_prev">window_refnum_prev</a>(refnum, wrap) -> int<br> + <br> +Return refnum for window that's previous in window list</tt></dd></dl> + <dl><dt><a name="-windows"><strong>windows</strong></a>(...)</dt><dd><tt><a href="#-windows">windows</a>() -> list of <a href="#Window">Window</a> objects<br> + <br> +Get a list of all windows</tt></dd></dl> + <dl><dt><a name="-windows_refnum_last"><strong>windows_refnum_last</strong></a>(...)</dt><dd><tt><a href="#-windows_refnum_last">windows_refnum_last</a>() -> int<br> + <br> +Return refnum for last window.</tt></dd></dl> +</td></tr></table><p> +<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> +<tr bgcolor="#55aa55"> +<td colspan=3 valign=bottom> <br> +<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> + +<tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> +<td width="100%"><strong>IO_ERR</strong> = 8<br> +<strong>IO_HUP</strong> = 16<br> +<strong>IO_IN</strong> = 1<br> +<strong>IO_OUT</strong> = 4<br> +<strong>IO_PRI</strong> = 2<br> +<strong>IRC_MASK_DOMAIN</strong> = 8<br> +<strong>IRC_MASK_HOST</strong> = 4<br> +<strong>IRC_MASK_NICK</strong> = 1<br> +<strong>IRC_MASK_USER</strong> = 2<br> +<strong>IRSSI_GUI_GNOME</strong> = 3<br> +<strong>IRSSI_GUI_GTK</strong> = 2<br> +<strong>IRSSI_GUI_KDE</strong> = 5<br> +<strong>IRSSI_GUI_NONE</strong> = 0<br> +<strong>IRSSI_GUI_QT</strong> = 4<br> +<strong>IRSSI_GUI_TEXT</strong> = 1<br> +<strong>MSGLEVEL_ACTIONS</strong> = 64<br> +<strong>MSGLEVEL_ALL</strong> = 4194303<br> +<strong>MSGLEVEL_CLIENTCRAP</strong> = 524288<br> +<strong>MSGLEVEL_CLIENTERROR</strong> = 1048576<br> +<strong>MSGLEVEL_CLIENTNOTICE</strong> = 262144<br> +<strong>MSGLEVEL_CRAP</strong> = 1<br> +<strong>MSGLEVEL_CTCPS</strong> = 32<br> +<strong>MSGLEVEL_DCC</strong> = 65536<br> +<strong>MSGLEVEL_DCCMSGS</strong> = 131072<br> +<strong>MSGLEVEL_HILIGHT</strong> = 2097152<br> +<strong>MSGLEVEL_INVITES</strong> = 16384<br> +<strong>MSGLEVEL_JOINS</strong> = 128<br> +<strong>MSGLEVEL_KICKS</strong> = 1024<br> +<strong>MSGLEVEL_LASTLOG</strong> = 134217728<br> +<strong>MSGLEVEL_MODES</strong> = 2048<br> +<strong>MSGLEVEL_MSGS</strong> = 2<br> +<strong>MSGLEVEL_NEVER</strong> = 67108864<br> +<strong>MSGLEVEL_NICKS</strong> = 32768<br> +<strong>MSGLEVEL_NOHILIGHT</strong> = 16777216<br> +<strong>MSGLEVEL_NOTICES</strong> = 8<br> +<strong>MSGLEVEL_NO_ACT</strong> = 33554432<br> +<strong>MSGLEVEL_PARTS</strong> = 256<br> +<strong>MSGLEVEL_PUBLIC</strong> = 4<br> +<strong>MSGLEVEL_QUITS</strong> = 512<br> +<strong>MSGLEVEL_SNOTES</strong> = 16<br> +<strong>MSGLEVEL_TOPICS</strong> = 4096<br> +<strong>MSGLEVEL_WALLOPS</strong> = 8192<br> +<strong>SIGNAL_PRIORITY_DEFAULT</strong> = 0<br> +<strong>SIGNAL_PRIORITY_HIGH</strong> = -100<br> +<strong>SIGNAL_PRIORITY_LOW</strong> = 100</td></tr></table> +</body></html>
\ No newline at end of file |