diff options
-rw-r--r-- | plugins/fishlim/README | 45 | ||||
-rw-r--r-- | plugins/perl/hexchat-perldocs.html | 475 | ||||
-rw-r--r-- | plugins/tcl/README | 55 | ||||
-rw-r--r-- | share/doc/dbus.md | 199 | ||||
-rw-r--r-- | share/doc/faq.md | 9 | ||||
-rw-r--r-- | share/doc/fishlim.md | 33 | ||||
-rw-r--r-- | share/doc/hexchat-text.md | 3 | ||||
-rw-r--r-- | share/doc/perl.html (renamed from plugins/perl/hexchat-perl.html) | 0 | ||||
-rw-r--r-- | share/doc/plugins.html (renamed from plugins/plugin20.html) | 0 | ||||
-rw-r--r-- | share/doc/python.md (renamed from plugins/python/hexchat-python.md) | 2 | ||||
-rw-r--r-- | share/doc/tcl.html | 3675 | ||||
-rw-r--r-- | src/common/dbus/README | 198 | ||||
-rw-r--r-- | src/fe-text/README | 5 |
13 files changed, 3914 insertions, 785 deletions
diff --git a/plugins/fishlim/README b/plugins/fishlim/README deleted file mode 100644 index 00d7f682..00000000 --- a/plugins/fishlim/README +++ /dev/null @@ -1,45 +0,0 @@ - - - FiSHLiM - - http://fishlim.kodafritt.se/ - - -FiSHLiM is an XChat plugin for FiSH IRC encryption. It's my attempt at making -a simple, lightweight and secure plugin for this encryption protocol. - -For installation instructions, see the INSTALL file. - - -Features --------- - -Working: - * Sending/receiving messages - * Topic decryption - * Using unecrypted keys / keys without a password from blow.ini - * Pure protocol-level filtering (works with highlighting, nick coloring etc) - * Partially encrypted messages (i.e. prefixed with nickname by a bouncer) - -Not working: - * Key exchange - * Password-protected key storage - * Topic encryption - * Remote exploitation (hopefully!) - * Plaintext content that contain +OK is decrypted twice - - -Commands --------- - -/setkey [nick or #channel] password - - Sets the encryption key for the nick or channel to password. The keys - are stored in the configuration file in ~/.xchat2/blow.ini - - -/delkey nick-or-#channel - - Deletes the given nick or channel from the configuration file. - - diff --git a/plugins/perl/hexchat-perldocs.html b/plugins/perl/hexchat-perldocs.html deleted file mode 100644 index 10d8f314..00000000 --- a/plugins/perl/hexchat-perldocs.html +++ /dev/null @@ -1,475 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>XChat - IRC (chat) client for UNIX</title> -<style type="text/css"> -body{font-family:sans-serif;background-color:#FFFBF0;} -:link{color:#00C;} -:visited{color:#609;} -:active{color:#C00;} -.date{background-color:#dddddd;font-family:terminal;font-size:small;} -th,td{font-family:sans-serif;} -h2{font-family:sans-serif;color:#990066;} -</style></head> - -<body> -<h1><center>This interface is deprecated</center></h1> -<table width="90%" cellpadding="0" cellspacing="0" border="0"> -<tbody><tr> - -<td align="left" valign="top"> -<blockquote> -<h2>Xchat Perl Docs</h2> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066"> -Introduction -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -<p>Good Hello!</p> -<p>The purpose of this page is to give people some quick documentation on the -things that they will encounter when they try to code scripts for X-Chat. -It is <strong>not</strong> meant to be a comprehensive programming tutorial, -by any means. If that's what you're looking for, then you can just keep on -looking.</p> -<p>If you're going to do any scripting with X-Chat at all, you will -need to know perl. It also won't hurt to have had experience writing tcl for -eggdrops or ircII scripts. Otherwise you're going to have to be very careful -to avoid creating conditions which could flood you offline or do other -not-so-optimal things. ;) Thankfully, it shouldn't take most intelligent -people more than a week (month on the outside) enough perl to do some nice -things in it. -<a HREF="http://www.perl.com">Perl</a> is a very flexible language.</p> -<p>You should probably also go read (or at least skim over and then carefully -bookmark this copy of the thing that defines how IRC works: <a HREF="http://www.irchelp.org/irchelp/rfc1459.html">RFC 1459</a>. -Other documents that scripters might find useful would be this -<a HREF="http://www.irchelp.org/irchelp/ircd/numerics.html">nice list of server -numerics</a>, and this list of <a HREF="http://www.irchelp.org/irchelp/ircd/hybrid6.html">changes -for Hybrid 6</a> which is something everyone on EFNet should read. In fact, I -<strong>strongly</strong> suggest saving copies of these documents to your local -hard drive, because you <i>will</i> be back to look at them again soon.</p> -<p>One last thing... While you may hear that RFC 1459 isn't being followed very -well, and this is partly true, do your absolute best to stick with RFC-compliant -behaviours anyway because otherwise there's a good chance that your script will -never interoperate properly with others, or at least just piss off a lot of other -people. <i>Pay special attention to section 2.2 of the RFC.</i></p> -</blockquote> - -<table ALIGN=CENTER WIDTH="75%" CELLPADDING=5 CELLSPACING=0> -<tr><td ALIGN=CENTER BGCOLOR="#FF7070"> -<font COLOR="#FFFFFF" FACE="Verdana, Helvetica, Arial, Sans"><b>Standard Disclaimer</b> -</font> -</td></tr><tr> <td BGCOLOR="#FFCECE" ALIGN=CENTER><font COLOR="#800000" FACE="Helvetica, Lucida, Arial, Sans"> -This documentation is provided on an "as-is" basis and comes with no warranty of accuracy or usefulness, either expressed or implied. It is subject to change without any notice, and may contain omissions or errors which could cause your genitalia to shrivel and fall off, or spontaneously combust. If you have any further questions,<br>please feel free to seek professional help.</font> -</td></tr></table> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -About Handlers -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -There are [currently] four basic ways to make things call the subroutines you write for X-Chat and they are: -<ul><li>message handlers - Triggered by messagse sent from the IRC server to your client</li> -<li>command handlers - triggered by / commands typed in by the user at the keyboard</li> -<li>timeout handlers - triggered by gtk+</li> -<li>print handlers - triggered just before xchat calls its built in print handlers for events</li></ul> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -About Exit Codes -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -These are very important. Every time you set up a handler, it takes precedent over the built-in functions and commands of X-Chat. That is, whatever thing which triggered your subroutine will go to your code before it goes to X-Chat to be dealt with. In this way you can replace almost every built-in function that the client has with your own routines. The thing to remember is that if your code exits by hitting the end of your subroutine, or by a plain 'return' statement, processing of the event will go on to whatever other things have set up hooks for the event, and then (provided nothing else exits with a return value of 1) to X-Chat itself. There is only one problem with this, (which is solved by the brokering handler that I'll explain that later) and that is that you cannot really control what order the custom routines get called. Normally they will execute in order of which ones were installed first, but a single script has no real way of knowing this. Beware. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -About @_ -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -If you've never heard of @_ before, then you've obviously not coded in perl. When a message handler triggers, the raw line from the IRC server is passed to the subroutine you specify in @_. When a command handler is triggered, only the arguments are passed to the routine through @_ and they are not broken into a list, but left as one long string. You'll have to parse those yourself with split. (I advise using s/\s+/ /g to collapse the blank space to single space first.) When a timer handler is triggered, I *think* absolutely nothing is passed in @_, but it's not like anything terrifically important could be passed along anyway. Be especially careful when setting up message handlers for mode changes, since the modes are not broken up into individual events like they are with eggdrop. The upside of this is that X-Chat has no mode hooks of it's own, so you don't have to worry about it too much. (This is not the case with the brokering handler, however.) -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -About Context -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -There are some really nice things about coding for X-Chat, and the biggest one is that it's fairly good about determining the proper context for things. If a server sends something that triggers a message handler, then you can be sure that unless you specify otherwise, that your IRC::print or IRC::command function call will go back to that server and that server alone. If you really really need to know what the current context is, use the IRC::get_info function as detailed below. -</blockquote> - -<hr width="95%"> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -script initialization commands -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::register(scriptname, version, shutdownroutine, unused); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -<p>This is the first function your script should call, example:</p> -<blockquote><p>IRC::register ("my script", "1.0", "", "");</p></blockquote> -<p>The "shutdownroutine" arg is a function that will be called when X-Chat shuts down, so you get a chance to save config files etc. You can omit this arg, it is optional. The "unused" arg is reserved for future use, for now just provide "". This function also returns X-Chat's version number. </p> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -Handler initialization commands -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::add_message_handler(message, subroutine_name); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -<p>This function allows you to set up hooks to subroutines so that when a particular message arrives from the IRC server that you are connected to, it can be passed to a subroutine to be dealt with appropriately. The message argument is essentially the second solid token from the raw line sent by the IRC server, and X-Chat doesn't know that some numeric messages have associated text messages, so for now set up a handler for both if you want to be sure odd servers don't screw up your expectations. (Read: fear IRCNet.) The entire line sent by the IRC server will be passed to your subroutine in @_. For the completely uninitiated, messages are things like 'PRIVMSG', 'NOTICE', '372', etc.</p> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::add_command_handler(command, subroutine_name); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -<p>This function allows you to set up hooks for actual commands that the user can type into the text window. The arguments are passed to the subroutine via @_, and arrive as a single string. @_ will be null if no arguments are supplied. It's recommended that you be sure and collapse the excess whitespace with s/\s+/ /g before attempting to chop the line up with split. As mentioned earlier, exiting with an undefined return value will allow the command to be parsed by other handlers, while using a return value of 1 will signal the program that no further parsing needs to be done with this command.</p> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::add_timeout_handler(interval, subroutine_name); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -<p>This function allows you to set up hooks for subroutines to be called at a particular interval. The interval is measured in milliseconds, so don't use a particularly small value unless you wish to drive the CPU load through the roof. 1000ms = 1 second. No values will be passed to the routine via @_ and return values don't affect anything either.</p> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::add_print_handler(message, subroutine_name); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -<p>This function allows you to catch the system messages (those who generally start by three stars) and to execute a function each time an event appear. The events are those you can see in "Settings->Edit Events Texts". message is the name of the event (you can find it in the Edit Events box, "Events" column) , subroutine_name is the name of the function that will get messages. Be carrful: all the arguments are sent to function in $_[0] separated by spaces. </p> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -Output commands -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::print(text); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This is a very simple routine. All it does is put the contents of the text string to the current window. The current window will be whichever window a command was typed into when called from a command handler, or in whichever window the message command is appropriate to if it is called from within a message handler. As with any perl program, newlines are not assumed, so don't forget to end the line with \n if you don't want things to look screwey. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::print_with_channel( text, channelname, servername ); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This routine does the same thing as IRC::Print does, except it allows you to direct the output to a specific window. It returns 1 on success, 0 on fail. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::command(text); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This routine allows you to execute commands in the current context. The text string containing the command will be parsed by everything that would normally parse a command, including your own command handlers, so be careful. Newlines are assumed, thankfully. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::command_with_server(text, servername); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This routine allows you to specify the context of the server for which the command will be executed. It's not particularly useful unless you're managing a connection manually, yet the command still exists for it's usefulness in doing things like managing a bnc connection, etc. Newlines are assumed here as well. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::send_raw(text); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This routine is very useful in that it allows you to send a string directly to the IRC server you are connected to. It is assumed that the server will be the one you first connected to if there is no clear context for the command, otherwise it will go to whatever server triggered the message handler or command handler window. You must specify newlines here always or you can be guaranteed that strange things will happen. The text message you specify should be a proper RAW IRC message, so don't play with it if you don't know how to do these. Additionally, while newlines are also not assumed here as with the IRC::print function, the RFC specifies that newlines are a CR+LF pair, even if most servers will accept a mere newline. It's best to play it safe and use \r\n instead of just \n. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -Information retrieval commands -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::get_info(integer); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This function returns a bit of selected information depending on what the value of the integer is. -Here's a list of the currently supported values: -<ul><li>0 - xchat version</li> -<li>1 - your nickname</li> -<li>2 - channel</li> -<li>3 - server</li> -<li>4 - xchatdir</li> -<li>5 - away status</li> -<li>6 - network name</li> -<li>7 - server hostname</li> -<li>8 - channel topic</li></ul> -<p>If you are requesting information that isn't available in the current context, then it will return null.</p> -<p>Any numbers other than the above will return an error message.</p> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::get_prefs(var); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This command lets you read the preferences that are set in the xchat configuration file. Just look at the xchat.conf dir to see what variables are available to use with this command. Returns the value of the variable requested or "Unknown Variable" if the variable isn't available. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::user_info( nickname ); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -Returns a flat list of information on the nickname specified consisting of... nickname, nick host, and whether they have op or voice in the current context. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::channel_list( ); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This command returns a flat list which contains the current channel, server, and nickname for all channels the client is currently in. You'll have to break the list up into groups of three yourself. No arguments are necessary, or used [currently]. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::server_list( ); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This command returns a flat list of servers. (Note, it is incompatible with xchat 1.8 in that it also returns a list of servers you are NOT connected to as well.) -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::user_list(channel, server); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -<p>Works very much like the dcc_list command below, except that is returns information about the users on the channel provided as first argument. The second argument is the server and is optional.</p> -<p>NOTE: If a user has both op and voice, only the op flag will be set to 1 by this command in xchat2.</p> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::user_list_short(channel, server); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -<p>A simpler version of IRC::user_list that returns pairs of nick & user@host suitable for assigning to a hash.</p> -<p>NOTE: If a user has both op and voice, only the op flag will be set to 1 by this command in xchat2.</p> -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::dcc_list( ); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This command does essentially the same thing as channel_list, giving you the details of each DCC connection currently in progress. I have no idea exactly what is returned because I haven't had a chance to poke at this one much, but suffice it to say that it's a flat list, and the first time you play with it the meaning of the returned values should be pretty obvious. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial"> -IRC::ignore_list( ); -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -This command returns a flat list of the contents of your ignore list. You'll have to play with it a little as I have not had a chance to yet. Works basically the same as the other list commands. -</blockquote> - -<table width="95%" cellpadding="0" cellspacing="3" border="0" align="center"> -<tbody><tr><td bgcolor="#000000"> -<table width="100%" cellpadding="2" cellspacing="1" border="0"><tbody><tr> -<td width="20%" align="left" bgcolor="#dddddd"> -<font face="Lucida, Helvetica, Arial" color="#990066;"> -Unimplemented commands that were available in xchat 1.8.x -</font></td> -</tr></tbody></table> -</td></tr></tbody></table> - -<blockquote> -add_user_list , sub_user_list , clear_user_list, notify_list were available in xchat 1.8.x but are not implemented in xchat 2 at this time. -</blockquote> - -</blockquote> -</td> -</tr> -</tbody></table> -<br><hr> -<font size="-10">This document originally written by Dagmar d'Surreal on March 26th, 1998 for xchat 1.4<br> -Updated on July 30th, 1999 by Peter Zelezny<br> -Updated on May 16th, 2003 by DaNumber8 to comply with the perl plugin for xchat2 version 2.0.3</font> -</body></html> diff --git a/plugins/tcl/README b/plugins/tcl/README deleted file mode 100644 index e46635ef..00000000 --- a/plugins/tcl/README +++ /dev/null @@ -1,55 +0,0 @@ -Please read this document before asking questions. - -(1) WHAT IS THE TCL PLUGIN? - - The XChat Tcl Plugin adds the complete Tcl scripting language to the - XChat 1.9.x and 2.x IRC client. The design philosophy behind the tcl - plugin was to give all the power of the C API. yet completely shield - the user from all the complexities of it. It is lightly modeled after - after Xircon; an old windows TCL enabled client with a little bit of - eggdrop functionality to it. - - Features: - * Uses the popular TCL scripting language. - * Familiar to eggdrop bot owners. - * Adds many new XChat specific commands to the Tcl language for - handling of events, user commands, timers, etc. - * It's actually documented! (Hey, what a concept!) - * Works with XChat 1.9.x and 2.x. - * Open source (GPL) - - The supplied documentation for Tcl Plugin commands can be - found in doc/tclplugin.html - - For a comprehensive list of IRC server tokens, see - doc/tokens.txt - - -(2) HOW TO GET TCL PLUGIN - - You can always find the latest version of the Tcl Plugin at: - - http://www.scriptkitties.com/tclplugin - - You must also have Tcl 8.3 or higher installed on your system. - - Tcl can be obtained from: - - http://sourceforge.net/projects/tcl - http://tcl.activestate.com (pre-compiled binaries) - - Tcl Man Pages - - http://tcl.activestate.com/man/ - - Tcl Tutorials: - - http://hegel.ittc.ukans.edu/topics/tcltk/tutorial-noplugin/ - http://jan.netcomp.monash.edu.au/ProgrammingUnix/tcl/tcl_tut.html - http://users.belgacom.net/bruno.champagne/tcl.html - - -(3) QUICK STARTUP - - SEE 'INSTALL' - diff --git a/share/doc/dbus.md b/share/doc/dbus.md new file mode 100644 index 00000000..d3c986df --- /dev/null +++ b/share/doc/dbus.md @@ -0,0 +1,199 @@ +# HexChat D-Bus Interface + +For more help you can see the HexChat [plugin interface documentation](https://github.com/hexchat/hexchat/blob/master/share/doc/plugins.md). WARNING: The dbus interface may change in the future. + +You can use the "/org/hexchat/Remote" object with interface "org.hexchat.plugin", but his context can be changed by other clients at any moment and you may receive signal asked by other clients. So for more complex usage it's better to get your own remote object. Using "Connect" method on interface "org.hexchat.connection" + +## Available methods on _org.hexchat.connection_ interface: + +* "Connect" + * Parameters: + * gchar\*: filename + * gchar\*: name + * gchar\*: description + * gchar\*: version + * Returns: + * gchar\*: Your own object's path. + +* "Disconnect" + * No parameter, no return value. It frees your remote object. + +## Available methods on _org.hexchat.plugin_ interface: + +* "Command" + * Parameters: + * gchar\*: the command name without the "/". (e.g. "nick pseudo") + +* "Print" + * Parameters: + * gchar\*: text to print on the HexChat window. + +* "FindContext" + * Parameters: + * gchar\*: the server name. Can be NULL. + * gchar\*: the channel name. Can be NULL. + * Returns: + * guint: context ID. + +* "GetContext" + * Returns: + * guint: current context's ID. + +* "SetContext" + * Parameters: + * guint: context ID to switch, returned by "FindContext" or "GetContext" + * Returns: + * gboolean: + * 1: Success. + * 0: Failure. + +* "GetInfo" + * Parameters: + * gchar\*: ID of the information you want. + * Returns: + * gchar\*: information you requested. + +* "GetPrefs" + * Parameters: + * gchar\*: Setting name required. + * Returns: + * int: + * 0: Failed. + * 1: Returned a string. + * 2: Returned an integer. + * 3: Returned a boolean. + * gchar\*: the information requested if it's a string. + * int: the information requested if it's a integer or boolean. + +* "HookCommand" + * Parameters: + * gchar\*: Name of the command (without the forward slash). + * int: Priority of this command. + * gchar\*: String of text to display when the user executes /help for this command. May be NULL if you're lazy. + * int: Value to returns when the command is catched. See XCHAT\_EAT\_*. + * Returns: + * guint: The ID of the hook. + +* "HookServer" + * Parameters: + * gchar\*: Name of the server event. + * int: Priority of this command. + * int: Value to returns when the command is catched. See XCHAT\_EAT\_*. + * Returns: + * guint: The ID of the hook. + +* "HookPrint" + * Parameters: + * gchar\*: Name of the print event. + * int: Priority of this command. + * int: Value to returns when the command is catched. See XCHAT\_EAT\_*. + * Returns: + * guint: The ID of the hook. + +* "Unhook" + * Parameters: + * guint: ID of the hook to unhook. + (the return value of "HookCommand", "HookServer" or "HookPrint") + +* "ListGet" + * Parameters: + * gchar\*: The list name. + * Returns: + * guint: List ID. + +* "ListNext" + * Parameters: + * guint: List ID returned by "ListGet". + * Returns: + * gboolean: says if there is no more item in the list. + +* "ListStr" + * Parameters: + * guint: List ID returned by "ListGet". + * gchar\*: Name of the information needed. + * Returns: + * gchar\*: The information requested. + +Warning: "context" attribute of "channels" list should be get with "ListInt" + +* "ListInt" + * Parameters: + * guint: List ID returned by "ListGet". + * gchar\*: Name of the information needed. + * Returns: + * guint: The information requested. + +* "ListTime" + * Parameters: + * guint: List ID returned by "ListGet". + * gchar\*: Name of the information needed. + * Returns: + * guint64: The information requested. + +* "ListFields" + * Parameters: + * gchar\*: The list name. + * Returns: + * gchar\*\*: information names in this list. + +* "ListFree" + * Parameters: + * guint: List ID returned by "ListGet". + +* "EmitPrint" + * Parameters: + * gchar\*: Text event to print. + * gchar\*\*: NULL terminated array of string. + * Returns: + * gboolean: + * 1: Success. + * 0: Failure. + +* "Nickcmp" + * Parameters: + * gchar\*: String to compare. + * gchar\*: String to compare. + * Returns: + * int: An integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2. + +* "Strip" + * Parameters: + * gchar\*: String to strip. + * int: Length of the string (or -1 for NULL terminated). + * int: Bit-field of flags: + * 0: Strip mIRC colors. + * 1: Strip text attributes. + * Returns: + * gchar\*: stripped string. + +* "SendModes" + * Parameters: + * gchar\*\*: NULL terminated array of targets (strings). The names of people whom the action will be performed on. + * int: Maximum modes to send per line. + * gchar: Mode sign, '-' or '+'. + * gchar: Mode char, e.g. 'o' for Ops. + +## Available signals: + +* "ServerSignal" + * Parameters: + * gchar\*\*: word returned by HexChat. + * gchar\*\*: word_eol returned by HexChat. + * guint: the ID of the hook (the return value of "HookServer"). + * guint: the ID of the context where the event come from. + +* "CommandSignal" + * Parameters: + * gchar\*\*: word returned by HexChat. + * gchar\*\*: word_eol returned by HexChat. + * guint: the ID of the hook (the return value of "HookCommand"). + * guint: the ID of the context where the event come from. + +* "PrintSignal" + * Parameters: + * gchar\*\*: word returned by HexChat. + * guint: the ID of the hook (the return value of "HookPrint"). + * guint: the ID of the context where the event come from. + +* "UnloadSignal" + * Emitted when the user asks to unload your program. Please exit(0); when received! diff --git a/share/doc/faq.md b/share/doc/faq.md index 99fa85fa..48555e62 100644 --- a/share/doc/faq.md +++ b/share/doc/faq.md @@ -1,8 +1,6 @@ -HexChat Frequently Asked Questions -================================== +# HexChat Frequently Asked Questions -Using HexChat. --------------- +## Using HexChat ### How do I autoconnect and join a channel when HexChat loads? @@ -295,8 +293,7 @@ to modify the global real name, just issue the following command: > 5. Rename *%APPDATA%\\HexChat\\plugin\_\*.conf to %APPDATA%\\HexChat\\addon\_\*.conf -Contributions, Development and Bugs. ------------------------------------- +## Contributions, Development and Bugs. ### I found a bug, what can I do? diff --git a/share/doc/fishlim.md b/share/doc/fishlim.md new file mode 100644 index 00000000..75c8cb99 --- /dev/null +++ b/share/doc/fishlim.md @@ -0,0 +1,33 @@ +# FiSHLiM + +FiSHLiM is an XChat plugin for FiSH IRC encryption. It's my attempt at making a simple, lightweight and secure plugin for this encryption protocol. For more info, please visit the [FiSHLiM website](http://fishlim.kodafritt.se/). + +For installation instructions, see the INSTALL file in the sources. + +## Features + +Working: + + * Sending/receiving messages + * Topic decryption + * Using unecrypted keys / keys without a password from blow.ini + * Pure protocol-level filtering (works with highlighting, nick coloring etc) + * Partially encrypted messages (i.e. prefixed with nickname by a bouncer) + +Not working: + + * Key exchange + * Password-protected key storage + * Topic encryption + * Remote exploitation (hopefully!) + * Plaintext content that contain +OK is decrypted twice + +## Commands + +Keys are stored in the configuration file in ~/.config/hexchat/addon_fishlim.txt. To set the encryption key for the nick or channel to password: + +<pre>/setkey [nick or #channel] password</pre> + +To delete the given nick or channel from the configuration file: + +<pre>/delkey nick-or-#channel</pre> diff --git a/share/doc/hexchat-text.md b/share/doc/hexchat-text.md new file mode 100644 index 00000000..30d91a31 --- /dev/null +++ b/share/doc/hexchat-text.md @@ -0,0 +1,3 @@ +# HexChat-Text + +HexChat-Text is an experimental text frontend for HexChat. If anyone wants to add ncurses support, they are welcome to. diff --git a/plugins/perl/hexchat-perl.html b/share/doc/perl.html index 6092047e..6092047e 100644 --- a/plugins/perl/hexchat-perl.html +++ b/share/doc/perl.html diff --git a/plugins/plugin20.html b/share/doc/plugins.html index e17f3346..e17f3346 100644 --- a/plugins/plugin20.html +++ b/share/doc/plugins.html diff --git a/plugins/python/hexchat-python.md b/share/doc/python.md index bc4c6cdc..d998f9d3 100644 --- a/plugins/python/hexchat-python.md +++ b/share/doc/python.md @@ -1,4 +1,4 @@ -% HexChat Python Interface +# HexChat Python Interface Features -------- diff --git a/share/doc/tcl.html b/share/doc/tcl.html new file mode 100644 index 00000000..e4fed393 --- /dev/null +++ b/share/doc/tcl.html @@ -0,0 +1,3675 @@ +<html> +<body> +<h1>Tcl Plugin for XChat 2.x</h1> +<p>This file includes names, descriptions and examples of added commands and TCL language extensions for XChat IRC Client. + +<hr><b>Note to Eggdrop Scripters:</b> The Tcl Plugin for XChat will <b>not</b> run eggdrop scripts. + Contrary to popular belief, <b>Tcl was not invented by or for eggdrop.</b> Eggdrop, +like many other successful projects is just another happy user of Tcl. Tcl was around long +before Eggdrop and is broadly considered the industry standard language for automation. +<hr> + +<p><b>Tcl Plugin XChat Commands:</b><br> +<a href='#/reload'>/reload</a>, <a href='#/source'>/source</a>, <a href='#/tcl'>/tcl</a> +<p><b>Tcl Plugin TCL Commands:</b><br> +<a href='#alias'>alias</a>, +<a href='#away'>away</a>, +<a href='#channel'>channel</a>, +<a href='#channels'>channels</a>, +<a href='#chats'>chats</a>, +<a href='#command'>command</a>, +<a href='#complete'>complete</a>, +<a href='#dcclist'>dcclist</a>, +<a href='#findcontext'>findcontext</a>, +<a href='#getcontext'>getcontext</a>, +<a href='#getinfo'>getinfo</a>, +<a href='#getlist'>getlist</a>, +<a href='#host'>host</a>, +<a href='#ignores'>ignores</a>, +<a href='#killtimer'>killtimer</a>, +<a href='#me'>me</a>, +<a href='#network'>network</a>, +<a href='#nickcmp'>nickcmp</a>, +<a href='#off'>off</a>, +<a href='#on'>on</a>, +<a href='#print'>print</a>, +<a href='#queries'>queries</a>, +<a href='#raw'>raw</a>, +<a href='#server'>server</a>, +<a href='#servers'>servers</a>, +<a href='#setcontext'>setcontext</a>, +<a href='#timer'>timer</a>, +<a href='#timerexists'>timerexists</a>, +<a href='#timers'>timers</a>, +<a href='#topic'>topic</a>, +<a href='#users'>users</a>, +<a href='#version'>version</a>, +<a href='#xchatdir'>xchatdir</a> +<p><h1>Tcl Plugin XChat Commands</h1> + +<a name='/reload'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>/reload - Clear and reload all tcl scripts.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>/reload</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Clears out and reloads all tcl scripts. Any variables defined and any open files are lost.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#/source'>/source</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='/source'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>/source - Load a specific tcl script file.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>/source filename</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Loads a tcl script into XChat.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#/reload'>/reload</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='/tcl'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>/tcl - Execute any tcl command</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>/tcl command ?args?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Allows for the immediate execution of any tcl command.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>/tcl puts "Hello, XChat World!" +/tcl xchatdir</pre></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + +<p><h1>Tcl Plugin TCL Commands</h1> + +<a name='alias'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>alias - Creates a new xchat command.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>alias name { script }</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Creates a new xchat command and executes <i>script</i> when that command is entered. +<br> +<br> +Upon executing the alias, the following variables will be set: +<br> + +<br> +<table width=95% border=0 bgcolor=#dddddd cellpadding=1 cellspacing=2> +<tr> +<td> $_cmd </td> +<td> the alias name +</td> +</tr> +<tr> +<td> $_rest </td> +<td> params included with alias +</td> +</tr> +</table><br> + +<br> +You can also hook all text (non-commands) sent to any given tab/window by pre-pending the name of any tab with an '@'.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre># do 'ls -al' command on any directory +alias ls { + print "[eval "exec ls -al $_rest"]" + complete +} + +# uppercase everything I say in #somechannel +alias @#somechannel { + /say [string toupper $_rest] + complete +} + +# brag about my uptime +alias uptime { + /say [bold][me]'s Uptime:[bold] [string trim [exec uptime]] +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#complete'>complete</a>, <a href='#on'>on</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='away'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>away - Returns your /away message.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>away ?server|context?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns your /away message. If no <b><i>server</i></b> or <b><i>context</i></b> is omitted, the current server is assumed.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>set awaymsg [away]</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='channel'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>channel - Return the current query/channel name.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>channel ?context?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the name of the current channel or query. You may also specify a specific <b><i>context</i></b> to get the name of.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>set thischannel [channel]</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#channels'>channels</a>, <a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#server'>server</a>, <a href='#servers'>servers</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='channels'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>channels - Returns of list of all channels you are in.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>channels ?server|context?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns a list of all channels you are in. If <b><i>server</i></b> or <b><i>context</i></b> is omitted, the current server is assumed.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>alias mychannels { + foreach s [servers] { + print "Server: $s" + foreach c [channels $s] { + print " - Channel: $c - [topic $s $c]" + } + } + complete +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#channel'>channel</a>, <a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#server'>server</a>, <a href='#servers'>servers</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='chats'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>chats - Returns a list of opened dcc chats.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>chats</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the name of the current active dcc chats.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>set mychats [chats] +print "I am directly connected to [join $mychats ", "]"</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#channels'>channels</a>, <a href='#dcclist'>dcclist</a>, <a href='#queries'>queries</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='command'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>command - Simulate a command entered into xchat.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>command ?server|context? ?channel|nick? text</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Executes any internal or external chat command as if it had been typed into xchat directly. If <b><i>server</i></b> or <b><i>channel|nick</i></b> are omitted, the current ones are assumed.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>command "whois [me]" +command #mychannel "me wonders what this does." +command irc.myserver.com #thatchannel "say Hello, World!" +command irc.nyserver.com "away I'm gone"</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#raw'>raw</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='complete'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>complete - Set return mode of an 'on' or 'alias' script</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>complete ?retcode?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Similar to TCL's <i>return</i> command, complete halts further processing of an <i>on</i> or <i>alias</i> script and sets a return value. +<br> + +<br> +<table width=95% border=0 bgcolor=#dddddd cellpadding=1 cellspacing=2> +<tr> +<td> EAT_NONE </td> +<td> Allows all other plugins and xchat to see this event. +</td> +</tr> +<tr> +<td> EAT_XCHAT </td> +<td> Halts further processing by xchat +</td> +</tr> +<tr> +<td> EAT_PLUGIN </td> +<td> Halts further processing by other plugins (default). +</td> +</tr> +<tr> +<td> EAT_ALL </td> +<td> Halts further processing by other plugins and xchat.</td> +</tr> +</table><br> +</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>on XC_TABOPEN whatever { + print "Hello from [channel]" + complete +} + +alias bar { + /me has been on irc long enough to still be traumatized by !bar scripts. + complete +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#alias'>alias</a>, <a href='#on'>on</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='dcclist'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>dcclist - Returns detailed information about all dcc chats and files transfers.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>dcclist</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns a list of all dcc chats and transfers. +<br> + +<br> +Each list entry is made up of the following elements: +<br> + +<br> +<table width=95% border=0 bgcolor=#dddddd cellpadding=1 cellspacing=2> +<tr> +<td>type </td> +<td> chatsend, chatrecv, filesend, filerecv. +</td> +</tr> +<tr> +<td>status </td> +<td> queued, active, failed, done, connecting, aborted. +</td> +</tr> +<tr> +<td>nick </td> +<td> Nick of other user. +</td> +</tr> +<tr> +<td>filename </td> +<td> Name of file being sent or reveived. +</td> +</tr> +<tr> +<td>size </td> +<td> size of file being sent or reveived. +</td> +</tr> +<tr> +<td>resume </td> +<td> resume position of file being sent or reveived. +</td> +</tr> +<tr> +<td>pos </td> +<td> current position of file being sent or reveived. +</td> +</tr> +<tr> +<td>cps </td> +<td> current transfer speed in bytes per second. +</td> +</tr> +<tr> +<td>address </td> +<td> address of remote connection. +</td> +</tr> +<tr> +<td>port </td> +<td> port of the remote connection.</td> +</tr> +</table><br> +</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>foreach entry [dcclist] { + print "$entry" +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#chats'>chats</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='findcontext'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>findcontext - Finds a context based on a channel and/or server name.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>findcontext ?server? ?channel|nick?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Finds a context based on a channel and/or server name. If the <b><i>server</i></b> is omitted, it finds any channel (or query) by the given name on the current server. If <b><i>channel|nick</i></b> is omitted, it finds the default server tab for that server. +</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>set context [findcontext irc.whatever.com] +set context [findcontext #mychannel] +set context [findcontext irc.whatever.com #thatchannel] +set context [findcontext]</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>Notes:</b></td> +<td>This function is not normally needed with the tclplugin. It is included only to add completeness with the XChat C API.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#getcontext'>getcontext</a>, <a href='#setcontext'>setcontext</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='getcontext'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>getcontext - Returns the current context for your plugin.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>getcontext</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the current context for your plugin. You can use this later with <b><i>setcontext.</i></b></td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>set context [getcontext]</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>Notes:</b></td> +<td>This function is not normally needed with the tclplugin. It is included only to add completeness with the XChat C API.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#setcontext'>setcontext</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='getinfo'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>getinfo - Returns information based on your current context.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>getinfo field</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Provides direct access to XChat C API command xhat_get_info. Most of these have replacement tcl plugin commands that offer more functionality. +<br> + +<br> +The following fields are currently defined: +<br> + +<br> +<table width=95% border=0 bgcolor=#dddddd cellpadding=1 cellspacing=2> +<tr> +<td>away </td> +<td> away reason or NULL if you are not away. +</td> +</tr> +<tr> +<td>channel </td> +<td> current channel name. +</td> +</tr> +<tr> +<td>host </td> +<td> real hostname of the server you connected to. +</td> +</tr> +<tr> +<td>network </td> +<td> current network name or NULL. +</td> +</tr> +<tr> +<td>nick </td> +<td> your current nick name. +</td> +</tr> +<tr> +<td>server </td> +<td> current server name (what the server claims to be). +</td> +</tr> +<tr> +<td>topic </td> +<td> current channel topic. +</td> +</tr> +<tr> +<td>version </td> +<td> xchat version number. +</td> +</tr> +<tr> +<td>xchatdir </td> +<td> xchat config directory, e.g.: /home/user/.xchat.</td> +</tr> +</table><br> +</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>print "I am using XChat [getinfo version]"</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#away'>away</a>, <a href='#channel'>channel</a>, <a href='#host'>host</a>, <a href='#me'>me</a>, <a href='#network'>network</a>, <a href='#server'>server</a>, <a href='#topic'>topic</a>, <a href='#version'>version</a>, <a href='#xchatdir'>xchatdir</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='getlist'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>getlist - Returns information from XChats list of lists</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>getlist ?listname?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns a list of information from XChat's internal list of lists. If <b><i>listname</i></b> is omitted, the names of all the available lists are returned. +<br> + +<br> +The first entry in the list is the names of all the fields for that list. The rest of list are the actual list entries.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#channels'>channels</a>, <a href='#dcclist'>dcclist</a>, <a href='#ignores'>ignores</a>, <a href='#queries'>queries</a>, <a href='#servers'>servers</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='host'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>host - Returns the hostname of the server.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>host ?server|context?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the hostname of the server you connected to. If you connected to a networks round-robin name, e.g. irc.openprojects.org, irc.newnet.net, etc., it will return that name. If <b><i>server</i></b> is omitted, the current one is assumed.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>print "I attempted to connect to [host] on [network]." +print "I am actually connected to [server]."</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>Notes:</b></td> +<td>If you want to know the exact server name, use <b><i>server</i></b>.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#network'>network</a>, <a href='#server'>server</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='ignores'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>ignores - Returns list of ignored hosts.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>ignores</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns a list of all ignored hosts. +<br> + +<br> +Each list entry is made up the hostmask being ignored, followed by a sub-list of the types of ignores on that mask.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>set ignorelist [ignores] +foreach entry $ignorelist { + print "Ignoring:" + print "[lindex $entry 0]: [lindex $entry 1]" +}</pre></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='killtimer'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>killtimer - Kills the specified timer.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>killtimer timerID</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Removes the specified timerID from the timer queue.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#timer'>timer</a>, <a href='#timerexists'>timerexists</a>, <a href='#timers'>timers</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='me'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>me - Returns your nick.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>me ?server|context?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns your current nick. If <b><i>server</i></b> is omitted, the current one is used by default.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='network'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>network - Returns the name of the network.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>network ?server|context?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the name of the network, relative to the server list, that you are connected to. If no <b><i>server</i></b>is omitted, the current one current one is used by default.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>print "I attempted to connect to [host] on [network]." +print "I am actually connected to [server]."</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#host'>host</a>, <a href='#server'>server</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='nickcmp'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>nickcmp - Performs an RFC1459 compliant string compare.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>nickcmp string1 string2</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>This command performs an RFC1459 compliant string compare. Use this to compare channels and nicknames. The function works the same way as strcasecmp. +<br> + +<br> +Because of IRC's scandanavian origin, the characters {}| are considered to be the lower case equivalents of the characters [], respectively. This is a critical issue when determining the equivalence of two nicknames.</td> +</tr> + +<tr valign=top> +<td align=right><b>Returns:</b></td> +<td>An integer less than, equal to, or greater than zero if string1 is found, respectively, to be less than, to match, or be greater than string2.</td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='off'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>off - Removes a script previously assigned with <b><i>on</i></b></td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>off token ?label?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Removes a script from the specified XChat <b><i>token</i></b> and <b><i>label</i></b>. If <b><i>label</i></b> is omitted, all scripts for that token are removed.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#on'>on</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='on'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>on - Execute a command on an irc event</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>on token label { script | procname }</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Whenever <b><i>token</i></b> is triggered, <b><i>script</i></b> will be executed. <b><i>label</i></b> is some descriptive word that identifies which script is being executed when you have multiple scripts assigned to the same event. It is suggested that you use your initials or the name of your script as the 'label'. +<br> + +<br> +The <b><i>token</i></b> can be any server token or an internal XChat event. When executing your script, the following variables will be set: +<br> + +<br> +<table width=95% border=0 bgcolor=#dddddd cellpadding=1 cellspacing=2> +<tr> +<td> $_label </td> +<td> As defined by the 'on' command. +</td> +</tr> +<tr> +<td> $_src </td> +<td> source of the event. nick!ident@host -or- irc.servername.com +</td> +</tr> +<tr> +<td> $_cmd </td> +<td> irc command. JOIN, PRIVMSG, KICK, etc. +</td> +</tr> +<tr> +<td> $_dest </td> +<td> intended target of this event. nick, </td> +</tr> +<tr> +<td> $_rest </td> +<td> the rest of the message. +</td> +</tr> +<tr> +<td> $_raw </td> +<td> the raw line received from the irc server. +</td> +</tr> +<tr> +<td> $_private </td> +<td> '0' means the message was public, '1' = private. +</td> +</tr> +</table><br> + +<br> +You may further use <b><i>splitsrc</i></b> command to create the additional variables: +<br> + +<br> +<table width=95% border=0 bgcolor=#dddddd cellpadding=1 cellspacing=2> +<tr> +<td> $_nick </td> +<td> irc user nick extracted from $_src +</td> +</tr> +<tr> +<td> $_ident </td> +<td> irc user ident extracted from $_src +</td> +</tr> +<tr> +<td> $_host </td> +<td> irc user hostname extracted from $_src +</td> +</tr> +</table><br> + +<br> +For channel management scripts, you may use any word with '!' in front (e.g. !pingme") as the token. Any time someone uses that command in a channel or in a private message, the script will be executed. +<br> + +<br> +The following custom XChat internal token are also available: +<br> + +<br> +<table width=95% border=0 bgcolor=#dddddd cellpadding=1 cellspacing=2> +<tr> +<td> INVITE </td> +<td> (rfc1459) Invited to channel. +</td> +</tr> +<tr> +<td> JOIN </td> +<td> (rfc1459) Joined a channel +</td> +</tr> +<tr> +<td> KICK </td> +<td> (rfc1459) Kicked from a channel +</td> +</tr> +<tr> +<td> KILL </td> +<td> (rfc1459) Killed from server +</td> +</tr> +<tr> +<td> MODE </td> +<td> (rfc1459) Channel or User mode change +</td> +</tr> +<tr> +<td> NICK </td> +<td> (rfc1459) Nick change. +</td> +</tr> +<tr> +<td> NOTICE </td> +<td> (rfc1459) Private Notice +</td> +</tr> +<tr> +<td> PART </td> +<td> (rfc1459) Parted a channel +</td> +</tr> +<tr> +<td> PING </td> +<td> (rfc1459) Server Ping +</td> +</tr> +<tr> +<td> PRIVMSG </td> +<td> (rfc1459) Private Message +</td> +</tr> +<tr> +<td> QUIT </td> +<td> (rfc1459) Quit the server. +</td> +</tr> +<tr> +<td> TOPIC </td> +<td> (rfc1459) Channel topic change +</td> +</tr> +<tr> +<td> WALLOPS </td> +<td> (rfc1459) Wallops +</td> +</tr> +<tr> +<td> ACTION </td> +<td> Incoming /me whatever action command. +</td> +</tr> +<tr> +<td> CHAT </td> +<td> Incoming line of text from dcc chat conversation. +</td> +</tr> +<tr> +<td> CTCP </td> +<td> Incoming CTCP (PING, VERSION, etc) +</td> +</tr> +<tr> +<td> CTCR </td> +<td> Incoming reply from your CTCP to someone else. +</td> +</tr> +<tr> +<td> SNOTICE </td> +<td> Incoming notice from a server. +</td> +</tr> +<tr> +<td> 001 </td> +<td> (rfc1459) RPL_WELCOME +</td> +</tr> +<tr> +<td> 002 </td> +<td> (rfc1459) RPL_YOURHOST +</td> +</tr> +<tr> +<td> 003 </td> +<td> (rfc1459) RPL_CREATED +</td> +</tr> +<tr> +<td> 004 </td> +<td> (rfc1459) RPL_MYINFO +</td> +</tr> +<tr> +<td> 005 </td> +<td> (rfc1459) RPL_PROTOCTL +</td> +</tr> +<tr> +<td> 006 </td> +<td> (rfc1459) RPL_MAP +</td> +</tr> +<tr> +<td> 007 </td> +<td> (rfc1459) RPL_MAPEND +</td> +</tr> +<tr> +<td> 200 </td> +<td> (rfc1459) RPL_TRACELINK +</td> +</tr> +<tr> +<td> 201 </td> +<td> (rfc1459) RPL_TRACECONNECTING +</td> +</tr> +<tr> +<td> 202 </td> +<td> (rfc1459) RPL_TRACEHANDSHAKE +</td> +</tr> +<tr> +<td> 203 </td> +<td> (rfc1459) RPL_TRACEUNKNOWN +</td> +</tr> +<tr> +<td> 204 </td> +<td> (rfc1459) RPL_TRACEOPERATOR +</td> +</tr> +<tr> +<td> 205 </td> +<td> (rfc1459) RPL_TRACEUSER +</td> +</tr> +<tr> +<td> 206 </td> +<td> (rfc1459) RPL_TRACESERVER +</td> +</tr> +<tr> +<td> 207 </td> +<td> (rfc1459) RPL_TRACESERVICE +</td> +</tr> +<tr> +<td> 208 </td> +<td> (rfc1459) RPL_TRACENEWTYPE +</td> +</tr> +<tr> +<td> 209 </td> +<td> (rfc1459) RPL_TRACECLASS +</td> +</tr> +<tr> +<td> 211 </td> +<td> (rfc1459) RPL_STATSLINKINFO +</td> +</tr> +<tr> +<td> 212 </td> +<td> (rfc1459) RPL_STATSCOMMANDS +</td> +</tr> +<tr> +<td> 213 </td> +<td> (rfc1459) RPL_STATSCLINE +</td> +</tr> +<tr> +<td> 214 </td> +<td> (rfc1459) RPL_STATSOLDNLINE +</td> +</tr> +<tr> +<td> 215 </td> +<td> (rfc1459) RPL_STATSILINE +</td> +</tr> +<tr> +<td> 216 </td> +<td> (rfc1459) RPL_STATSKLINE +</td> +</tr> +<tr> +<td> 217 </td> +<td> (rfc1459) RPL_STATSQLINE +</td> +</tr> +<tr> +<td> 218 </td> +<td> (rfc1459) RPL_STATSYLINE +</td> +</tr> +<tr> +<td> 219 </td> +<td> (rfc1459) RPL_ENDOFSTATS +</td> +</tr> +<tr> +<td> 220 </td> +<td> (rfc1459) RPL_STATSBLINE +</td> +</tr> +<tr> +<td> 221 </td> +<td> (rfc1459) RPL_UMODEIS +</td> +</tr> +<tr> +<td> 222 </td> +<td> (rfc1459) RPL_SQLINE_NICK +</td> +</tr> +<tr> +<td> 223 </td> +<td> (rfc1459) RPL_STATSGLINE +</td> +</tr> +<tr> +<td> 224 </td> +<td> (rfc1459) RPL_STATSTLINE +</td> +</tr> +<tr> +<td> 225 </td> +<td> (rfc1459) RPL_STATSELINE +</td> +</tr> +<tr> +<td> 226 </td> +<td> (rfc1459) RPL_STATSNLINE +</td> +</tr> +<tr> +<td> 227 </td> +<td> (rfc1459) RPL_STATSVLINE +</td> +</tr> +<tr> +<td> 231 </td> +<td> (rfc1459) RPL_SERVICEINFO +</td> +</tr> +<tr> +<td> 232 </td> +<td> (rfc1459) RPL_RULES +</td> +</tr> +<tr> +<td> 233 </td> +<td> (rfc1459) RPL_SERVICE +</td> +</tr> +<tr> +<td> 234 </td> +<td> (rfc1459) RPL_SERVLIST +</td> +</tr> +<tr> +<td> 235 </td> +<td> (rfc1459) RPL_SERVLISTEND +</td> +</tr> +<tr> +<td> 241 </td> +<td> (rfc1459) RPL_STATSLLINE +</td> +</tr> +<tr> +<td> 242 </td> +<td> (rfc1459) RPL_STATSUPTIME +</td> +</tr> +<tr> +<td> 243 </td> +<td> (rfc1459) RPL_STATSOLINE +</td> +</tr> +<tr> +<td> 244 </td> +<td> (rfc1459) RPL_STATSHLINE +</td> +</tr> +<tr> +<td> 245 </td> +<td> (rfc1459) RPL_STATSSLINE +</td> +</tr> +<tr> +<td> 247 </td> +<td> (rfc1459) RPL_STATSXLINE +</td> +</tr> +<tr> +<td> 248 </td> +<td> (rfc1459) RPL_STATSULINE +</td> +</tr> +<tr> +<td> 249 </td> +<td> (rfc1459) RPL_STATSDEBUG +</td> +</tr> +<tr> +<td> 250 </td> +<td> (rfc1459) RPL_STATSCONN +</td> +</tr> +<tr> +<td> 251 </td> +<td> (rfc1459) RPL_LUSERCLIENT +</td> +</tr> +<tr> +<td> 252 </td> +<td> (rfc1459) RPL_LUSEROP +</td> +</tr> +<tr> +<td> 253 </td> +<td> (rfc1459) RPL_LUSERUNKNOWN +</td> +</tr> +<tr> +<td> 254 </td> +<td> (rfc1459) RPL_LUSERCHANNELS +</td> +</tr> +<tr> +<td> 255 </td> +<td> (rfc1459) RPL_LUSERME +</td> +</tr> +<tr> +<td> 256 </td> +<td> (rfc1459) RPL_ADMINME +</td> +</tr> +<tr> +<td> 257 </td> +<td> (rfc1459) RPL_ADMINLOC1 +</td> +</tr> +<tr> +<td> 258 </td> +<td> (rfc1459) RPL_ADMINLOC2 +</td> +</tr> +<tr> +<td> 259 </td> +<td> (rfc1459) RPL_ADMINEMAIL +</td> +</tr> +<tr> +<td> 261 </td> +<td> (rfc1459) RPL_TRACELOG +</td> +</tr> +<tr> +<td> 265 </td> +<td> (rfc1459) RPL_LOCALUSERS +</td> +</tr> +<tr> +<td> 266 </td> +<td> (rfc1459) RPL_GLOBALUSERS +</td> +</tr> +<tr> +<td> 271 </td> +<td> (rfc1459) RPL_SILELIST +</td> +</tr> +<tr> +<td> 272 </td> +<td> (rfc1459) RPL_ENDOFSILELIST +</td> +</tr> +<tr> +<td> 275 </td> +<td> (rfc1459) RPL_STATSDLINE +</td> +</tr> +<tr> +<td> 290 </td> +<td> (rfc1459) RPL_HELPHDR +</td> +</tr> +<tr> +<td> 291 </td> +<td> (rfc1459) RPL_HELPOP +</td> +</tr> +<tr> +<td> 292 </td> +<td> (rfc1459) RPL_HELPTLR +</td> +</tr> +<tr> +<td> 293 </td> +<td> (rfc1459) RPL_HELPHLP +</td> +</tr> +<tr> +<td> 294 </td> +<td> (rfc1459) RPL_HELPFWD +</td> +</tr> +<tr> +<td> 295 </td> +<td> (rfc1459) RPL_HELPIGN +</td> +</tr> +<tr> +<td> 300 </td> +<td> (rfc1459) RPL_NONE +</td> +</tr> +<tr> +<td> 301 </td> +<td> (rfc1459) RPL_AWAY +</td> +</tr> +<tr> +<td> 302 </td> +<td> (rfc1459) RPL_USERHOST +</td> +</tr> +<tr> +<td> 303 </td> +<td> (rfc1459) RPL_ISON +</td> +</tr> +<tr> +<td> 304 </td> +<td> (rfc1459) RPL_TEXT +</td> +</tr> +<tr> +<td> 305 </td> +<td> (rfc1459) RPL_UNAWAY +</td> +</tr> +<tr> +<td> 306 </td> +<td> (rfc1459) RPL_NOWAWAY +</td> +</tr> +<tr> +<td> 307 </td> +<td> (rfc1459) RPL_WHOISREGNICK +</td> +</tr> +<tr> +<td> 308 </td> +<td> (rfc1459) RPL_RULESSTART +</td> +</tr> +<tr> +<td> 309 </td> +<td> (rfc1459) RPL_ENDOFRULES +</td> +</tr> +<tr> +<td> 310 </td> +<td> (rfc1459) RPL_WHOISHELPOP +</td> +</tr> +<tr> +<td> 311 </td> +<td> (rfc1459) RPL_WHOISUSER +</td> +</tr> +<tr> +<td> 312 </td> +<td> (rfc1459) RPL_WHOISSERVER +</td> +</tr> +<tr> +<td> 313 </td> +<td> (rfc1459) RPL_WHOISOPERATOR +</td> +</tr> +<tr> +<td> 314 </td> +<td> (rfc1459) RPL_WHOWASUSER +</td> +</tr> +<tr> +<td> 315 </td> +<td> (rfc1459) RPL_ENDOFWHO +</td> +</tr> +<tr> +<td> 316 </td> +<td> (rfc1459) RPL_WHOISCHANOP +</td> +</tr> +<tr> +<td> 317 </td> +<td> (rfc1459) RPL_WHOISIDLE +</td> +</tr> +<tr> +<td> 318 </td> +<td> (rfc1459) RPL_ENDOFWHOIS +</td> +</tr> +<tr> +<td> 319 </td> +<td> (rfc1459) RPL_WHOISCHANNELS +</td> +</tr> +<tr> +<td> 320 </td> +<td> (rfc1459) RPL_WHOISSPECIAL +</td> +</tr> +<tr> +<td> 321 </td> +<td> (rfc1459) RPL_LISTSTART +</td> +</tr> +<tr> +<td> 322 </td> +<td> (rfc1459) RPL_LIST +</td> +</tr> +<tr> +<td> 323 </td> +<td> (rfc1459) RPL_LISTEND +</td> +</tr> +<tr> +<td> 324 </td> +<td> (rfc1459) RPL_CHANNELMODEIS +</td> +</tr> +<tr> +<td> 329 </td> +<td> (rfc1459) RPL_CREATIONTIME +</td> +</tr> +<tr> +<td> 331 </td> +<td> (rfc1459) RPL_NOTOPIC +</td> +</tr> +<tr> +<td> 332 </td> +<td> (rfc1459) RPL_TOPIC +</td> +</tr> +<tr> +<td> 333 </td> +<td> (rfc1459) RPL_TOPICWHOTIME +</td> +</tr> +<tr> +<td> 334 </td> +<td> (rfc1459) RPL_LISTSYNTAX +</td> +</tr> +<tr> +<td> 335 </td> +<td> (rfc1459) RPL_WHOISBOT +</td> +</tr> +<tr> +<td> 341 </td> +<td> (rfc1459) RPL_INVITING +</td> +</tr> +<tr> +<td> 342 </td> +<td> (rfc1459) RPL_SUMMONING +</td> +</tr> +<tr> +<td> 343 </td> +<td> (rfc1459) RPL_TICKER +</td> +</tr> +<tr> +<td> 346 </td> +<td> (rfc1459) RPL_INVITELIST +</td> +</tr> +<tr> +<td> 347 </td> +<td> (rfc1459) RPL_ENDOFINVITELIST +</td> +</tr> +<tr> +<td> 348 </td> +<td> (rfc1459) RPL_EXLIST +</td> +</tr> +<tr> +<td> 349 </td> +<td> (rfc1459) RPL_ENDOFEXLIST +</td> +</tr> +<tr> +<td> 351 </td> +<td> (rfc1459) RPL_VERSION +</td> +</tr> +<tr> +<td> 352 </td> +<td> (rfc1459) RPL_WHOREPLY +</td> +</tr> +<tr> +<td> 353 </td> +<td> (rfc1459) RPL_NAMREPLY +</td> +</tr> +<tr> +<td> 361 </td> +<td> (rfc1459) RPL_KILLDONE +</td> +</tr> +<tr> +<td> 362 </td> +<td> (rfc1459) RPL_CLOSING +</td> +</tr> +<tr> +<td> 363 </td> +<td> (rfc1459) RPL_CLOSEEND +</td> +</tr> +<tr> +<td> 364 </td> +<td> (rfc1459) RPL_LINKS +</td> +</tr> +<tr> +<td> 365 </td> +<td> (rfc1459) RPL_ENDOFLINKS +</td> +</tr> +<tr> +<td> 366 </td> +<td> (rfc1459) RPL_ENDOFNAMES +</td> +</tr> +<tr> +<td> 367 </td> +<td> (rfc1459) RPL_BANLIST +</td> +</tr> +<tr> +<td> 368 </td> +<td> (rfc1459) RPL_ENDOFBANLIST +</td> +</tr> +<tr> +<td> 369 </td> +<td> (rfc1459) RPL_ENDOFWHOWAS +</td> +</tr> +<tr> +<td> 371 </td> +<td> (rfc1459) RPL_INFO +</td> +</tr> +<tr> +<td> 372 </td> +<td> (rfc1459) RPL_MOTD +</td> +</tr> +<tr> +<td> 373 </td> +<td> (rfc1459) RPL_INFOSTART +</td> +</tr> +<tr> +<td> 374 </td> +<td> (rfc1459) RPL_ENDOFINFO +</td> +</tr> +<tr> +<td> 375 </td> +<td> (rfc1459) RPL_MOTDSTART +</td> +</tr> +<tr> +<td> 376 </td> +<td> (rfc1459) RPL_ENDOFMOTD +</td> +</tr> +<tr> +<td> 378 </td> +<td> (rfc1459) RPL_WHOISHOST +</td> +</tr> +<tr> +<td> 379 </td> +<td> (rfc1459) RPL_WHOISMODES +</td> +</tr> +<tr> +<td> 381 </td> +<td> (rfc1459) RPL_YOUREOPER +</td> +</tr> +<tr> +<td> 382 </td> +<td> (rfc1459) RPL_REHASHING +</td> +</tr> +<tr> +<td> 383 </td> +<td> (rfc1459) RPL_YOURESERVICE +</td> +</tr> +<tr> +<td> 384 </td> +<td> (rfc1459) RPL_MYPORTIS +</td> +</tr> +<tr> +<td> 385 </td> +<td> (rfc1459) RPL_NOTOPERANYMORE +</td> +</tr> +<tr> +<td> 386 </td> +<td> (rfc1459) RPL_QLIST +</td> +</tr> +<tr> +<td> 387 </td> +<td> (rfc1459) RPL_ENDOFQLIST +</td> +</tr> +<tr> +<td> 388 </td> +<td> (rfc1459) RPL_ALIST +</td> +</tr> +<tr> +<td> 389 </td> +<td> (rfc1459) RPL_ENDOFALIST +</td> +</tr> +<tr> +<td> 391 </td> +<td> (rfc1459) RPL_TIME +</td> +</tr> +<tr> +<td> 392 </td> +<td> (rfc1459) RPL_USERSSTART +</td> +</tr> +<tr> +<td> 393 </td> +<td> (rfc1459) RPL_USERS +</td> +</tr> +<tr> +<td> 394 </td> +<td> (rfc1459) RPL_ENDOFUSERS +</td> +</tr> +<tr> +<td> 395 </td> +<td> (rfc1459) RPL_NOUSERS +</td> +</tr> +<tr> +<td> 401 </td> +<td> (rfc1459) ERR_NOSUCHNICK +</td> +</tr> +<tr> +<td> 402 </td> +<td> (rfc1459) ERR_NOSUCHSERVER +</td> +</tr> +<tr> +<td> 403 </td> +<td> (rfc1459) ERR_NOSUCHCHANNEL +</td> +</tr> +<tr> +<td> 404 </td> +<td> (rfc1459) ERR_CANNOTSENDTOCHAN +</td> +</tr> +<tr> +<td> 405 </td> +<td> (rfc1459) ERR_TOOMANYCHANNELS +</td> +</tr> +<tr> +<td> 406 </td> +<td> (rfc1459) ERR_WASNOSUCHNICK +</td> +</tr> +<tr> +<td> 407 </td> +<td> (rfc1459) ERR_TOOMANYTARGETS +</td> +</tr> +<tr> +<td> 408 </td> +<td> (rfc1459) ERR_NOSUCHSERVICE +</td> +</tr> +<tr> +<td> 409 </td> +<td> (rfc1459) ERR_NOORIGIN +</td> +</tr> +<tr> +<td> 411 </td> +<td> (rfc1459) ERR_NORECIPIENT +</td> +</tr> +<tr> +<td> 412 </td> +<td> (rfc1459) ERR_NOTEXTTOSEND +</td> +</tr> +<tr> +<td> 413 </td> +<td> (rfc1459) ERR_NOTOPLEVEL +</td> +</tr> +<tr> +<td> 414 </td> +<td> (rfc1459) ERR_WILDTOPLEVEL +</td> +</tr> +<tr> +<td> 421 </td> +<td> (rfc1459) ERR_UNKNOWNCOMMAND +</td> +</tr> +<tr> +<td> 422 </td> +<td> (rfc1459) ERR_NOMOTD +</td> +</tr> +<tr> +<td> 423 </td> +<td> (rfc1459) ERR_NOADMININFO +</td> +</tr> +<tr> +<td> 424 </td> +<td> (rfc1459) ERR_FILEERROR +</td> +</tr> +<tr> +<td> 425 </td> +<td> (rfc1459) ERR_NOOPERMOTD +</td> +</tr> +<tr> +<td> 431 </td> +<td> (rfc1459) ERR_NONICKNAMEGIVEN +</td> +</tr> +<tr> +<td> 432 </td> +<td> (rfc1459) ERR_ERRONEUSNICKNAME +</td> +</tr> +<tr> +<td> 433 </td> +<td> (rfc1459) ERR_NICKNAMEINUSE +</td> +</tr> +<tr> +<td> 434 </td> +<td> (rfc1459) ERR_NORULES +</td> +</tr> +<tr> +<td> 435 </td> +<td> (rfc1459) ERR_SERVICECONFUSED +</td> +</tr> +<tr> +<td> 436 </td> +<td> (rfc1459) ERR_NICKCOLLISION +</td> +</tr> +<tr> +<td> 437 </td> +<td> (rfc1459) ERR_BANNICKCHANGE +</td> +</tr> +<tr> +<td> 438 </td> +<td> (rfc1459) ERR_NCHANGETOOFAST +</td> +</tr> +<tr> +<td> 439 </td> +<td> (rfc1459) ERR_TARGETTOOFAST +</td> +</tr> +<tr> +<td> 440 </td> +<td> (rfc1459) ERR_SERVICESDOWN +</td> +</tr> +<tr> +<td> 441 </td> +<td> (rfc1459) ERR_USERNOTINCHANNEL +</td> +</tr> +<tr> +<td> 442 </td> +<td> (rfc1459) ERR_NOTONCHANNEL +</td> +</tr> +<tr> +<td> 443 </td> +<td> (rfc1459) ERR_USERONCHANNEL +</td> +</tr> +<tr> +<td> 444 </td> +<td> (rfc1459) ERR_NOLOGIN +</td> +</tr> +<tr> +<td> 445 </td> +<td> (rfc1459) ERR_SUMMONDISABLED +</td> +</tr> +<tr> +<td> 446 </td> +<td> (rfc1459) ERR_USERSDISABLED +</td> +</tr> +<tr> +<td> 447 </td> +<td> (rfc1459) ERR_NONICKCHANGE +</td> +</tr> +<tr> +<td> 451 </td> +<td> (rfc1459) ERR_NOTREGISTERED +</td> +</tr> +<tr> +<td> 455 </td> +<td> (rfc1459) ERR_HOSTILENAME +</td> +</tr> +<tr> +<td> 459 </td> +<td> (rfc1459) ERR_NOHIDING +</td> +</tr> +<tr> +<td> 460 </td> +<td> (rfc1459) ERR_NOTFORHALFOPS +</td> +</tr> +<tr> +<td> 461 </td> +<td> (rfc1459) ERR_NEEDMOREPARAMS +</td> +</tr> +<tr> +<td> 462 </td> +<td> (rfc1459) ERR_ALREADYREGISTRED +</td> +</tr> +<tr> +<td> 463 </td> +<td> (rfc1459) ERR_NOPERMFORHOST +</td> +</tr> +<tr> +<td> 464 </td> +<td> (rfc1459) ERR_PASSWDMISMATCH +</td> +</tr> +<tr> +<td> 465 </td> +<td> (rfc1459) ERR_YOUREBANNEDCREEP +</td> +</tr> +<tr> +<td> 466 </td> +<td> (rfc1459) ERR_YOUWILLBEBANNED +</td> +</tr> +<tr> +<td> 467 </td> +<td> (rfc1459) ERR_KEYSET +</td> +</tr> +<tr> +<td> 468 </td> +<td> (rfc1459) ERR_ONLYSERVERSCANCHANGE +</td> +</tr> +<tr> +<td> 469 </td> +<td> (rfc1459) ERR_LINKSET +</td> +</tr> +<tr> +<td> 470 </td> +<td> (rfc1459) ERR_LINKCHANNEL +</td> +</tr> +<tr> +<td> 471 </td> +<td> (rfc1459) ERR_CHANNELISFULL +</td> +</tr> +<tr> +<td> 472 </td> +<td> (rfc1459) ERR_UNKNOWNMODE +</td> +</tr> +<tr> +<td> 473 </td> +<td> (rfc1459) ERR_INVITEONLYCHAN +</td> +</tr> +<tr> +<td> 474 </td> +<td> (rfc1459) ERR_BANNEDFROMCHAN +</td> +</tr> +<tr> +<td> 475 </td> +<td> (rfc1459) ERR_BADCHANNELKEY +</td> +</tr> +<tr> +<td> 476 </td> +<td> (rfc1459) ERR_BADCHANMASK +</td> +</tr> +<tr> +<td> 477 </td> +<td> (rfc1459) ERR_NEEDREGGEDNICK +</td> +</tr> +<tr> +<td> 478 </td> +<td> (rfc1459) ERR_BANLISTFULL +</td> +</tr> +<tr> +<td> 479 </td> +<td> (rfc1459) ERR_LINKFAIL +</td> +</tr> +<tr> +<td> 480 </td> +<td> (rfc1459) ERR_CANNOTKNOCK +</td> +</tr> +<tr> +<td> 481 </td> +<td> (rfc1459) ERR_NOPRIVILEGES +</td> +</tr> +<tr> +<td> 482 </td> +<td> (rfc1459) ERR_CHANOPRIVSNEEDED +</td> +</tr> +<tr> +<td> 483 </td> +<td> (rfc1459) ERR_CANTKILLSERVER +</td> +</tr> +<tr> +<td> 484 </td> +<td> (rfc1459) ERR_ATTACKDENY +</td> +</tr> +<tr> +<td> 485 </td> +<td> (rfc1459) ERR_KILLDENY +</td> +</tr> +<tr> +<td> 486 </td> +<td> (rfc1459) ERR_HTMDISABLED +</td> +</tr> +<tr> +<td> 491 </td> +<td> (rfc1459) ERR_NOOPERHOST +</td> +</tr> +<tr> +<td> 492 </td> +<td> (rfc1459) ERR_NOSERVICEHOST +</td> +</tr> +<tr> +<td> 501 </td> +<td> (rfc1459) ERR_UMODEUNKNOWNFLAG +</td> +</tr> +<tr> +<td> 502 </td> +<td> (rfc1459) ERR_USERSDONTMATCH +</td> +</tr> +<tr> +<td> 511 </td> +<td> (rfc1459) ERR_SILELISTFULL +</td> +</tr> +<tr> +<td> 512 </td> +<td> (rfc1459) ERR_TOOMANYWATCH +</td> +</tr> +<tr> +<td> 513 </td> +<td> (rfc1459) ERR_NEEDPONG +</td> +</tr> +<tr> +<td> 518 </td> +<td> (rfc1459) ERR_NOINVITE +</td> +</tr> +<tr> +<td> 519 </td> +<td> (rfc1459) ERR_ADMONLY +</td> +</tr> +<tr> +<td> 520 </td> +<td> (rfc1459) ERR_OPERONLY +</td> +</tr> +<tr> +<td> 521 </td> +<td> (rfc1459) ERR_LISTSYNTAX +</td> +</tr> +<tr> +<td> 600 </td> +<td> (rfc1459) RPL_LOGON +</td> +</tr> +<tr> +<td> 601 </td> +<td> (rfc1459) RPL_LOGOFF +</td> +</tr> +<tr> +<td> 602 </td> +<td> (rfc1459) RPL_WATCHOFF +</td> +</tr> +<tr> +<td> 603 </td> +<td> (rfc1459) RPL_WATCHSTAT +</td> +</tr> +<tr> +<td> 604 </td> +<td> (rfc1459) RPL_NOWON +</td> +</tr> +<tr> +<td> 605 </td> +<td> (rfc1459) RPL_NOWOFF +</td> +</tr> +<tr> +<td> 606 </td> +<td> (rfc1459) RPL_WATCHLIST +</td> +</tr> +<tr> +<td> 607 </td> +<td> (rfc1459) RPL_ENDOFWATCHLIST +</td> +</tr> +<tr> +<td> 610 </td> +<td> (rfc1459) RPL_MAPMORE +</td> +</tr> +<tr> +<td> 640 </td> +<td> (rfc1459) RPL_DUMPING +</td> +</tr> +<tr> +<td> 641 </td> +<td> (rfc1459) RPL_DUMPRPL +</td> +</tr> +<tr> +<td> 642 </td> +<td> (rfc1459) RPL_EODUMP +</td> +</tr> +<tr> +<td> 999 </td> +<td> (rfc1459) ERR_NUMERICERR +</td> +</tr> +<tr> +<td> XC_TABOPEN </td> +<td> (xchat) A new channel/nick/server tabs was created. +</td> +</tr> +<tr> +<td> XC_TABCLOSE </td> +<td> (xchat) One of the channel/nick/server tabs was closed. +</td> +</tr> +<tr> +<td> XC_TABFOCUS </td> +<td> (xchat) You changed focus to a new tab. +</td> +</tr> +<tr> +<td> XC_ADDNOTIFY </td> +<td> (xchat) Add Notify +</td> +</tr> +<tr> +<td> XC_BANLIST </td> +<td> (xchat) Ban List +</td> +</tr> +<tr> +<td> XC_BANNED </td> +<td> (xchat) Banned +</td> +</tr> +<tr> +<td> XC_CHANGENICK </td> +<td> (xchat) Change Nick +</td> +</tr> +<tr> +<td> XC_CHANACTION </td> +<td> (xchat) Channel Action +</td> +</tr> +<tr> +<td> XC_HCHANACTION </td> +<td> (xchat) Channel Action Hilight +</td> +</tr> +<tr> +<td> XC_CHANBAN </td> +<td> (xchat) Channel Ban +</td> +</tr> +<tr> +<td> XC_CHANDATE </td> +<td> (xchat) Channel Creation +</td> +</tr> +<tr> +<td> XC_CHANDEHOP </td> +<td> (xchat) Channel DeHalfOp +</td> +</tr> +<tr> +<td> XC_CHANDEOP </td> +<td> (xchat) Channel DeOp +</td> +</tr> +<tr> +<td> XC_CHANDEVOICE </td> +<td> (xchat) Channel DeVoice +</td> +</tr> +<tr> +<td> XC_CHANEXEMPT </td> +<td> (xchat) Channel Exempt +</td> +</tr> +<tr> +<td> XC_CHANHOP </td> +<td> (xchat) Channel Half-Operator +</td> +</tr> +<tr> +<td> XC_CHANINVITE </td> +<td> (xchat) Channel INVITE +</td> +</tr> +<tr> +<td> XC_CHANLISTHEAD </td> +<td> (xchat) Channel List +</td> +</tr> +<tr> +<td> XC_CHANMSG </td> +<td> (xchat) Channel Message +</td> +</tr> +<tr> +<td> XC_CHANMODEGEN </td> +<td> (xchat) Channel Mode Generic +</td> +</tr> +<tr> +<td> XC_CHANMODES </td> +<td> (xchat) Channel Modes +</td> +</tr> +<tr> +<td> XC_HCHANMSG </td> +<td> (xchat) Channel Msg Hilight +</td> +</tr> +<tr> +<td> XC_CHANNOTICE </td> +<td> (xchat) Channel Notice +</td> +</tr> +<tr> +<td> XC_CHANOP </td> +<td> (xchat) Channel Operator +</td> +</tr> +<tr> +<td> XC_CHANRMEXEMPT </td> +<td> (xchat) Channel Remove Exempt +</td> +</tr> +<tr> +<td> XC_CHANRMINVITE </td> +<td> (xchat) Channel Remove Invite +</td> +</tr> +<tr> +<td> XC_CHANRMKEY </td> +<td> (xchat) Channel Remove Keyword +</td> +</tr> +<tr> +<td> XC_CHANRMLIMIT </td> +<td> (xchat) Channel Remove Limit +</td> +</tr> +<tr> +<td> XC_CHANSETKEY </td> +<td> (xchat) Channel Set Key +</td> +</tr> +<tr> +<td> XC_CHANSETLIMIT </td> +<td> (xchat) Channel Set Limit +</td> +</tr> +<tr> +<td> XC_CHANUNBAN </td> +<td> (xchat) Channel UnBan +</td> +</tr> +<tr> +<td> XC_CHANVOICE </td> +<td> (xchat) Channel Voice +</td> +</tr> +<tr> +<td> XC_CONNECTED </td> +<td> (xchat) Connected +</td> +</tr> +<tr> +<td> XC_CONNECT </td> +<td> (xchat) Connecting +</td> +</tr> +<tr> +<td> XC_CONNFAIL </td> +<td> (xchat) Connection Failed +</td> +</tr> +<tr> +<td> XC_CTCPGEN </td> +<td> (xchat) CTCP Generic +</td> +</tr> +<tr> +<td> XC_CTCPGENC </td> +<td> (xchat) CTCP Generic to Channel +</td> +</tr> +<tr> +<td> XC_CTCPSEND </td> +<td> (xchat) CTCP Send +</td> +</tr> +<tr> +<td> XC_CTCPSND </td> +<td> (xchat) CTCP Sound +</td> +</tr> +<tr> +<td> XC_DCCCHATABORT </td> +<td> (xchat) DCC CHAT Abort +</td> +</tr> +<tr> +<td> XC_DCCCONCHAT </td> +<td> (xchat) DCC CHAT Connect +</td> +</tr> +<tr> +<td> XC_DCCCHATF </td> +<td> (xchat) DCC CHAT Failed +</td> +</tr> +<tr> +<td> XC_DCCCHATOFFER </td> +<td> (xchat) DCC CHAT Offer +</td> +</tr> +<tr> +<td> XC_DCCCHATOFFERING </td> +<td> (xchat) DCC CHAT Offering +</td> +</tr> +<tr> +<td> XC_DCCCHATREOFFER </td> +<td> (xchat) DCC CHAT Reoffer +</td> +</tr> +<tr> +<td> XC_DCCCONFAIL </td> +<td> (xchat) DCC Conection Failed +</td> +</tr> +<tr> +<td> XC_DCCGENERICOFFER </td> +<td> (xchat) DCC Generic Offer +</td> +</tr> +<tr> +<td> XC_DCCHEAD </td> +<td> (xchat) DCC Header +</td> +</tr> +<tr> +<td> XC_MALFORMED </td> +<td> (xchat) DCC Malformed +</td> +</tr> +<tr> +<td> XC_DCCOFFER </td> +<td> (xchat) DCC Offer +</td> +</tr> +<tr> +<td> XC_DCCIVAL </td> +<td> (xchat) DCC Offer Not Valid +</td> +</tr> +<tr> +<td> XC_DCCRECVABORT </td> +<td> (xchat) DCC RECV Abort +</td> +</tr> +<tr> +<td> XC_DCCRECVCOMP </td> +<td> (xchat) DCC RECV Complete +</td> +</tr> +<tr> +<td> XC_DCCCONRECV </td> +<td> (xchat) DCC RECV Connect +</td> +</tr> +<tr> +<td> XC_DCCRECVERR </td> +<td> (xchat) DCC RECV Failed +</td> +</tr> +<tr> +<td> XC_DCCFILEERR </td> +<td> (xchat) DCC RECV File Open Error +</td> +</tr> +<tr> +<td> XC_DCCRENAME </td> +<td> (xchat) DCC Rename +</td> +</tr> +<tr> +<td> XC_DCCRESUMEREQUEST </td> +<td> (xchat) DCC RESUME Request +</td> +</tr> +<tr> +<td> XC_DCCSENDABORT </td> +<td> (xchat) DCC SEND Abort +</td> +</tr> +<tr> +<td> XC_DCCSENDCOMP </td> +<td> (xchat) DCC SEND Complete +</td> +</tr> +<tr> +<td> XC_DCCCONSEND </td> +<td> (xchat) DCC SEND Connect +</td> +</tr> +<tr> +<td> XC_DCCSENDFAIL </td> +<td> (xchat) DCC SEND Failed +</td> +</tr> +<tr> +<td> XC_DCCSENDOFFER </td> +<td> (xchat) DCC SEND Offer +</td> +</tr> +<tr> +<td> XC_DCCSTALL </td> +<td> (xchat) DCC Stall +</td> +</tr> +<tr> +<td> XC_DCCTOUT </td> +<td> (xchat) DCC Timeout +</td> +</tr> +<tr> +<td> XC_DELNOTIFY </td> +<td> (xchat) Delete Notify +</td> +</tr> +<tr> +<td> XC_DISCON </td> +<td> (xchat) Disconnected +</td> +</tr> +<tr> +<td> XC_FOUNDIP </td> +<td> (xchat) Found IP +</td> +</tr> +<tr> +<td> XC_IGNOREADD </td> +<td> (xchat) Ignore Add +</td> +</tr> +<tr> +<td> XC_IGNORECHANGE </td> +<td> (xchat) Ignore Changed +</td> +</tr> +<tr> +<td> XC_IGNOREFOOTER </td> +<td> (xchat) Ignore Footer +</td> +</tr> +<tr> +<td> XC_IGNOREHEADER </td> +<td> (xchat) Ignore Header +</td> +</tr> +<tr> +<td> XC_IGNOREREMOVE </td> +<td> (xchat) Ignore Remove +</td> +</tr> +<tr> +<td> XC_IGNOREEMPTY </td> +<td> (xchat) Ignorelist Empty +</td> +</tr> +<tr> +<td> XC_INVITE </td> +<td> (xchat) Invite +</td> +</tr> +<tr> +<td> XC_INVITED </td> +<td> (xchat) Invited +</td> +</tr> +<tr> +<td> XC_JOIN </td> +<td> (xchat) Join +</td> +</tr> +<tr> +<td> XC_KEYPRESS </td> +<td> (xchat) Key Press +</td> +</tr> +<tr> +<td> XC_KEYWORD </td> +<td> (xchat) Keyword +</td> +</tr> +<tr> +<td> XC_KICK </td> +<td> (xchat) Kick +</td> +</tr> +<tr> +<td> XC_KILL </td> +<td> (xchat) Killed +</td> +</tr> +<tr> +<td> XC_MSGSEND </td> +<td> (xchat) Message Send +</td> +</tr> +<tr> +<td> XC_MOTD </td> +<td> (xchat) Motd +</td> +</tr> +<tr> +<td> XC_MOTDSKIP </td> +<td> (xchat) MOTD Skipped +</td> +</tr> +<tr> +<td> XC_NICKCLASH </td> +<td> (xchat) Nick Clash +</td> +</tr> +<tr> +<td> XC_NICKFAIL </td> +<td> (xchat) Nick Failed +</td> +</tr> +<tr> +<td> XC_NODCC </td> +<td> (xchat) No DCC +</td> +</tr> +<tr> +<td> XC_NOCHILD </td> +<td> (xchat) No Running Process +</td> +</tr> +<tr> +<td> XC_NOTICE </td> +<td> (xchat) Notice +</td> +</tr> +<tr> +<td> XC_NOTICESEND </td> +<td> (xchat) Notice Send +</td> +</tr> +<tr> +<td> XC_NOTIFYEMPTY </td> +<td> (xchat) Notify Empty +</td> +</tr> +<tr> +<td> XC_NOTIFYHEAD </td> +<td> (xchat) Notify Header +</td> +</tr> +<tr> +<td> XC_NOTIFYNUMBER </td> +<td> (xchat) Notify Number +</td> +</tr> +<tr> +<td> XC_NOTIFYOFFLINE </td> +<td> (xchat) Notify Offline +</td> +</tr> +<tr> +<td> XC_NOTIFYONLINE </td> +<td> (xchat) Notify Online +</td> +</tr> +<tr> +<td> XC_PART </td> +<td> (xchat) Part +</td> +</tr> +<tr> +<td> XC_PARTREASON </td> +<td> (xchat) Part with Reason +</td> +</tr> +<tr> +<td> XC_PINGREP </td> +<td> (xchat) Ping Reply +</td> +</tr> +<tr> +<td> XC_PINGTIMEOUT </td> +<td> (xchat) Ping Timeout +</td> +</tr> +<tr> +<td> XC_PRIVMSG </td> +<td> (xchat) Private Message +</td> +</tr> +<tr> +<td> XC_DPRIVMSG </td> +<td> (xchat) Private Message to Dialog +</td> +</tr> +<tr> +<td> XC_ALREADYPROCESS </td> +<td> (xchat) Process Already Running +</td> +</tr> +<tr> +<td> XC_QUIT </td> +<td> (xchat) Quit +</td> +</tr> +<tr> +<td> XC_RAWMODES </td> +<td> (xchat) Raw Modes +</td> +</tr> +<tr> +<td> XC_WALLOPS </td> +<td> (xchat) Receive Wallops +</td> +</tr> +<tr> +<td> XC_RESOLVINGUSER </td> +<td> (xchat) Resolving User +</td> +</tr> +<tr> +<td> XC_SERVERCONNECTED </td> +<td> (xchat) Server Connected +</td> +</tr> +<tr> +<td> XC_SERVERERROR </td> +<td> (xchat) Server Error +</td> +</tr> +<tr> +<td> XC_SERVERLOOKUP </td> +<td> (xchat) Server Lookup +</td> +</tr> +<tr> +<td> XC_SERVNOTICE </td> +<td> (xchat) Server Notice +</td> +</tr> +<tr> +<td> XC_SERVTEXT </td> +<td> (xchat) Server Text +</td> +</tr> +<tr> +<td> XC_STOPCONNECT </td> +<td> (xchat) Stop Connection +</td> +</tr> +<tr> +<td> XC_TOPIC </td> +<td> (xchat) Topic +</td> +</tr> +<tr> +<td> XC_TOPICDATE </td> +<td> (xchat) Topic Creation +</td> +</tr> +<tr> +<td> XC_NEWTOPIC </td> +<td> (xchat) Topic Change +</td> +</tr> +<tr> +<td> XC_UKNHOST </td> +<td> (xchat) Unknown Host +</td> +</tr> +<tr> +<td> XC_USERLIMIT </td> +<td> (xchat) User Limit +</td> +</tr> +<tr> +<td> XC_USERSONCHAN </td> +<td> (xchat) Users On Channel +</td> +</tr> +<tr> +<td> XC_WHOIS5 </td> +<td> (xchat) WhoIs Away Line +</td> +</tr> +<tr> +<td> XC_WHOIS2 </td> +<td> (xchat) WhoIs Channel/Oper Line +</td> +</tr> +<tr> +<td> XC_WHOIS6 </td> +<td> (xchat) WhoIs End +</td> +</tr> +<tr> +<td> XC_WHOIS4 </td> +<td> (xchat) WhoIs Idle Line +</td> +</tr> +<tr> +<td> XC_WHOIS4T </td> +<td> (xchat) WhoIs Idle Line with Signon +</td> +</tr> +<tr> +<td> XC_WHOIS1 </td> +<td> (xchat) WhoIs Name Line +</td> +</tr> +<tr> +<td> XC_WHOIS3 </td> +<td> (xchat) WhoIs Server Line +</td> +</tr> +<tr> +<td> XC_UJOIN </td> +<td> (xchat) You Join +</td> +</tr> +<tr> +<td> XC_UPART </td> +<td> (xchat) You Part +</td> +</tr> +<tr> +<td> XC_UPARTREASON </td> +<td> (xchat) You Part with Reason +</td> +</tr> +<tr> +<td> XC_UKICK </td> +<td> (xchat) You Kicked +</td> +</tr> +<tr> +<td> XC_UINVITE </td> +<td> (xchat) Your Invitation +</td> +</tr> +<tr> +<td> XC_UCHANMSG </td> +<td> (xchat) Your Message +</td> +</tr> +<tr> +<td> XC_UCHANGENICK </td> +<td> (xchat) Your Nick Changing</td> +</tr> +</table><br> +</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>on PRIVMSG example { + if { [string match -nocase "*[me]*" $_rest] } { + play mynick.wav + complete + } +} + +on !opme example { + splitsrc + /op $_nick + complete +} + +on XC_TABOPEN example { + switch [string index [channel] 0] { + "#" - + "&" - + "(" - + "" { return } + } + play attention.wav + print "Now in private conversation with [channel]." + complete +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>Notes:</b></td> +<td>All events starting with <b><i>XC_</i></b> correspond to the events listed in the <b><i>Settings->Lists->EventTexts</i></b> window in XChat. All parameters are appended to <b><i>$_raw</i></b>, e.g: +<br> +<br> arg1 is [lindex $_raw 1] +<br> arg2 is [lindex $_raw 2] +<br> arg3 is [lindex $_raw 3] +<br> arg4 is [lindex $_raw 4]</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#alias'>alias</a>, <a href='#off'>off</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='print'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>print - Print text to an xchat window/tab</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>print ?server|context? ?channel|nick? text</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Prints text to a window. If a <i>channel|nick</i> is included, the text is printed to that channel/nick. You may also include a specific server.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre># print text to the current window +print "Hello, World!" + +# print text to the channel or nick window +print #channel "Hello, World!" + +# print text to the channel window +# belonging to a specific server. +print irc.blahblah.com #channel "Hello, World!"</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#puts'>puts</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='queries'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>queries - Returns a list of private queries.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>queries ?server|context?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns a list of all private queries. If <b><i>server</i></b> is omitted, the server belonging to the current server is used by default.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>alias myqueries { + foreach s [servers] { + print "Server: $s" + foreach q [queries $s] { + print " - Query: $q" + } + } + complete +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#channels'>channels</a>, <a href='#chats'>chats</a>, <a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='raw'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>raw - Send a line directly to the server.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>raw ?server|context? ?channel|nick? text</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>This command sends <i>text</i> directly to the server without further processing or interpretation by xchat. If <b><i>server</i></b> or <b><i>channel|nick</i></b> name is omitted, the current ones are used by default.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>raw "PRIVMSG bubba :Howdy Bubba!"</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#command'>command</a>, <a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='server'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>server - Return the current server.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>server ?context?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the current server name (what the server claims to be).</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>print "I attempted to connect to [host] on [network]." +print "I am actually connected to [server]."</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#host'>host</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='servers'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>servers - Returns of list of all servers you are on.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>servers</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns a list of all servers you are currently connected to.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>alias mychannels { + foreach s [servers] { + print "Server: $s" + foreach c [channels $s] { + print " - Channel: $c - [topic $s $c]" + } + } + complete +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#channel'>channel</a>, <a href='#channels'>channels</a>, <a href='#server'>server</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='setcontext'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>setcontext - Changes your current context to the one given.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>setcontext context</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Changes your current context to the one given. The argument <i>context</i> must have been returned by <b><i>getcontext</i></b> or <b><i>findcontext</i></b>.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>set context [findcontext #channel] +setcontext $context</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>Notes:</b></td> +<td>This function is not normally needed with the tclplugin. It is included only to add completeness with the XChat C API.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='timer'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>timer - Executes tcl command after a certain number of seconds have passed.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>timer ?-repeat? ?-count times? seconds {script | procname ?args?}</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Executes a tcl command or script after a certain number of seconds have passed. +<br> + +<br> +If the <b><i>-repeat</i></b> flag is included, it will will keep repeating until killed with <b><i>killtimer</i></b>. If the <b><i>-count</i></b> flag is added, it will repeat the number of times specified after the flag. In all other cases, it is executed only once.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>timer 5 { /say Times up! }</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Returns:</b></td> +<td>timer ID code is to identify the timer with for use with other timer commands.</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#killtimer'>killtimer</a>, <a href='#timerexists'>timerexists</a>, <a href='#timers'>timers</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='timerexists'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>timerexists - Returns 1 if the specified timer exists.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>timerexists timerID</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Determines of the specified timerID exists.</td> +</tr> + +<tr valign=top> +<td align=right><b>Returns:</b></td> +<td>1 if the specified timer exists, 0 otherwise</td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#killtimer'>killtimer</a>, <a href='#timer'>timer</a>, <a href='#timers'>timers</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='timers'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>timers - Returns a list of timers currently active.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>timers</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns a list of active timers; each entry in the list contains the timerID, the number of seconds left till activation, the command that will be executed, the number of seconds specified, and the number of times left to be executed.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>timer 5 { print "Important message coming soon!" } +timer 10 { print "It is now 10 seconds later! Yay!!!!!" } +print "[timers]"</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#killtimer'>killtimer</a>, <a href='#timer'>timer</a>, <a href='#timerexists'>timerexists</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='topic'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>topic - Returns the topic of a channel.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>topic ?server|context? ?channel?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the channel topic from the current channel or from a specific server and channel.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>alias mychannels { + foreach s [servers] { + print "Server: $s" + foreach c [channels $s] { + print " - Channel: $c - [topic $s $c]" + } + } + complete +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#channel'>channel</a>, <a href='#channels'>channels</a>, <a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#users'>users</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='users'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>users - Returns a list of users in a channel.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>users ?server|context? ?channel?</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns a list of all the users in a channel. The list consists of 4 elements; nick, hostmask, channel status and selected.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>alias listusers { + print "- --------------- ----------------------------------------" + foreach user [users] { + print "[format "%-1s" [lindex $user 2]] [format "%-15s" [lindex $user 0]] [lindex $user 1]" + } +}</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#channels'>channels</a>, <a href='#findcontext'>findcontext</a>, <a href='#getcontext'>getcontext</a>, <a href='#getlist'>getlist</a>, <a href='#servers'>servers</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='version'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>version - Returns XChat version number.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>version</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the full XChat version number.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>print "I am using XChat version [version]"</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#xchatdir'>xchatdir</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +<a name='xchatdir'> </a> +<table width=100% border=0 bgcolor=#eeeeee cellpadding=3 cellspacing=0> + +<tr valign=top> +<td align=right width=1% ><b>Name:</b></td> +<td>xchatdir - Returns the current xchat config directory.</td> +</tr> + +<tr valign=top> +<td align=right><b>Synopsis:</b></td> +<td><pre>xchatdir</pre></td> +</tr> + +<tr valign=top> +<td align=right><b>Description:</b></td> +<td>Returns the current xchat config dir within your own user space.</td> +</tr> + +<tr valign=top> +<td align=right><b>Example:</b></td> +<td><pre>print "My XChat config directory is [xchatdir]"</pre></td> +</tr> + +<tr valign=top> +<td align=right nowrap><b>See Also:</b></td> +<td><a href='#version'>version</a></td> +</tr> + + +<tr valign=top> +<td align=right nowrap><b>Downloads:</b></td> +<td><a href='http://www.scriptkitties.com/tclplugin/pluginscripts.tar.gz'>Download recommended Tcl plugin support scripts.</a></td> +</tr> + +</table> +<p> + + +</body> +</html> diff --git a/src/common/dbus/README b/src/common/dbus/README deleted file mode 100644 index d61cf4e0..00000000 --- a/src/common/dbus/README +++ /dev/null @@ -1,198 +0,0 @@ -For more help you can see the xchat plugin interface documentation. -http://www.xchat.org/docs/plugin20.html -WARNING: The dbus interface may change in the future. - -You can use the "/org/xchat/Remote" object with interface "org.xchat.plugin", -but his context can be changed by other clients at any moment and -you may receive signal asked by other clients. So for more complex usage it's -better to get your own remote object. Using "Connect" method on interface -"org.xchat.connection" - -Available methods on org.xchat.connection interface: - -"Connect" - - Parameters: - - gchar*: filename - - gchar*: name - - gchar*: description - - gchar*: version - - Returns: - - gchar*: Your own object's path. - -"Disconnect" - No parameter, no return value. It frees your remote object. - -Available methods on org.xchat.plugin interface: - -"Command" - - Parameters: - - gchar*: the command name without the "/". (e.g. "nick pseudo") - -"Print" - - Parameters: - - gchar*: text to print on the xchat window. - -"FindContext" - - Parameters: - - gchar*: the server name. Can be NULL. - - gchar*: the channel name. Can be NULL. - - Returns: - - guint: context ID - -"GetContext" - - Returns: - - guint: current context's ID - -"SetContext" - - Parameters: - - guint: context ID to switch, returned by "FindContext" or "GetContext" - - Returns: - - gboolean: 1 for success, 0 for failure. - -"GetInfo" - - Parameters: - - gchar*: ID of the information you want. - - Returns: - - gchar*: information you requested. - -"GetPrefs" - - Parameters: - - gchar*: Setting name required. - - Returns: - - int: 0-Failed 1-Returned a string 2-Returned an Integer - 3-Returned a Boolean. - - gchar*: the information requested if it's a string. - - int: the information requested if it's a integer or boolean. - -"HookCommand" - - Parameters: - - gchar*: Name of the command (without the forward slash). - - int: Priority of this command. - - gchar*: String of text to display when the user executes /help - for this command. May be NULL if you're lazy. - - int: Value to returns when the command is catched. See XCHAT_EAT_*. - - Returns: - - guint: The ID of the hook. - -"HookServer" - - Parameters: - - gchar*: Name of the server event. - - int: Priority of this command. - - int: Value to returns when the command is catched. See XCHAT_EAT_*. - - Returns: - - guint: The ID of the hook. - -"HookPrint" - - Parameters: - - gchar*: Name of the print event. - - int: Priority of this command. - - int: Value to returns when the command is catched. See XCHAT_EAT_*. - - Returns: - - guint: The ID of the hook. - -"Unhook" - - Parameters: - - guint: ID of the hook to unhook. - (the return value of "HookCommand", "HookServer" or "HookPrint") - -"ListGet" - - Parameters: - - gchar*: The list name. - - Returns: - - guint: List ID. - -"ListNext" - - Parameters: - - guint: List ID returned by "ListGet". - - Returns: - - gboolean: says if there is no more item in the list. - -"ListStr" - - Parameters: - - guint: List ID returned by "ListGet". - - gchar*: Name of the information needed. - - Returns: - - gchar*: The information requested. -Warning: "context" attribut of "channels" list should be get with "ListInt" - -"ListInt" - - Parameters: - - guint: List ID returned by "ListGet". - - gchar*: Name of the information needed. - - Returns: - - guint: The information requested. - -"ListTime" - - Parameters: - - guint: List ID returned by "ListGet". - - gchar*: Name of the information needed. - - Returns: - - guint64: The information requested. - -"ListFields" - - Parameters: - - gchar*: The list name. - - Returns: - - gchar**: information names in this list. - -"ListFree" - - Parameters: - - guint: List ID returned by "ListGet". - -"EmitPrint" - - Parameters: - - gchar*: Text event to print. - - gchar**: NULL terminated array of string. - - Returns: - - gboolean: 1-Success 0-Failure. - -"Nickcmp" - - Parameters: - - gchar*: String to compare. - - gchar*: String to compare. - - Returns: - - int: An integer less than, equal to, or greater than zero if s1 is found, - respectively, to be less than, to match, or be greater than s2. - -"Strip" - - Parameters: - - gchar*: String to strip. - - int: Length of the string (or -1 for NULL terminated). - - int: Bit-field of flags: 0-Strip mIRC colors, 1-Strip text attributes. - - Returns: - - gchar*: striped string. - -"SendModes" - - Parameters: - - gchar**: NULL terminated array of targets (strings). The names of people - whom the action will be performed on. - - int: Maximum modes to send per line. - - gchar: Mode sign, '-' or '+'. - - gchar: Mode char, e.g. 'o' for Ops. - - -Available signals: - -"ServerSignal" - - Parameters: - - gchar**: word returned by xchat. - - gchar**: word_eol returned bu xchat. - - guint: the ID of the hook. (the return value of "HookServer"). - - guint: the ID of the context where the event come from. - -"CommandSignal" - - Parameters: - - gchar**: word returned by xchat. - - gchar**: word_eol returned bu xchat. - - guint: the ID of the hook. (the return value of "HookCommand"). - - guint: the ID of the context where the event come from. - -"PrintSignal" - - Parameters: - - gchar**: word returned by xchat. - - guint: the ID of the hook. (the return value of "HookPrint"). - - guint: the ID of the context where the event come from. - -"UnloadSignal" - emited when the user asks to unload your program. - Please exit(0); when received ! diff --git a/src/fe-text/README b/src/fe-text/README deleted file mode 100644 index bb760aae..00000000 --- a/src/fe-text/README +++ /dev/null @@ -1,5 +0,0 @@ -fe-text README -~~~~~~~~~~~~~~ - -This is an experimental text frontend for X-Chat. -If anyone wants to add ncurses support, they are welcome to. |