summary refs log tree commit diff stats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/doc/changelog.md612
-rw-r--r--share/doc/dbus.md199
-rw-r--r--share/doc/faq.md318
-rw-r--r--share/doc/perl.md927
-rw-r--r--share/doc/plugins.md1145
-rw-r--r--share/doc/python.md560
-rw-r--r--share/doc/tcl.md3632
7 files changed, 0 insertions, 7393 deletions
diff --git a/share/doc/changelog.md b/share/doc/changelog.md
deleted file mode 100644
index 8ef81cb0..00000000
--- a/share/doc/changelog.md
+++ /dev/null
@@ -1,612 +0,0 @@
-# HexChat ChangeLog
-
-
-## 2.9.4 (2012-11-11)
-
- * fix alerts when omit alerts in away option is set
- * fix dialog icon in userlist popup
- * fix opening links on Mac
- * fix default network in the Network List
- * fix initial folder in file dialogs
- * fix positioning the nick change dialog
- * fix error message for busy servers
- * fix filename encoding errors
- * fix Fedora spec file
- * fix Raw Log content being impossible to copy when auto-copy is disabled
- * fix rough icon rendering in most windows on Windows
- * fix config folder when specified with -d argument
- * add built-in support for SASL authentication via CAP
- * add support for identify-msg/multi-prefix server capabilities
- * add text events for CAP related messages
- * add support for the SysInfo plugin on Unix
- * add option to change update check frequency and delay for first check
- * add option to change GUI language on Windows
- * add Ignore entry to userlist popup
- * add Afrikaans, Asturian, Danish, Gujarati, Indonesian, Kinyarwanda and Malayalam translations
- * add ChangeLog and ReadMe links to Start Menu during installation on Windows
- * add manual page on Unix
- * add icon support for 3 levels above op user mode
- * change default colors, text events and user list/channel tree icons
- * make Esc key close the Raw Log window
- * use Consolas as the default font where available
- * open dialog window for double-clicking in the user list by default
- * variable separation, cleanup and renaming
- * check in the installers whether Windows release is supported by HexChat
- * display previous value after /SET
- * reorganize the Settings menu and add new options
- * redesign the About dialog
- * show certain help messages in GTK+ dialogs instead of command line
- * disable faulty one instance option
- * build system cosmetics on Unix
- * reorganize repo file structure
- * rebranding
- * update translations
- * update the network list
-
-
-## 2.9.3 (2012-10-14)
-
- * fix various URL detection bugs
- * fix default folders for file transfers in portable mode
- * fix Autotools warnings with recent releases
- * add /ADDSERVER command
- * add option to save URLs to disk on-the-fly
- * add option to omit alerts when marked as being away
- * add default icons for channel tree and option to turn them off
- * change certain default colors
- * enhance Non-BMP filtering performance
- * accept license agreement by default on Windows
- * update the network list
-
-
-## 2.9.2 (2012-10-05)
-
- * fix compilation on Red Hat and Fedora
- * fix portable to non-portable migrations on Windows
- * fix ban message in HexTray
- * fix icon in Connection Complete dialog
- * fix determining if the log folder path is full or relative
- * fix desktop notification icons on Unix
- * fix URL grabber saving an unlimited number of URLs by default
- * fix URL grabber memory leaks under certain circumstances
- * fix URL grabber trying to export URL lists to system folders by default
- * fix opening URLs without http(s)://
- * add support for regenerating text events during compilation on Windows
- * add support for the theme manager on Unix
- * add Unifont to the default list of alternative fonts
- * add option to retain colors in the topic
- * allow the installer to preserve custom GTK+ theme settings on Windows
- * use the icons subfolder of the config folder for loading custom icons
- * use port 6697 for SSL connections by default
- * install the SASL plugin by default on Windows
- * /lastlog improvements
- * build system cosmetics on Unix
- * open links with just left click by default
- * enable timestamps and include seconds by default
- * make libproxy an optional dependency on Unix
- * update German translation
- * update the network list
-
-
-## 2.9.1 (2012-07-27)
-
- * fix installing/loading plugins on Unix
- * fix restoring the HexChat window via shortcuts on Windows
- * fix HexTray icon rendering for certain events
- * fix the Show marker line option in Preferences
- * fix /lastlog regexp support on Windows
- * add support for the Checksum, Do At, FiSHLiM and SASL plugins on Unix
- * add option to retain colors when displaying scrollback
- * add MS Gothic to the default list of alternative fonts
- * rebranding and cleanup
- * eliminate lots of compiler warnings
- * Unix build system fixes and cosmetics
- * make Git ignore Unix-specific intermediate files
- * use better compression for Windows installers
- * switch to GTK+ file dialogs on Windows
- * restructure the Preferences window
- * use the addons subfolder of the config folder for auto-loading plugins/scripts
- * improve the dialog used for opening plugins/scripts
- * remember user limits in channel list between sessions
- * remember last search pattern during sessions
- * update XChat to r1521
-
-
-## 2.9.0 (2012-07-14)
-
- * rebranding
- * migrate code to GitHub
- * update XChat to r1515
- * fix x64 Perl interface installation for Perl 5.16
- * improve URL detection with new TLDs and file extensions
-
-
-## 1508-3 (2012-06-17)
-
- * add XChat Theme Manager
- * fix problems with Turkish locale
-
-
-## 1508-2 (2012-06-15)
-
- * add support for Perl 5.16
- * update Do At plugin
- * fix drawing of chat area bottom
- * avoid false hits when restoring from tray via shortcut
- * migrate from NMAKE to Visual Studio
-
-
-## 1508 (2012-06-02)
-
- * remove Real Name from Network List
- * search window improvements
- * restore XChat-WDK from tray via shortcut if X-Tray is used
-
-
-## 1507 (2012-05-13)
-
- * update OpenSSL to 1.0.1c
- * FiSHLiM updates
-
-
-## 1506 (2012-05-04)
-
- * update OpenSSL to 1.0.1b
- * update German translation
-
-
-## 1503 (2012-03-16)
-
- * update OpenSSL to 1.0.1
- * URL grabber updates
- * FiSHLiM updates
-
-
-## 1500 (2012-02-16)
-
- * add option for specifying alternative fonts
- * fix crash due to invalid timestamp format
- * X-Tray cosmetics
-
-
-## 1499-7 (2012-02-08)
-
- * fix update notifications
- * fix compilation on Linux
- * add IPv6 support to built-in identd
-
-
-## 1499-6 (2012-01-20)
-
- * add DNS plugin
-
-
-## 1499-5 (2012-01-20)
-
- * built-in fix for client crashes
- * update OpenSSL to 1.0.0g
-
-
-## 1499-4 (2012-01-18)
-
- * add Non-BMP plugin to avoid client crashes
-
-
-## 1499-3 (2012-01-15)
-
- * rework and extend plugin config API
- * add ADD/DEL/LIST support to X-SASL
-
-
-## 1499-2 (2012-01-11)
-
- * add X-SASL plugin
-
-
-## 1499 (2012-01-09)
-
- * fix saving FiSHLiM keys
- * update OpenSSL to 1.0.0f
-
-
-## 1498-4 (2011-12-05)
-
- * fix updates not overwriting old files
- * display WinSys output in one line for others
- * use Strawberry Perl for building
-
-
-## 1498-3 (2011-12-02)
-
- * add plugin config API
- * add Exec plugin
- * add WinSys plugin
- * perform periodic update checks automatically
-
-
-## 1498-2 (2011-11-25)
-
- * add FiSHLiM plugin
- * add option to allow only one instance of XChat to run
-
-
-## 1498 (2011-11-23)
-
- * separate x86 and x64 installers (uninstall any previous version!)
- * downgrade GTK+ to 2.16
- * re-enable the transparent background option
- * various X-Tray improvements
- * add WMPA plugin
- * add Do At plugin
- * automatically save set variables to disk by default
- * update OpenSSL to 1.0.0e
-
-
-## 1496-6 (2011-08-09)
-
- * add option to auto-open new tab upon /msg
- * fix the update checker to use the git repo
- * disable update checker cache 
-
-
-## 1496-5 (2011-08-07)
-
- * fix attach/detach keyboard shortcut
- * add multi-language support to the spell checker 
-
-
-## 1496-4 (2011-07-27)
-
- * recognize Windows 8 when displaying OS info
- * update OpenSSL certificate list
- * fix X-Tray blinking on unselected events
- * fix X-Tray keyboard shortcut handling
- * cease support for Perl 5.10
- * use Strawberry Perl for 5.12 DLLs 
-
-
-## 1496-3 (2011-06-16)
-
- * add option for changing spell checker color 
-
-
-## 1496-2 (2011-06-05)
-
- * add support for custom license text 
-
-
-## 1496 (2011-05-30)
-
- * display build type in CTPC VERSION reply
- * add support for Perl 5.14 
-
-
-## 1494 (2011-04-16)
-
- * update Visual Studio to 2010 SP1
- * update OpenSSL to 1.0.0d
- * ship MySpell dictionaries in a separate installer 
-
-
-## 1489 (2011-01-26)
-
- * fix unloading the Winamp plugin
- * enable the Favorite Networks feature
- * add Channel Message event support to X-Tray
- * add mpcInfo plugin 
-
-
-## 1486 (2011-01-16)
-
- * fix a possible memory leak in the update checker
- * fix XChat-Text shortcut creation
- * fix XChat version check via the plugin interface
- * add option for limiting the size of files to be checksummed
- * add X-Tray as an install option
- * disable Plugin-Tray context menu completely 
-
-
-## 1479-2 (2011-01-10)
-
- * improve command-line argument support
- * add auto-copy options
- * enable XChat-Text
- * disable faulty tray menu items 
-
-
-## 1479 (2010-12-29)
-
- * update GTK+ to 2.22.1
- * update OpenSSL to 1.0.0c
- * update Python to 2.7.1
- * replace X-Tray with Plugin-Tray 
-
-
-## 1469-3 (2010-10-20)
-
- * add Checksum plugin
- * menu integration for Update Checker and Winamp 
-
-
-## 1469-2 (2010-10-09)
-
- * fix DCC file sending
- * native open/save dialogs
- * make the version info nicer
- * register XChat-WDK as IRC protocol handler
- * add option to run XChat-WDK after installation
- * disable erroneous uninstall warnings
- * disable Plugin-Tray, provide X-Tray only
- * cease support for Perl 5.8
- * replace EasyWinampControl with Winamp 
-
-
-## 1469 (2010-10-08)
-
- * use Visual C++ 2010 for all WDK builds
- * build Enchant with WDK and update it to 1.6.0
- * fix SSL validation
- * fix opening the config folder from GUI in portable mode
- * further improve dialog placement for closing network tabs 
-
-
-## 1468-2 (2010-10-02)
-
- * update GTK+ to 2.22
- * spelling support
- * more config compatibility with official build
- * improve dialog placement for closing network tabs
- * remove themes from the installer
- * disable toggle for favorite networks until it's usable
- * disable transparent backgrounds
- * hide mnemonic underlines until Alt key pressed
- * fix XP lagometer and throttlemeter rendering 
-
-
-## 1468 (2010-09-19)
-
- * update Perl to 5.12.2
- * update Tcl to 8.5.9
- * fix scrollback shrinking
- * enable advanced settings pane
- * retain emoticon settings
- * add /IGNALL command 
-
-
-## 1464-6 (2010-09-06)
-
- * fix Perl interface breakage
- * update checker plugin 
-
-
-## 1464-5 (2010-08-30)
-
- * primitive update checker 
-
-
-## 1464-4 (2010-08-30)
-
- * selectable tray icon
- * selectable theme for portable
- * selectable plugins 
-
-
-## 1464-3 (2010-08-29)
-
- * black theme for portable 
-
-
-## 1464-2 (2010-08-29)
-
- * make Perl version selectable during install 
-
-
-## 1464 (2010-08-26)
-
- * Perl interface updates 
-
-
-## 1462 (2010-08-25)
-
- * update XChat to r1462
- * build system cleanup 
-
-
-## 1459-3 (2010-08-23)
-
- * more installer changes (uninstall any previous version!) 
-
-
-## 1459-2 (2010-08-23)
-
- * universal installer
- * update build dependencies 
-
-
-## 1459 (2010-08-19)
-
- * portable mode and installer fixes 
-
-
-## 1457 (2010-08-17)
-
- * disable GUI warnings 
-
-
-## 1455-2 (2010-08-17)
-
- * unified installer for standard and portable 
-
-
-## 1455 (2010-08-15)
-
- * support for gtkwin_ptr in the Perl interface 
-
-
-## 1454 (2010-08-14)
-
- * gtkwin_ptr for plugins introduced 
-
-
-## 1452 (2010-08-14)
-
- * fix taskbar alerts on x86
- * upgrade Perl to 5.12 and make 5.8/5.10 builds available separately 
-
-
-## 1451-6 (2010-08-12)
-
- * include Lua-WDK with the installer 
-
-
-## 1451-5 (2010-08-12)
-
- * switch to Inno Setup (uninstall any previous version!)
- * add Lua support 
-
-
-## 1451-4 (2010-08-11)
-
- * enable the XDCC plugin 
-
-
-## 1451-3 (2010-08-11)
-
- * enable Python support 
-
-
-## 1451-2 (2010-08-11)
-
- * enable SSL support
- * fix simultaneous connections
- * re-enable identd by default 
-
-
-## 1451 (2010-08-10)
-
- * update XChat to r1451
- * disable identd by default
- * remove DNS plugin 
-
-
-## 1444 (2010-07-30)
-
- * update XChat to r1444
- * downgrade Tcl to 8.5
- * add Tcl support to the x64 build 
-
-
-## 1441 (2010-06-15)
-
- * update XChat to r1441
- * enable transfer of files bigger than 4 GB 
-
-
-## 1439 (2010-05-30)
-
- * update XChat to r1439 (2.8.8) 
-
-
-## 1431-6 (2010-05-30)
-
- * re-enable the transparent background option
- * add branding to Plugin-Tray
- * installer updates 
-
-
-## 1431-5 (2010-05-29)
-
- * fix installer
- * add DNS plugin status messages 
-
-
-## 1431-4 (2010-05-28)
-
- * disable the transparent background option
- * downgrade GTK+ to more stable 2.16 
-
-
-## 1431-3 (2010-05-23)
-
- * add portable build support 
-
-
-## 1431-2 (2010-05-22)
-
- * replace X-Tray with Plugin-Tray 
-
-
-## 1431 (2010-05-21)
-
- * update XChat to r1431
- * include a lot of XChat translations added since 2.8.6 
-
-
-## 1412-3 (2010-05-02)
-
- * fix GTK function call 
-
-
-## 1412-2 (2010-05-02)
-
- * re-enable taskbar alerts on x64 
-
-
-## 1412 (2010-05-02)
-
- * update XChat to r1412
- * update GTK+ and friends
- * update Visual Studio to 2010
- * fix Perl warning message
- * include GTK L10n with the installer 
-
-
-## 1409-9 (2010-04-18)
-
- * fix loading of scrollback 
-
-
-## 1409-8 (2010-04-03)
-
- * fix X-Tray on x64 
-
-
-## 1409-7 (2010-04-02)
-
- * disable taskbar notification options 
-
-
-## 1409-6 (2010-03-31)
-
- * display version numbers everywhere 
-
-
-## 1409-5 (2010-03-31)
-
- * add DNS plugin
- * add EasyWinampControl plugin
- * disable Plugin-Tray settings 
-
-
-## 1409-4 (2010-03-30)
-
- * add X-Tray 
-
-
-## 1409-3 (2010-03-29)
-
- * plugin linkage fixes 
-
-
-## 1409-2 (2010-03-29)
-
- * enable IPv6 support
- * enable NLS support
- * enable Perl support
- * enable Tcl support 
-
-
-## 1409 (2010-03-29)
-
- * initial release
-
diff --git a/share/doc/dbus.md b/share/doc/dbus.md
deleted file mode 100644
index 8db9c340..00000000
--- a/share/doc/dbus.md
+++ /dev/null
@@ -1,199 +0,0 @@
-# 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 HEXCHAT\_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 HEXCHAT\_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 HEXCHAT\_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
deleted file mode 100644
index a1d10708..00000000
--- a/share/doc/faq.md
+++ /dev/null
@@ -1,318 +0,0 @@
-# HexChat Frequently Asked Questions
-
-## Using HexChat
-
-### How do I autoconnect and join a channel when HexChat loads?
-
-In the Network list select the Network you want to auto-connect to and
-click Edit and turn ON the "Auto connect to this network at startup"
-checkbox.
-
-List channels in the favorites list to join them on connect.
-
-
-### Why does HexChat join channels before identifying?
-
-When using the nickserv password HexChat waits a short time before joining.
-To change this value (which is in seconds) by running:
-> /set irc\_join\_delay number
-
-The other option is SASL which is network dependent and can be enabled in the Network list (2.9.4+).
-
-
-### How do I connect through a proxy?
-
-Go to the menus, _Settings_ `->` _Preferences_ `->` _Network Setup_ and fill in
-the requested information there. Authentication (using a username and
-password) is only supported for HTTP and Socks5.
-
-
-### How do I show @ and + in front of nicknames that are Op and Voice when they talk?
-
-To display @ and + characters next to nicknames as they talk, do the
-following:
-
-In the menus, open up _Settings_ `->` _Text Events_. Find the
-_Channel Message_ event in the list. The $3 code can be inserted to
-print the user's mode-character (e.g. @ or +). For example, you might
-want to change the default:
-
-> %C18%H<%H$4$1%H>%H%O$t$2
-
-To
-
-> %C18%H<%H$4$3$1%H>%H%O$t$2 
-
-Don't forget to **press Enter**, so the changes take effect in the list at
-the top of the window.
-
-
-### How do I change the Op and Voice userlist icons and Tree View icons?
-
-HexChat allows you to override the default icons. To use this feature, first create the required folder:
-
- * Unix/Linux
-
-> ~/.config/hexchat/icons
-
- * Windows
-
-> %APPDATA%\\HexChat\\icons
-
-The required file names:
-
- * **tray icon:**
-
-	* tray\_fileoffer.png
-	* tray\_highlight.png
-	* tray\_message.png
-	* hexchat.png
-
- * **channel tree:**
-
-	* tree\_channel.png
-	* tree\_dialog.png
-	* tree\_server.png
-	* tree\_util.png _(Channel List, DCC, etc (if enabled as tabs))_
-
- * **user list:**
-
-	* ulist\_voice.png
-	* ulist\_halfop.png
-	* ulist\_op.png
-	* ulist\_owner.png _(1 level above op)_
-	* ulist\_founder.png  _(2 levels above op)_
-	* ulist\_netop.png  _(3 levels above op)_
-
-You can hide either of them in _Preferences_.
-
-
-### How do I set different ban types?
-
- 1. Right click the nickname in the userlist, and choose a ban type from the "Kick/Ban" submenu.
-
- 2. You can also do it manually:
-    >   /ban nick bantype where the bantype is a number from 0 to 3.
- 3. Or set the default with:
-
-    >   /set irc\_ban\_type bantype sets the default ban type to use for all bans. The different types are:
-    >
-    >   -   0 = \*!*@*.host
-    >   -   1 = \*!*@domain
-    >   -   2 = \*!*user@*.host
-    >   -   3 = \*!*user@domain
-
-
-### Why does the timestamp overlap some nicknames?
-
-Some networks allow very long nicknames (up to 32 letters). It can be
-annoying to have the separator bar move too far to the right, just for
-one long nick. Therefore, it has a set limit for the distance it will
-move to the right. If you use a large font, you may need to adjust this
-distance. It is set in pixels, for example:
-
->   /set text\_max\_indent 320
-
-Once you adjust this setting high enough, overlapping timestamps and
-nicknames should not occur. The adjustment will not take effect
-immediately, a restart may be needed.
-
-
-### How do I turn on Conference mode where I will not see join or part messages?
-
-Right-click on the tab you want to change. In the submenu of the channel
-name, there's a toggle-item "Show join/part messages", simply turn this
-off.
-
-If you want to turn this option on globally go to _Preferences_ `->` _Advanced_.
-
-Then all channels you join **after** setting this will start with "Show
-join/part messages" turned off.
-
-
-### Why doesn't DCC send work behind a router (IPNat/ADSL)?
-
-If you are behind a IP-NAT or ADSL router, you will most likely have an
-address like 192.168.0.1. This address is not usable on the Internet,
-and must be translated.
-
-When offering a DCC file, HexChat will tell the receiver your address.
-If it says 192.168.0.1, the receiver will not be able to connect. One
-way to make it send your "real" address is to enable the "Get my IP from
-IRC Server" option in HexChat. This option is available in
-_Preferences_ `->` _File Transfers_. When you turn it ON, you will have
-to re-login to the server before it'll take effect.
-
-You will also need to forward some ports for use in DCC send. You may
-pick almost any port range you wish, for example, in HexChat set:
-
->   First DCC send port: 4990  
->   Last DCC send port: 5000
-
-This will allow you to send up to ten files at the same time, which
-should be plenty for most people. Lastly, configure your router/modem to
-forward ports 4990-5000 to your PC's address. You'll have to consult
-your router/modem's manual on how to do this.
-
-
-### How do I execute multiple commands in one line?
-
-There are three ways to do this:
-
- * /LOAD -e &lt;textfile>, where &lt;textfile> is a full pathname to a
-    file containing commands on each line.
-
- * Separate your commands with CTRL-SHIFT-u-a. This will appear as a little box with numbers onit.
-
- * You can create two UserCommands, with the same name, and then execute the UserCommand.
-It will be executed in the same order as it's written in the UserCommands GUI.
-
-
-### I get this error: "Unknown file type abc.yz. Maybe you need to install the Perl or Python plugin?"
-
-If you get this error when trying to load a Perl or Python script, it
-means the plugin for running those scripts isn't loaded.
-
- * The Perl, Python and TCL plugins come with HexChat in the same archive.
- * During ./configure, it will check for Perl, Python and TCL libs and headers, you should check if it failed there.
- * The plugins directory can be found by issuing the shell command
-    > hexchat -p
- * All *.so files are auto-loaded at startup (*.dll on Windows).
- * If you downloaded a binary package, maybe the packager decided to exclude the Perl or Python plugins.
-
-
-### How do I play sound files on certain events?
-
-In the menus, go to: _Settings_ `->` _Preferences_ `->` _Sound_. Select the event
-you want to make a sound on, then type in a sound filename (or use the Browse button).
-
-
-### How do I auto-load scripts at startup?
-
-The root of your HexChat config is:
-
- * Windows: %APPDATA%\\HexChat
- * Unix/Linux: ~/.config/hexchat
-
-Referred to as &lt;config> from now. HexChat automatically loads, at startup:
-
- * &lt;config>/addons/*.lua Lua scripts
- * &lt;config>/addons/*.pl Perl scripts
- * &lt;config>/addons/*.py Python scripts
- * &lt;config>/addons/*.tcl Tcl scripts
- * &lt;config>/addons/*.dll Plugins (Windows)
- * &lt;config>/addons/*.so Plugins (Unix)
-
-You may need to create the _addons_ folder manually.
-
-### How do I minimize HexChat to the System Tray (Notification Area)?
-
-On both Unix and Windows there is an included tray plugin. To enable minimizing to tray on exit:
-
-> /set gui\_tray\_close on
-
-For minimizing to tray on minimize:
-
-> /set gui\_tray\_minimize on
-
-Alerts for this tray are in _Preferences_ `->` _Alerts_.
-
-The other option is Windows only, called HexTray. It is included with the installer.
-Right click on the tray icon for its options.
-
-
-### Where are the log files saved to?
-
-* Unix/Linux
-
-> ~/.config/hexchat/logs
-
-* Windows
-
-> %APPDATA%\\HexChat\\logs
-
-
-### How do I rotate log files every so often?
-
-By default settings, no rotation occurs, your log files will just keep getting larger.
-
-Go to _Settings_ `->` _Preferences_ `->` _Logging_ and change the log filename to any one of these:
-
-> %Y-%m-%d/%n-%c.log ->2006-12-30/FreeNode-\#channel.log
->
-> %n/%Y-%m-%d/%c.log ->FreeNode/2006-12-30/\#channel.log
->
-> %n/%c.log -> FreeNode/\#channel.log (no rotation)
-
-%Y, %m and %d represents the current year, month and day respectively.
-%n is the network name, e.g. "FreeNode" or "UnderNet", and finally, %c
-is the channel. In these examples, a new log filename and folder would
-be created after midnight.
-
-You can find more possibilities at [http://xchat.org/docs/log/](http://xchat.org/docs/log/).
-
-
-### Where did the Real Name field go?
-
-The real name field is now removed from the Network List. This is in
-order to avoid alienating newcomers (some might be afraid of their
-personal data).
-
-The network-specific real name can still be set via the GUI. If you want
-to modify the global real name, just issue the following command:
-
-> /set irc\_real\_name Stewie Griffin
-
-
-### How do I migrate my settings from XChat?
-
- * UNIX/Linux
-
-> 1. Copy ~/.xchat2 to ~/.config/hexchat
-> 2. Rename ~/.config/hexchat/xchat.conf to ~/.config/hexchat/hexchat.conf
-> 3. Rename ~/.config/hexchat/xchatlogs to ~/.config/hexchat/logs
-> 4. Move all your 3rd party addons to ~/.config/hexchat/addons
-> 5. Rename ~/.config/hexchat/plugin\_\*.conf to ~/.config/hexchat/addon\_\*.conf
-
- * Windows
-
-> 1. Copy %APPDATA%\\X-Chat 2 to %APPDATA%\\HexChat
-> 2. Rename %APPDATA%\\HexChat\\xchat.conf to %APPDATA%\\HexChat\\hexchat.conf
-> 3. Rename %APPDATA%\\HexChat\\xchatlogs to %APPDATA%\\HexChat\\logs
-> 4. Move all your 3rd party addons to %APPDATA%\\HexChat\\addons
-> 5. Rename %APPDATA%\\HexChat\\plugin\_\*.conf to %APPDATA%\\HexChat\\addon\_\*.conf
-
-
-## Contributions, Development and Bugs.
-
-
-### I found a bug, what can I do?
-
-Firstly, make sure it's the latest stable version of HexChat.
-
-If you still experience issues, you can search for the issue on
-[GitHub](https://github.com/hexchat/hexchat/issues?state=open)
-if it has not been reported open an issue with as much detail as possible.
-
-
-### Can I write a new language translation for HexChat?
-
-You sure can, but I don't accept translations directly. They must be
-done through the
-[Transifex Project](https://www.transifex.com/projects/p/hexchat/).
-You simply register on the site, then you can apply for membership in a translation
-team via the web interface. Approvals are done manually so it might take a few days
-for you to be approved. Also bear in mind that the email address with which you
-register on Transifex will be visible in the translation files.
-
-If you want to test your translation in action:
-
- * Download your translation from Transifex
- * Open the downloaded _.po_ file with [Poedit](http://www.poedit.net/)
- * Simply press _Save_ in Poedit, which causes it to generate a _.mo_ file next to the _.po_ file
- * Copy the generated _.mo_ file to _HexChat \ locale \ &lt;language code> \ LC\_MESSAGES \ hexchat.mo_
- * Restart HexChat
-
-***
-
-For pretty html: `pandoc --toc -s faq.md -o faq.html`
\ No newline at end of file
diff --git a/share/doc/perl.md b/share/doc/perl.md
deleted file mode 100644
index 7a7aa5db..00000000
--- a/share/doc/perl.md
+++ /dev/null
@@ -1,927 +0,0 @@
-# HexChat Perl Interface
-
-
-## Introduction
-
-This is the Perl interface for HexChat. If there are any problems, questions, comments or
-suggestions please email them to the address on the bottom of this page.
-
-
-## Constants
-
-
-###Priorities
-
- * **`Xchat::PRI_HIGHEST`**
- * **`Xchat::PRI_HIGH`**
- * **`Xchat::PRI_NORM`**
- * **`Xchat::PRI_LOW`**
- * **`Xchat::PRI_LOWEST`**
-
-
-### Return values
-
- * **`Xchat::EAT_NONE`** - pass the event along
- * **`Xchat::EAT_XCHAT`** - don't let HexChat see this event
- * **`Xchat::EAT_PLUGIN`** - don't let other scripts and plugins see this event but xchat will still see it
- * **`Xchat::EAT_ALL`** - don't let anything else see this event
-
-
-#### Timer and fd hooks
-
- * **`Xchat::KEEP`** - keep the timer going or hook watching the handle
- * **`Xchat::REMOVE`** - remove the timer or hook watching the handle
-
-
-### hook\_fd flags
-
- * **`Xchat::FD_READ`** - invoke the callback when the handle is ready for reading
- * **`Xchat::FD_WRITE`** - invoke the callback when the handle is ready for writing
- * **`Xchat::FD_EXCEPTION`** - invoke the callback if an exception occurs
- * **`Xchat::FD_NOTSOCKET`** - indicate that the handle being hooked is not a socket
-
-## Functions
-
-### `Xchat::register( $name, $version, [$description,[$callback]] )`
-
- * `$name` - The name of this script
- * `$version` - This script's version
- * `$description` - A description for this script
- * `$callback` - This is a function that will be called when the is script
-                     unloaded. This can be either a reference to a
-                     function or an anonymous sub reference.
-
-This is the first thing to call in every script.
-
-### `Xchat::hook_server( $message, $callback, [\%options] )`
-
-### `Xchat::hook_command( $command, $callback, [\%options] )`
-
-### `Xchat::hook_print( $event,$callback, [\%options] )`
-
-### `Xchat::hook_timer( $timeout,$callback, [\%options | $data] )`
-
-### `Xchat::hook_fd( $handle, $callback, [ \%options ] )`
-
-These functions can be to intercept various events.
-hook\_server can be used to intercept any incoming message from the IRC server.
-hook\_command can be used to intercept any command, if the command doesn't currently exist then a new one is created.
-hook\_print can be used to intercept any of the events listed in _Setttings_ `->` _Text Events_.
-hook\_timer can be used to create a new timer
-
- * **`$message`** - server message to hook such as PRIVMSG
- * **`$command`** - command to intercept, without the leading /
- * **`$event`** - one of the events listed in _Settings_ `->` _Text Events_
- * **`$timeout`** - timeout in milliseconds
- * **`$handle`** - the I/O handle you want to monitor with hook\_fd. This must be something that has a fileno. See perldoc -f fileno or [fileno](http://perldoc.perl.org/functions/fileno.html)
- * **`$callback`** - callback function, this is called whenever
-                  the hooked event is trigged, the following are
-                  the conditions that will trigger the different hooks.
-                  This can be either a reference to a
-                  function or an anonymous sub reference.
- * **`\%options`** - a hash reference containing addional options for the hooks
-
-Valid keys for \%options:
-
-<table border="1">   <tr>
-   <td>data</td>  <td>Additional data that is to be associated with the<br />
-                  hook. For timer hooks this value can be provided either as<br />
-                  <code>Xchat::hook_timer( $timeout, $cb,{data=&gt;$data})</code><br />
-                  or <code>Xchat::hook_timer( $timeout, $cb, $data )</code>.<br />
-                  However, this means that hook_timer cannot be provided<br />
-                  with a hash reference containing data as a key.<br />                  example:<br />
-                  my $options = { data =&gt; [@arrayOfStuff] };<br />
-                  Xchat::hook_timer( $timeout, $cb, $options );<br />
-                  <br />
-                  In this example, the timer's data will be<br />
-                  [@arrayOfStuff] and not { data =&gt; [@arrayOfStuff] }<br />
-                  <br />
-                  This key is valid for all of the hook functions.<br />
-                  <br />
-                  Default is undef.<br />
-                  </td>
-   </tr>   <tr>
-      <td>priority</td> <td>Sets the priority for the hook.<br />
-                        It can be set to one of the
-                        <code>Xchat::PRI_*</code> constants.<br />
-                        <br />
-                        This key only applies to server, command
-                        and print hooks.<br />
-                        <br />
-                        Default is <code>Xchat::PRI_NORM</code>.
-                        </td>   </tr>   <tr>
-      <td>help_text</td>   <td>Text displayed for /help $command.<br />
-                           <br />
-                           This key only applies to command hooks.<br />
-                           <br />
-                           Default is "".
-                           </td>
-   </tr>   <tr>
-      <td>flags</td>   <td>Specify the flags for a fd hook.<br />
-                       <br />
-                       See <a href="#hook_fd_flags">hook fd flags</a> section for valid values.<br />
-                       <br />
-                       On Windows if the handle is a pipe you specify<br />
-                       Xchat::FD_NOTSOCKET in addition to any other flags you might be using.<br />
-                       <br />
-                       This key only applies to fd hooks.<br />
-                       Default is Xchat::FD_READ
-                           </td>
-   </tr></table><p>
-
-
-#### When callbacks are invoked
-
-Each of the hooks will be triggered at different times depending on the type
-of hook.
-
-<table border="1">   <tr style="background-color: #dddddd">
-      <td>Hook Type</td>   <td>When the callback will be invoked</td>
-   </tr>   <tr>
-      <td>server hooks</td>   <td>a <code>$message</code> message is 
-                              received from the server
-                              </td>
-   </tr>   <tr>
-      <td>command hooks</td>  <td>the <code>$command</code> command is
-                              executed, either by the user or from a script
-                              </td>
-   </tr>   <tr>
-      <td>print hooks</td> <td>X-Chat is about to print the message for the
-                           <code>$event</code> event
-                           </td>
-   </tr>   <tr>
-      <td>timer hooks</td> <td>called every <code>$timeout</code> milliseconds
-                           (1000 millisecond is 1 second)<br />
-                           the callback will be executed in the same context where
-                           the hook_timer was called, if the context no longer exists
-                           then it will execute in a random context
-                           </td>
-   </tr>   <tr>
-      <td>fd hooks</td> <td>depends on the flags that were passed to hook_fd<br />
-                        See <a href="#hook_fd_flags">hook_fd flags</a> section.
-                        </td>
-   </tr>
-</table>
-
-The value return from these hook functions can be passed to `Xchat::unhook` to remove the hook.
-
-
-#### Callback Arguments
-
-All callback functions will receive their arguments in `@_` like every other Perl subroutine.
-
-Server and command callbacks
-
-`$_[0]` - array reference containing the IRC message or command and arguments broken into words
-example:  
-/command arg1 arg2 arg3  
-`$_[0][0]` - command  
-`$_[0][1]` - arg1  
-`$_[0][2]` - arg2  
-`$_[0][3]` - arg3
-
-`$_[1]` - array reference containing the Nth word to the last word   
-example:  
-/command arg1 arg2 arg3  
-`$_[1][0]` - command arg1 arg2 arg3  
-`$_[1][1]` - arg1 arg2 arg3  
-`$_[1][2]` - arg2 arg3  
-`$_[1][3]` - arg3  
-
-`$_[2]` - the data that was passed to the hook function
-
-Print callbacks
-
-`$_[0]` - array reference containing the values for the text event, see _Settings_ `->` _Text Events_  
-`$_[1]` - the data that was passed to the hook function
-
-Timer callbacks
-
-`$_[0]` - the data that was passed to the hook function
-
-fd callbacks
-
-`$_[0]` - the handle that was passed to hook\_fd
-`$_[1]` - flags indicating why the callback was called
-`$_[2]` - the data that was passed to the hook function
-
-
-#### Callback return values
-
-All server, command and print  callbacks should return one of the `Xchat::EAT_*` constants.  
-Timer callbacks can return `Xchat::REMOVE` to remove the timer or `Xchat::KEEP` to keep it going.
-
-
-#### Miscellaneous Hook Related Information
-
-For server hooks, if `$message` is "RAW LINE" then `$cb`> will be called for every IRC message that HexChat receives.
-
-For command hooks if `$command` is "" then `$cb` will be called for messages entered by the user that is not a command.
-
-For print hooks besides those events listed in _Settings_ `->` _Text Events_, these additional events can be used.
-
-<table border="1">   <tr style="background-color: #dddddd">
-      <td>Event</td> <td>Description</td>
-   </tr>   <tr>
-      <td>"Open Context"</td> <td>a new context is created</td>
-   </tr>   <tr>
-      <td>"Close Context"</td>   <td>a context has been close</td>
-   </tr>   <tr>
-      <td>"Focus Tab"</td> <td>when a tab is brought to the front</td>
-   </tr>   <tr>
-      <td>"Focus Window"</td> <td>when a top level window is focused or the
-                              main tab window is focused by the window manager
-                              </td>
-   </tr>   <tr>
-      <td>"DCC Chat Text"</td>   <td>when text from a DCC Chat arrives.
-                                 <code>$_[0]</code> will have these values<br />
-                                 <br />
-                                 <code>$_[0][0]</code>   -  Address<br />
-                                 <code>$_[0][1]</code>   -  Port<br />
-                                 <code>$_[0][2]</code>   -  Nick<br />
-                                 <code>$_[0][3]</code>   -  Message<br />
-                                 </td>
-   </tr>   <tr>
-      <td>"Key Press"</td> <td>used for intercepting key presses<br />
-			$_[0][0] - key value<br />
-			$_[0][1] - state bitfield, 1 - shift, 4 - control, 8 - alt<br />
-			$_[0][2] - string version of the key which might be empty for unprintable keys<br />
-			$_[0][3] - length of the string in $_[0][2]<br />
-		</td>
-   </tr>
-</table>
-
-
-### `Xchat::unhook( $hook )`
-
-
- * **`$hook` - the hook that was previously returned by one of the `Xchat::hook_*` functions**
-
-This function is used to removed a hook previously added with one of the `Xchat::hook_*` functions.
-
-It returns the data that was passed to the `Xchat::hook_*` function when the hook was added.
-
-
-### `Xchat::print( $text | \@lines, [$channel,[$server]] )`
-
- * **`$text` - the text to print**
- * **`\@lines` - array reference containing lines of text to be printed all the elements will be joined together before printing**
- * **`$channel` - channel or tab with the given name where `$text` will be printed**
- * **`$server` - specifies that the text will be printed in a channel or tab that is associated with `$server`**
-
-The first argument can either be a string or an array reference of strings.
-Either or both of `$channel` and `$server` can be undef.
-
-If called as `Xchat::print( $text )`, it will always return true.
-If called with either the channel or the channel and the server
-specified then it will return true if a context is found and
-false otherwise. The text will not be printed if the context
-is not found.  The meaning of setting `$channel` or `$server` to
-undef is the same as find\_context.
-
-
-### `Xchat::printf( $format, LIST )`
-
- * **`$format` - a format string, see "perldoc -f [sprintf](http://perldoc.perl.org/functions/sprintf.html)" for further details**
- * **`LIST` - list of values for the format fields**
-
-
-### `Xchat::command( $command | \@commands, [$channel,[$server]] )`
-
- * **`$command` - the command to execute, without the leading /**
- * **`\@commands` - array reference containing a list of commands to execute**
- * **`$channel` - channel or tab with the given name where `$command` will be executed**
- * **`$server` - specifies that the command will be executed in a channel or tab that is associated with `$server`**
-
-The first argument can either be a string or an array reference of strings.
-Either or both of `$channel` and `$server` can be undef.
-
-If called as `Xchat::command( $command )`, it will always return true.
-If called with either the channel or the channel and the server
-specified then it will return true if a context is found and false
-otherwise. The command will not be executed if the context is not found.
-The meaning of setting `$channel` or `$server` to undef is the same as find\_context.
-
-
-### `Xchat::commandf( $format, LIST )`
-
- * **`$format` - a format string, see "perldoc -f [sprintf](http://perldoc.perl.org/functions/sprintf.html)" for further details**
- * **`LIST` - list of values for the format fields**
-
-
-### `Xchat::find_context( [$channel, [$server]] )`
-
- * **`$channel` - name of a channel**
- * **`$server` - name of a server**
-
-Either or both of `$channel` and `$server` can be undef. Calling
-`Xchat::find_context()` is the same as calling `Xchat::find_context( undef, undef)` and
-`Xchat::find_context( $channel )` is the same as `Xchat::find_context( $channel, undef )`.
-
-If `$server` is undef, find any channel named `$channel`. If `$channel` is undef, find the front most window
-or tab named `$server`.If both `$channel` and `$server` are undef, find the currently focused tab or window.
-
-Return the context found for one of the above situations or undef if such
-a context cannot be found.
-
-
-### `Xchat::get_context()`
-
-Returns the current context.
-
-
-### `Xchat::set_context( $context | $channel,[$server] )`
-
- * **`$context` - context value as returned from `get_context`, `find_context` or one
-               of the fields in the list of hashrefs returned by `list_get`**
- * **`$channel` - name of a channel you want to switch context to**
- * **`$server` - name of a server you want to switch context to**
-
-See `find_context` for more details on `$channel` and `$server`.
-
-Returns true on success, false on failure.
-
-
-### `Xchat::get_info( $id )`
-
- * **`$id` - one of the following case sensitive values**
-
-<table border="1">   <tr style="background-color: #dddddd">
-      <td>ID</td>
-      <td>Return value</td>
-      <td>Associated Command(s)</td>
-   </tr>   <tr>
-      <td>away</td>
-      <td>away reason or undef if you are not away</td>
-      <td>AWAY, BACK</td>
-   </tr>   <tr>
-      <td>channel</td>
-      <td>current channel name</td>
-      <td>SETTAB</td>
-   </tr>   <tr>
-      <td>charset</td>
-      <td>character-set used in the current context</td>
-      <td>CHARSET</td>
-   </tr>
-<tr>
-   <td>configdir</td> <td>HexChat config directory encoded in UTF-8. Examples:<br />
-                     /home/user/.config/hexchat<br />
-                     C:\Users\user\Appdata\Roaming\HexChat
-                     </td>
-   <td></td>
-</tr>
-<tr>
-      <td>event_text &lt;Event Name&gt;</td> <td>text event format string for &lt;Event name&gt;<br />
-      Example:
-   <div class="example synNormal"><div class='line_number'>
-<div>1</div>
-</div>
-<div class='content'><pre><span class="synStatement">my</span> <span class="synIdentifier">$channel_msg_format</span> = Xchat::get_info( <span class="synStatement">&quot;</span><span class="synConstant">event_text Channel Message</span><span class="synStatement">&quot;</span> );
-</pre></div>
-</div>
-   </td>
-   <td></td>
-</tr>
-<tr>
-   <td>host</td>
-   <td>real hostname of the current server</td>
-   <td></td>
-</tr><tr>
-   <td>id</td>
-   <td>connection id</td>
-   <td></td>
-</tr><tr>
-   <td>inputbox</td>
-   <td>contents of the inputbox</td>
-   <td>SETTEXT</td>
-</tr><tr>
-   <td>libdirfs</td>
-   <td>the system wide directory where xchat will look for plugins.
-   this string is in the same encoding as the local file system</td>
-   <td></td>
-</tr><tr>
-   <td>modes</td>
-   <td>the current channels modes or undef if not known</td>
-   <td>MODE</td>
-</tr><tr>
-   <td>network</td>
-   <td>current network name or undef, this value is taken from the Network List</td>
-   <td></td>
-</tr><tr>
-   <td>nick</td>
-   <td>current nick</td>
-   <td>NICK</td>
-</tr><tr>
-   <td>nickserv</td>
-   <td>nickserv password for this network or undef, this value is taken from the Network List</td>
-   <td></td>
-</tr><tr>
-   <td>server</td>   <td>current server name <br />
-                     (what the server claims to be) undef if not connected
-                     </td>
-   <td></td>
-</tr><tr>
-   <td>state\_cursor</td>
-   <td>current inputbox cursor position in characters</td>
-   <td>SETCURSOR</td>
-</tr><tr>
-   <td>topic</td>
-   <td>current channel topic</td>
-   <td>TOPIC</td>
-</tr><tr>
-   <td>version</td>
-   <td>xchat version number</td>
-   <td></td>
-</tr><tr>
-   <td>win_status</td>
-   <td>status of the xchat window, possible values are "active", "hidden"
-   and "normal"</td>
-   <td>GUI</td>
-</tr><tr>
-  <td>win\_ptr</td> <td>native window pointer, GtkWindow * on Unix, HWND on Win32.<br />
-  On Unix if you have the Glib module installed you can use my $window = Glib::Object->new\_from\_pointer( Xchat::get_info( "win\_ptr" ) ); to get a Gtk2::Window object.<br />
-  Additionally when you have detached tabs, each of the windows will return a different win\_ptr for the different Gtk2::Window objects.<br />
-  See <a href="http://xchat.cvs.sourceforge.net/viewvc/xchat/xchat2/plugins/perl/char_count.pl?view=markup">char\_count.pl</a> for a longer example of a script that uses this to show how many characters you currently have in your input box.
-  </td>
-  <td></td>
-</tr>
-<tr>
-  <td>gtkwin_ptr</td>
-  <td>similar to win_ptr except it will always be a GtkWindow *</td>
-  <td></td>
-</tr>
-</table>
-
-This function is used to retrieve certain information about the current
-context. If there is an associated command then that command can be used
-to change the value for a particular ID.
-
-
-### `Xchat::get_prefs( $name )`
-
- * **`$name` - name of a HexChat setting (available through the /set command)**
-
-This function provides a way to retrieve HexChat's setting information.
-
-Returns `undef` if there is no setting called called `$name`.
-
-
-### `Xchat::emit_print( $event, LIST )`
-
- * **`$event` - name from the Event column in _Settings_ `->` _Text Events_**
- * **`LIST` - this depends on the Description column on the bottom of _Settings_ `->` _Text Events_**
-
-This functions is used to generate one of the events listed under _Settings_ `->` _Text Events_.
-
-Note: when using this function you **must** return `Xchat::EAT_ALL` otherwise you will end up with duplicate events.
-One is the original and the second is the one you emit.
-
-Returns true on success, false on failure.
-
-
-### `Xchat::send_modes( $target | \@targets, $sign, $mode, [ $modes_per_line ] )`
-
- * **`$target` - a single nick to set the mode on**
- * **`\@targets` - an array reference of the nicks to set the mode on**
- * **`$sign` - the mode sign, either '+' or '-'**
- * **`$mode` - the mode character such as 'o' and 'v', this can only be one character long**
- * **`$modes_per_line` - an optional argument maximum number of modes to send per at once, pass 0 use the current server's maximum (default)**
-
-Send multiple mode changes for the current channel. It may send multiple MODE lines if the request doesn't fit on one.
-
-Example:
-
-<pre>
-use strict;
-use warning;
-use Xchat qw(:all);
-
-hook_command( "MODES", sub {
-   my (undef, $who, $sign, $mode) = @{$_[0]};
-   my @targets = split /,/, $who;
-   if( @targets > 1 ) {
-      send_modes( \@targets, $sign, $mode, 1 );
-   } else {
-      send_modes( $who, $sign, $mode );
-   }
-   return EAT_XCHAT;
-});
-</pre>
-
-### `Xchat::nickcmp( $nick1, $nick2 )`
-
- * **`$nick1, $nick2` - the two nicks or channel names that are to be compared**
-
-The comparsion is based on the current server. Either an [RFC1459](http://www.ietf.org/rfc/rfc1459.txt)
-compliant string compare or plain ascii will be using depending on the server. The
-comparison is case insensitive.
-
-Returns a number less than, equal to or greater than zero if `$nick1` is
-found respectively, to be less than, to match, or be greater than `$nick2`.
-
-
-### `Xchat::get_list( $name )`
-
- * **`$name` -  name of the list, one of the following: "channels", "dcc", "ignore", "notify", "users"**
-
-This function will return a list of hash references.  The hash references
-will have different keys depend on the list.  An empty list is returned
-if there is no such list.
-
-"channels" - list of channels, querys and their server
-
-<table border="1">   <tr style="background-color: #dddddd">
-      <td>Key</td>   <td>Description</td>
-   </tr>   <tr>
-      <td>channel</td>  <td>tab name</td>
-   </tr>   <tr>
-      <td>chantypes</td>
-      <td>channel types supported by the server, typically "#&amp;"</td>
-   </tr>   <tr>
-      <td>context</td>  <td>can be used with set_context</td>
-   </tr>   <tr>
-      <td>flags</td> <td>Server Bits:<br />
-                     0 - Connected<br />
-                     1 - Connecting<br />
-                     2 - Away<br />
-                     3 - EndOfMotd(Login complete)<br />
-                     4 - Has WHOX<br />
-                     5 - Has IDMSG (FreeNode)<br />
-                    <br />
-                    <p>The following correspond to the /chanopt command</p>
-                    6  - Hide Join/Part Message (text_hidejoinpart)<br />
-                    7  - unused (was for color paste)<br />
-                    8  - Beep on message (alert_beep)<br />
-                    9  - Blink Tray (alert_tray)<br />
-                    10 - Blink Task Bar (alert_taskbar)<br />
-<p>Example of checking if the current context has Hide Join/Part messages set:</p>
-<div class="example synNormal"><div class='line_number'>
-<div>1</div>
-<div>2</div>
-<div>3</div>
-</div>
-<div class='content'><pre><span class="synStatement">if</span>( Xchat::context_info-&gt;{flags} &amp; (<span class="synConstant">1</span> &lt;&lt; <span class="synConstant">6</span>) ) {
-  Xchat::<span class="synStatement">print</span>( <span class="synStatement">&quot;</span><span class="synConstant">Hide Join/Part messages is enabled</span><span class="synStatement">&quot;</span> );
-}
-</pre></div>
-</div>                     </td>
-   </tr>   <tr>
-      <td>id</td> <td>Unique server ID </td>
-   </tr>
-   
-   <tr>
-      <td>lag</td>
-      <td>lag in milliseconds</td>
-   </tr>   <tr>
-      <td>maxmodes</td> <td>Maximum modes per line</td>
-   </tr>   <tr>
-      <td>network</td>  <td>network name to which this channel belongs</td>
-   </tr>   <tr>
-      <td>nickprefixes</td>   <td>Nickname prefixes e.g. "+@"</td>
-   </tr>
-   
-   <tr>
-      <td>nickmodes</td>   <td>Nickname mode chars e.g. "vo"</td>
-   </tr>   <tr>
-      <td>queue</td>
-      <td>number of bytes in the send queue</td>
-   </tr>
-   
-   <tr>
-      <td>server</td>   <td>server name to which this channel belongs</td>
-   </tr>   <tr>
-      <td>type</td>  <td>the type of this context<br />
-                     1 - server<br />
-                     2 - channel<br />
-                     3 - dialog<br />
-                     4 - notices<br />
-                     5 - server notices<br />
-                     </td>
-   </tr>   <tr>
-      <td>users</td> <td>Number of users in this channel</td>
-   </tr>
-</table>
-
-"dcc" - list of DCC file transfers
-
-<table border="1">   <tr style="background-color: #dddddd">
-      <td>Key</td>   <td>Value</td>
-   </tr>   <tr>
-      <td>address32</td>   <td>address of the remote user(ipv4 address)</td>
-   </tr>   <tr>
-      <td>cps</td>   <td>bytes per second(speed)</td>
-   </tr>   <tr>
-      <td>destfile</td> <td>destination full pathname</td>
-   </tr>   <tr>
-      <td>file</td>  <td>file name</td>
-   </tr>   <tr>
-      <td>nick</td>
-      <td>nick of the person this DCC connection is connected to</td>
-   </tr>   <tr>
-      <td>port</td>  <td>TCP port number</td>
-   </tr>   <tr>
-      <td>pos</td>   <td>bytes sent/received</td>
-   </tr>   <tr>
-      <td>poshigh</td>   <td>bytes sent/received, high order 32 bits</td>
-   </tr>   <tr>
-      <td>resume</td>   <td>point at which this file was resumed<br />
-                        (zero if it was not resumed)
-                        </td>
-   </tr>   <tr>
-      <td>resumehigh</td>   <td>point at which this file was resumed, high order 32 bits<br />
-                        </td>
-   </tr>   <tr>
-      <td>size</td>  <td>file size in bytes low order 32 bits</td>
-   </tr>   <tr>
-      <td>sizehigh</td>	<td>file size in bytes, high order 32 bits (when the files is > 4GB)</td>
-	</tr>
-	<tr>
-      <td>status</td>   <td>DCC Status:<br />
-                        0 - queued<br />
-                        1 - active<br />
-                        2 - failed<br />
-                        3 - done<br />
-                        4 - connecting<br />
-                        5 - aborted
-                        </td>
-   </tr>   <tr>
-      <td>type</td>  <td>DCC Type:<br />
-                     0 - send<br />
-                     1 - receive<br />
-                     2 - chatrecv<br />
-                     3 - chatsend
-                     </td>
-   </tr></table>
-
-"ignore" - current ignore list
-
-<table border="1">   <tr style="background-color: #dddddd">
-      <td>Key</td> <td>Value</td>
-   </tr>   <tr>
-      <td>mask</td>  <td>ignore mask. e.g: *!*@*.aol.com</td>
-   </tr>   <tr>
-      <td>flags</td> <td>Bit field of flags.<br />
-                     0 - private<br />
-                     1 - notice<br />
-                     2 - channel<br />
-                     3 - ctcp<br />
-                     4 - invite<br />
-                     5 - unignore<br />
-                     6 - nosave<br />
-                     7 - dcc<br />
-                     </td>
-   </tr></table>
-
-"notify" - list of people on notify
-
-<table border="1">
-   <tr style="background-color: #dddddd">
-      <td>Key</td>   <td>Value</td>
-   </tr>   <tr>
-      <td>networks</td>
-      <td>comma separated list of networks where you will be notfified about this user's online/offline status or undef if you will be notificed on every network you are connected to</td>
-   </tr>   <tr>
-      <td>nick</td>  <td>nickname</td>
-   </tr>   <tr>
-      <td>flags</td> <td>0 = is online</td>
-   </tr>   <tr>
-      <td>on</td> <td>time when user came online</td>
-   </tr>   <tr>
-      <td>off</td>   <td>time when user went offline</td>
-   </tr>   <tr>
-      <td>seen</td>  <td>time when user was last verified still online</td>
-   </tr>
-</table>
-
-The values indexed by on, off and seen can be passed to localtime
-and gmtime, see perldoc -f [localtime](http://perldoc.perl.org/functions/localtime.html) and
-perldoc -f [gmtime](http://perldoc.perl.org/functions/gmtime.html) for more details.
-
-"users" - list of users in the current channel
-
-<table border="1">
-<tr style="background-color: #dddddd">
-      <td>Key</td>   <td>Value</td>
-   </tr>   <tr>
-      <td>away</td>  <td>away status(boolean)</td>
-   </tr>   <tr>
-      <td>lasttalk</td>
-      <td>last time a user was seen talking, this is the an epoch time(number of seconds since a certain date, that date depends on the OS)</td>
-   </tr>   <tr>
-      <td>nick</td>  <td>nick name</td>
-   </tr>   <tr>
-      <td>host</td>
-      <td>host name in the form: user@host or undef if not known</td>
-   </tr>   <tr>
-      <td>prefix</td>   <td>prefix character, .e.g: @ or +</td>
-   </tr>   <tr>
-      <td>realname</td>
-       <td>Real name or undef</td>
-   </tr>   <tr>
-      <td>selected</td>
-      <td>selected status in the user list, only works when retrieving the user list of the focused tab. You can use the /USELECT command to select the nicks</td>
-   </tr>
-</table>
-
-"networks" - 	list of networks and the associated settings from network list
-
-<table border="1">   <tr style="background-color: #dddddd">
-      <td>Key</td>   <td>Value</td>
-   </tr>
-	
-	<tr>
-	<td>autojoins</td> <td>An object with the following methods:<br />
-		<table>
-			<tr>
-				<td>Method</td>
-				<td>Description</td>
-			</tr>			<tr>
-				<td>channels()</td>
-				<td>returns a list of this networks' autojoin channels in list context, a count of the number autojoin channels in scalar context</td>
-			</tr>			<tr>
-				<td>keys()</td>
-				<td>returns a list of the keys to go with the channels, the order is the same as the channels, if a channel doesn't  have a key, '' will be returned in it's place</td>
-			</tr>			<tr>
-				<td>pairs()</td>
-				<td>a combination of channels() and keys(), returns a list of (channels, keys) pairs. This can be assigned to a hash for a mapping from channel to key.</td>
-			</tr>			<tr>
-				<td>as_hash()</td>
-				<td>return the pairs as a hash reference</td>
-			</tr>			<tr>
-				<td>as_string()</td>
-				<td>the original string that was used to construct this autojoin object, this can be used with the JOIN command to join all the channels in the autojoin list</td>
-			</tr>			<tr>
-				<td>as_array()</td>
-				<td>return an array reference of hash references consisting of the keys "channel" and "key"</td>
-			</tr>			<tr>
-				<td>as_bool()</td>
-				<td>returns true if the network has autojoins and false otherwise</td>
-			</tr>
-		</table>
-	</td>
-	</tr>
-   
-	<tr>
-	<td>connect_commands</td> <td>An array reference containing the connect commands for a network. An empty array if there aren't any</td>
-	</tr>	<tr>
-	<td>encoding</td> <td>the encoding for the network</td>
-	</tr>	<tr>
-		<td>flags</td>
-		<td>
-			a hash reference corresponding to the checkboxes in the network edit window
-			<table>
-				<tr>
-					<td>allow_invalid</td>
-					<td>true if "Accept invalid SSL certificate" is checked</td>
-				</tr>				<tr>
-					<td>autoconnect</td>
-					<td>true if "Auto connect to this network at startup" is checked</td>
-				</tr>				<tr>
-					<td>cycle</td>
-					<td>true if "Connect to selected server only" is <strong>NOT</strong> checked</td>
-				</tr>				<tr>
-					<td>use_global</td>
-					<td>true if "Use global user information" is checked</td>
-				</tr>				<tr>
-					<td>use_proxy</td>
-					<td>true if "Bypass proxy server" is <strong>NOT</strong> checked</td>
-				</tr>				<tr>
-					<td>use_ssl</td>
-					<td>true if "Use SSL for all the servers on this network" is checked</td>
-				</tr>
-			</table>
-		</td>
-	</tr>	<tr>
-		<td>irc_nick1</td>
-		<td>Corresponds with the "Nick name" field in the network edit window</td>
-	</tr>	<tr>
-		<td>irc_nick2</td>
-		<td>Corresponds with the "Second choice" field in the network edit window</td>
-	</tr>	<tr>
-		<td>irc_real_name</td>
-		<td>Corresponds with the "Real name" field in the network edit window</td>
-	</tr>	<tr>
-		<td>irc_user_name</td>
-		<td>Corresponds with the "User name" field in the network edit window</td>
-	</tr>	<tr>
-		<td>network</td>
-		<td>Name of the network</td>
-	</tr>	<tr>
-		<td>nickserv_password</td>
-		<td>Corresponds with the "Nickserv password" field in the network edit window</td>
-	</tr>	<tr>
-		<td>selected</td>
-		<td>Index into the list of servers in the "servers" key, this is used if the "cycle" flag is false</td>
-	</tr>	<tr>
-		<td>server_password</td>
-		<td>Corresponds with the "Server password" field in the network edit window</td>
-	</tr>	<tr>
-		<td>servers</td>
-		<td>An array reference of hash references with a "host" and "port" key. If a port is not specified then 6667 will be used.</td>
-	</tr>
-</table>
-
-
-### `Xchat::user_info( [$nick] )`
-
- * **`$nick` - the nick to look for, if this is not given your own nick will be used as default**
-
-This function is mainly intended to be used as a shortcut for when you need
-to retrieve some information about only one user in a channel. Otherwise it
-is better to use `get_list`. If `$nick` is found a hash reference containing
-the same keys as those in the "users" list of `get_list` is returned otherwise
-undef is returned. Since it relies on `get_list` this function can only be used in a
-channel context.
-
-
-### `Xchat::context_info( [$context] )`
-
- * **`$context` - context returned from `get_context`, `find_context` and `get_list`, this is the context that you want infomation about. If this is omitted, it will default to current context.**
-
-This function will return the information normally retrieved with `get_info`, except this
-is for the context that is passed in. The information will be returned in the form of a
-hash. The keys of the hash are the `$id` you would normally supply to `get_info` as well
-as all the keys that are valid for the items in the "channels" list from `get_list`. Use
-of this function is more efficient than calling get_list( "channels" ) and
-searching through the result.
-
-Example:
-
-<pre>
-use strict;
-use warnings;
-use Xchat qw(:all); # imports all the functions documented on this page
-
-register( "User Count", "0.1",
-   "Print out the number of users on the current channel" );
-hook_command( "UCOUNT", \&display_count );
-sub display_count {
-   prnt "There are " . context_info()->{users} . " users in this channel.";
-   return EAT_XCHAT;
-}
-</pre>
-
-
-### `Xchat::strip_code( $string )`
-
- * **`$string` - string to remove codes from**
-
-This function will remove bold, color, beep, reset, reverse and underline codes from `$string`.
-It will also remove ANSI escape codes which might get used by certain terminal based clients.
-If it is called in void context `$string` will be modified otherwise a modified copy of `$string` is returned.
-
-
-## Examples
-
-### Asynchronous DNS resolution with hook\_fd
-
-<pre>
-use strict;
-use warnings;
-use Xchat qw(:all);
-use Net::DNS;
-   
-hook_command( "BGDNS", sub {
-   my $host = $_[0][1];
-   my $resolver = Net::DNS::Resolver->new;
-   my $sock = $resolver->bgsend( $host );
-   
-   hook_fd( $sock, sub {
-      my $ready_sock = $_[0];
-      my $packet = $resolver->bgread( $ready_sock );
-      
-      if( $packet->authority && (my @answers = $packet->answer ) ) {
-         
-         if( @answers ) {
-            prnt "$host:";
-            my $padding = " " x (length( $host ) + 2);
-            for my $answer ( @answers ) {
-               prnt $padding . $answer->rdatastr . ' ' . $answer->type;
-            }
-         }
-      } else {
-         prnt "Unable to resolve $host";
-      }
-      
-      return REMOVE;
-   },
-   {
-      flags => FD_READ,
-   });
-   
-   return EAT_XCHAT;
-});
-</pre>
-
-
-## Contact Information
-
-Contact Lian Wan Situ at &lt;atmcmnky [at] yahoo.com> for questions, comments and
-corrections about this page or the Perl plugin itself. You can also find me in #xchat
-on freenode under the nick Khisanth.
-
-<table border="0" width="100%" cellspacing="0" cellpadding="3">
-<tr><td class="block" style="background-color: #cccccc" valign="middle">
-<big><strong><span class="block">&nbsp;X-Chat 2 Perl Interface</span></strong></big>
-</td></tr>
-</table>
diff --git a/share/doc/plugins.md b/share/doc/plugins.md
deleted file mode 100644
index 060f2c65..00000000
--- a/share/doc/plugins.md
+++ /dev/null
@@ -1,1145 +0,0 @@
-# HexChat Plugin Interface
-
-## Introduction
-Plugins for HexChat are written in C. The interface aims to keep 100%
-binary compatability. This means that if you upgrade HexChat, you will
-not need to recompile your plugins, they'll continue to work. The
-interface doesn't depend on any structures and offsets, so compiler
-versions shouldn't have an impact either. The only real requirement of
-a HexChat plugin is that it define an _hexchat\_plugin\_init_ symbol. This
-is your entry point function, see the example below. You should make
-all your global variables and functions _static_, so that a symbol
-is not exported. There is no harm in exporting these symbols, but they
-are not necessary and only pollute the name-space. Plugins are compiled as shared objects
-(.so files), for example:
-
-Most UNIX systems:
-> gcc -Wl,--export-dynamic -Wall -O1 -shared -fPIC myplugin.c -o myplugin.so
-
-OS X:
-> gcc -no-cpp-precomp -g -O2 -Wall -bundle -flat_namespace -undefined suppress -o myplugin.so myplugin.c
-
-See the Windows section on how to compile a plugin using Visual Studio.
-
-All strings passed to and from plugins are encoded in UTF-8, regardless
-of locale.
-
-## Sample plugin
-
-This simple plugin auto-ops anyone who joins a channel you're in. It also
-adds a new command _/AUTOOPTOGGLE_, which can be used to turn the feature ON
-or OFF. Every HexChat plugin must define an _hexchat\_plugin\_init_ function, this
-is the normal entry point. _hexchat\_plugin\_deinit_ is optional.
-
-<pre>
-#include "hexchat-plugin.h"
-
-#define PNAME "AutoOp"
-#define PDESC "Auto Ops anyone that joins"
-#define PVERSION "0.1"
-
-static hexchat_plugin *ph;		/* plugin handle */
-static int enable = 1;
-
-static int
-join_cb (char *word[], void *userdata)
-{
-	if (enable)
-	{
-		/* Op ANYONE who joins */
-		hexchat_commandf (ph, "OP %s", word[1]);
-	}
-	/* word[1] is the nickname, as in the Settings->Text Events window in HexChat */
-
-	return HEXCHAT_EAT_NONE;		/* don't eat this event, HexChat needs to see it! */
-}
-
-static int
-autooptoggle_cb (char *word[], char *word_eol[], void *userdata)
-{
-	if (!enable)
-	{
-		enable = 1;
-		hexchat_print (ph, "AutoOping now enabled!\n");
-	}
-	else
-	{
-		enable = 0;
-		hexchat_print (ph, "AutoOping now disabled!\n");
-	}
-
-	return HEXCHAT_EAT_ALL;		/* eat this command so HexChat and other plugins can't process it */
-}
-
-void
-hexchat_plugin_get_info (char **name, char **desc, char **version, void **reserved)
-{
-	*name = PNAME;
-	*desc = PDESC;
-	*version = PVERSION;
-}
-
-int
-hexchat_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg)
-{
-	/* we need to save this for use with any hexchat_* functions */
-	ph = plugin_handle;
-
-	/* tell HexChat our info */
-	*plugin_name = PNAME;
-	*plugin_desc = PDESC;
-	*plugin_version = PVERSION;
-
-	hexchat_hook_command (ph, "AutoOpToggle", HEXCHAT_PRI_NORM, autooptoggle_cb, "Usage: AUTOOPTOGGLE, Turns OFF/ON Auto Oping", 0);
-	hexchat_hook_print (ph, "Join", HEXCHAT_PRI_NORM, join_cb, 0);
-
-	hexchat_print (ph, "AutoOpPlugin loaded successfully!\n");
-
-	return 1;		/* return 1 for success */
-}
-</pre>
-
-
-## What's _word_ and _word\_eol_?
-
-They are arrays of strings. They contain the parameters the user entered
-for the particular command. For example, if you executed:
-
-<pre>
-/command NICK hi there
-
-word[1] is command
-word[2] is NICK
-word[3] is hi
-word[4] is there
-
-word_eol[1] is command NICK hi there
-word_eol[2] is NICK hi there
-word_eol[3] is hi there
-word_eol[4] is there
-</pre>
-
-These arrays are simply provided for your convenience. You are **not** allowed
-to alter them. Both arrays are limited to 32 elements (index 31). _word[0]_ and
-_word\_eol[0]_ are reserved and should not be read.
-
-## Lists and Fields
-Lists of information (DCCs, Channels, User list, etc.) can be retreived
-with _hexchat\_list\_get_. All fields are **read only** and must be copied if
-needed for a long time after calling _hexchat\_list\_str_. The types of lists and fields available are:
-
-<blockquote>
-
-"channels" - list of channels, querys and their servers.
-<blockquote><table border=1>
-<tr bgcolor="#dddddd"><td>Name</td><td>Description</td><td>Type</td></tr>
-<tr><td>channel</td><td>Channel or query name</td><td>string</td></tr>
-<tr><td>chantypes</td><td>Channel types e.g. "#!&amp;"<br><small>(Added in version 2.0.9. Older versions will return NULL)</small></td><td>string</td>
-<tr><td>context</td><td>(hexchat_context *) pointer. Can be used with hexchat_set_context</td><td>string</td></tr>
-<tr><td>flags</td><td>Server/Channel Bits:<br>
-<table>
-<tr><td>Bit #</td><td>Value</td><td>Description</td></tr>
-<tr><td>0</td><td>1</td><td>Connected</td></tr>
-<tr><td>1</td><td>2</td><td>Connecting in Progress</td></tr>
-<tr><td>2</td><td>4</td><td>You are away</td></tr>
-<tr><td>3</td><td>8</td><td>End of MOTD (Login complete)</td></tr>
-<tr><td>4</td><td>16</td><td>Has WHOX (ircu)</td></tr>
-<tr><td>5</td><td>32</td><td>Has IDMSG (FreeNode)</td></tr>
-<tr><td>6</td><td>64</td><td>Hide Join/Part Messages</td></tr>
-<tr><td>7</td><td>128</td><td>unused (was Color Paste in old versions)</td></tr>
-<tr><td>8</td><td>256</td><td>Beep on Message</td></tr>
-<tr><td>9</td><td>512</td><td>Blink Tray</td></tr>
-<tr><td>10</td><td>1024</td><td>Blink Task Bar</td></tr>
-</table>
-<br><small>(Bits 0-5 added in 2.0.9. Bits 6-8 added in 2.6.6. Bit 9 added in 2.8.0. Bit 10 in 2.8.6)</small></td><td>int</td></tr>
-<tr><td>id</td><td>Unique server ID<br><small>(Added in version 2.0.8. Older versions will return -1)</small></td><td>int</td></tr>
-<tr><td>lag</td><td>Lag in milliseconds<br><small>(Added in version 2.6.8. Older versions will return -1)</small></td><td>int</td>
-<tr><td>maxmodes</td><td>Maximum modes per line<br><small>(Added in version 2.0.9. Older versions will return -1)</small></td><td>int</td>
-<tr><td>network</td><td>Network name to which this channel belongs<br><small>(Added in version 2.0.2. Older versions will return NULL)</small></td><td>string</td></tr>
-<tr><td>nickprefixes</td><td>Nickname prefixes e.g. "@+"<br><small>(Added in version 2.0.9. Older versions will return NULL)</small></td><td>string</td>
-<tr><td>nickmodes</td><td>Nickname mode chars e.g. "ov"<br><small>(Added in version 2.0.9. Older versions will return NULL)</small></td><td>string</td>
-<tr><td>queue</td><td>Number of bytes in the send-queue<br><small>(Added in version 2.6.8. Older versions will return -1)</small></td><td>int</td>
-<tr><td>server</td><td>Server name to which this channel belongs</td><td>string</td></tr>
-<tr><td>type</td><td>Type of context this is: 1-Server 2-Channel 3-Dialog<br><small>(Added in version 2.0.2. Older versions will return -1)</small></td><td>int</td></tr>
-<tr><td>users</td><td>Number of users in this channel<br><small>(Added in version 2.0.8. Older versions will return -1)</small></td><td>int</td></tr>
-</table>
-</blockquote>
-
-"dcc" - list of DCC file transfers. Fields:
-<blockquote> <table border=1>
-<tr bgcolor="#dddddd"><td>Name</td><td>Description</td><td>Type</td></tr>
-<tr><td>address32</td><td>Address of the remote user (ipv4 address)</td><td>int</td></tr>
-<tr><td>cps</td><td>Bytes per second (speed)</td><td>int</td></tr>
-<tr><td>destfile</td><td>Destination full pathname</td><td>string</td></tr>
-<tr><td>file</td><td>File name</td><td>string</td></tr>
-<tr><td>nick</td><td>Nickname of person who the file is from/to</td><td>string</td></tr>
-<tr><td>port</td><td>TCP port number</td><td>int</td></tr>
-<tr><td>pos</td><td>Bytes sent/received</td><td>int</td></tr>
-<tr><td>poshigh</td><td>Bytes sent/received, high order 32 bits</td><td>int</td></tr>
-<tr><td>resume</td><td>Point at which this file was resumed (or zero if it was not resumed)</td><td>int</td></tr>
-<tr><td>resumehigh</td><td>Point at which this file was resumed, high order 32 bits</td><td>int</td></tr>
-<tr><td>size</td><td>File size in bytes, low order 32 bits (cast it to unsigned)</td><td>int</td></tr>
-<tr><td>sizehigh</td><td>File size in bytes, high order 32 bits</td><td>int</td></tr>
-<tr><td>status</td><td>DCC Status: 0-Queued 1-Active 2-Failed 3-Done 4-Connecting 5-Aborted</td><td>int</td></tr>
-<tr><td>type</td><td>DCC Type: 0-Send 1-Receive 2-ChatRecv 3-ChatSend</td><td>int</td></tr>
-</table>
-</blockquote>
-
-"ignore" - current ignore list.
-<blockquote> <table border=1>
-<tr bgcolor="#dddddd"><td>Name</td><td>Description</td><td>Type</td></tr>
-<tr><td>mask</td><td>Ignore mask. .e.g: *!*@*.aol.com</td><td>string</td></tr>
-<tr><td>flags</td><td>Bit field of flags. 0=Private 1=Notice 2=Channel 3=Ctcp<br>
-4=Invite 5=UnIgnore 6=NoSave 7=DCC</td><td>int</td></tr>
-</table>
-</blockquote>
-
-"notify" - list of people on notify.
-<blockquote> <table border=1>
-<tr bgcolor="#dddddd"><td>Name</td><td>Description</td><td>Type</td></tr>
-<tr><td>networks</td><td>Networks to which this nick applies. Comma separated. May be NULL.
-<br><small>(Added in version 2.6.8)</small></td><td>string</td></tr>
-<tr><td>nick</td><td>Nickname</td><td>string</td></tr>
-<tr><td>flags</td><td>Bit field of flags. 0=Is online.</td><td>int</td></tr>
-<tr><td>on</td><td>Time when user came online.</td><td>time_t</td></tr>
-<tr><td>off</td><td>Time when user went offline.</td><td>time_t</td></tr>
-<tr><td>seen</td><td>Time when user the user was last verified still online.</td><td>time_t</td></tr>
-</table>
-<small>Fields are only valid for the context when hexchat_list_get() was called
-(i.e. you get information about the user ON THAT ONE SERVER ONLY). You
-may cycle through the "channels" list to find notify information for every
-server.</small>
-</blockquote>
-
-"users" - list of users in the current channel.
-<blockquote> <table border=1>
-<tr bgcolor="#dddddd"><td>Name</td><td>Description</td><td>Type</td></tr>
-<tr><td>away</td><td>Away status (boolean)<br><small>(Added in version 2.0.6. Older versions will return -1)</small></td><td>int</td></tr>
-<tr><td>lasttalk</td><td>Last time the user was seen talking<br><small>(Added in version 2.4.2. Older versions will return -1)</small></td><td>time_t</td></tr>
-<tr><td>nick</td><td>Nick name</td><td>string</td></tr>
-<tr><td>host</td><td>Host name in the form: user@host (or NULL if not known).</td><td>string</td></tr>
-<tr><td>prefix</td><td>Prefix character, .e.g: @ or +. Points to a single char.</td><td>string</td></tr>
-<tr><td>realname</td><td>Real name or NULL<br><small>(Added in version 2.8.6)</small></td><td>string</td></tr>
-<tr><td>selected</td><td>Selected status in the user list, only works for retrieving the user list of the focused tab<br><small>(Added in version 2.6.1. Older versions will return -1)</small></td><td>int</td></tr>
-</table>
-</blockquote>
-
-</blockquote>
-
-Example:
-
-<pre>
-	list = hexchat_list_get (ph, "dcc");
-
-	if (list)
-	{
-		hexchat_print (ph, "--- DCC LIST ------------------\nFile  To/From   KB/s   Position\n");
-
-		while (hexchat_list_next (ph, list))
-		{
-			hexchat_printf (ph, "%6s %10s %.2f  %d\n",
-				hexchat_list_str (ph, list, "file"),
-				hexchat_list_str (ph, list, "nick"),
-				hexchat_list_int (ph, list, "cps") / 1024,
-				hexchat_list_int (ph, list, "pos"));
-		}
-
-		hexchat_list_free (ph, list);
-	}
-</pre>
-
-## Plugins on Windows (Win32)
-
-All you need is Visual Studio setup as explained in [Building](http://www.hexchat.org/developers/building). Your best bet is to use an existing plugin (such as the currently unused SASL plugin) in the HexChat solution as a starting point. You should have the following files:
-
-
- * [hexchat-plugin.h](https://github.com/hexchat/hexchat/blob/master/src/common/hexchat-plugin.h) - main plugin header
- * plugin.c - Your plugin, you need to write this one :)
- * plugin.def - A simple text file containing the following:
-
-<pre>
-	EXPORTS
-	hexchat_plugin_init
-	hexchat_plugin_deinit
-	hexchat_plugin_get_info
-</pre>
-
-Leave out _hexchat\_plugin\_deinit_ if you don't intend to define that
-function. Then compile your plugin in Visual Studio as usual.
-
-**Caveat:** plugins compiled on Win32 **must** have a
-global variable called _ph_, which is the _plugin\_handle_, much like
-in the sample plugin above.
-
-## Controlling the GUI
-
-A simple way to perform basic GUI functions is to use the _/GUI_ command.
-You can execute this command through the input box, or by calling _hexchat\_command (ph, "GUI .....");_.
-
- * **GUI ATTACH:** Same function as "Attach Window" in the HexChat menu.
- * **GUI DETACH:** Same function as "Detach Tab" in the HexChat menu.
- * **GUI APPLY:** Similar to clicking OK in the settings window. Execute this after /SET to activate GUI changes.
- * **GUI COLOR _n_:** Change the tab color of the current context, where n is a number from 0 to 3.
- * **GUI FOCUS:** Focus the current window or tab.
- * **GUI FLASH:** Flash the taskbar button. It will flash only if the window isn't focused and will stop when it is focused by the user.
- * **GUI HIDE:** Hide the main HexChat window completely.
- * **GUI ICONIFY:** Iconify (minimize to taskbar) the current HexChat window.
- * **GUI MSGBOX _text_:** Displays a asynchronous message box with your text.
- * **GUI SHOW:** Show the main HexChat window (if currently hidden).
-
-You can add your own items to the menu bar. The menu command has this syntax:
-<pre>
-	MENU [-eX] [-i&lt;ICONFILE>] [-k&lt;mod>,&lt;key>] [-m] [-pX] [-rX,group] [-tX] {ADD|DEL} &lt;path> [command] [unselect command]
-</pre>
-
-For example:
-
-<pre>
-	MENU -p5 ADD FServe
-	MENU ADD "FServe/Show File List" "fs list"
-	MENU ADD FServe/-
-	MENU -k4,101 -t1 ADD "FServe/Enabled" "fs on" "fs off"
-	MENU -e0 ADD "FServe/Do Something" "fs action"
-</pre>
-
-In the example above, it would be recommended to execute _MENU DEL FServe_ inside your _hexchat\_plugin\_deinit_ function. The special item with name "-" will add a separator line.
-
-Parameters and flags:
-
- * **-eX:** Set enable flag to X. -e0 for disable, -e1 for enable. This lets you create a disabled (shaded) item.
- * **-iFILE:** Use an icon filename FILE. Not supported for toggles or radio items.
- * **-k&lt;mod>,&lt;key>:** Specify a keyboard shortcut. "mod" is the modifier which is a bitwise OR of: 1-SHIFT 4- CTRL 8-ALT in decimal. "key" is the key value in decimal, e.g. -k5,101 would specify SHIFT-CTRL-E.
- * **-m:** Specify that this label should be treated as <a href="http://developer.gnome.org/doc/API/2.0/pango/PangoMarkupFormat.html">Pango Markup</a> language. Since forward slash ("/") is already used in menu paths, you should replace closing tags with an ASCII 003 instead e.g.: hexchat_command (ph, "MENU -m ADD \"&lt;b>Bold Menu&lt;\003b>\"");
- * **-pX:** Specify a menu item's position number. e.g. -p5 will cause the item to be inserted in the 5th place. If the position is a negative number, it will be used as an offset from the bottom/right-most item.
- * **-rX,group:** Specify a radio menu item, with initial state X and a group name. The group name should be the exact label of another menu item (without the path) that this item will be grouped with. For radio items, only a select command will be executed (no unselect command).
- * **-tX:** Specify a toggle menu item with an initial state. -t0 for an "unticked" item and -t1 for a "ticked" item.
-
-If you want to change an item's toggle state or enabled flag,
-just _ADD_ an item with exactly the same name and command and specify the _-tX -eX_ parameters you need.
-
-It's also possible to add items to HexChat's existing menus, for example:
-
-<pre>
-	MENU ADD "Settings/Sub Menu"
-	MENU -t0 ADD "Settings/Sub Menu/My Setting" myseton mysetoff
-</pre>
-
-However, internal names and layouts of HexChat's menu may change in the future, so use at own risk.
-
-Here is an example of Radio items:
-
-<pre>
-	MENU ADD "Language"
-	MENU -r1,"English" ADD "Language/English" cmd1
-	MENU -r0,"English" ADD "Language/Spanish" cmd2
-	MENU -r0,"English" ADD "Language/German" cmd3
-</pre>
-
-You can also change menus other than the main one (i.e popup menus). Currently they are:
-
-<blockquote>
-<table border=1 cellpadding=4 rules=all>
-<tr bgcolor="#999999"><td>Root Name</td><td>Menu</td></tr>
-<tr><td>$TAB</td><td>Tab menu (right click a channel/query tab or treeview row)</td></tr>
-<tr><td>$TRAY</td><td>System Tray menu</td></tr>
-<tr><td>$URL</td><td>URL link menu</td></tr>
-<tr><td>$NICK</td><td>Userlist nick-name popup menu</td></tr>
-<tr><td>$CHAN</td><td>Menu when clicking a channel in the text area (since 2.8.4)</td></tr>
-</table>
-</blockquote>
-
-Example:
-
-<pre>
-	MENU -p0 ADD "$TAB/Cycle Channel" cycle
-</pre>
-
-You can manipulate HexChat's system tray icon using the _/TRAY_ command:
-
-<pre>
-	Usage:
-	TRAY -f &lt;timeout> &lt;file1> [&lt;file2>] Flash tray between two icons. Leave off file2 to use default HexChat icon.
-	TRAY -f &lt;filename>                  Set tray to a fixed icon.
-	TRAY -i &lt;number>                    Flash tray with an internal icon.
-	TRAY -t &lt;text>                      Set the tray tooltip.
-	TRAY -b &lt;title> &lt;text>              Set the tray balloon.
-</pre>
-
-Icon numbers:
-
- * 2: Message
- * 5: Highlight
- * 8: Private
- * 11:File
-
-For tray balloons on Linux, you'll need libnotify.
-
-Filenames can be _ICO_ or _PNG_ format. _PNG_ format is supported on Linux/BSD and Windows XP. Set a timeout of -1 to use HexChat's default.
-
-## Handling UTF-8/Unicode strings
-
-The HexChat plugin API specifies that strings passed to and from HexChat must be encoded in UTF-8.
-
-What does this mean for the plugin programmer? You just have to be a little careful when
-passing strings obtained from IRC to system calls. For example, if you're writing a file-server
-bot, someone might message you a filename. Can you pass this filename directly to open()? Maybe!
-If you're lazy... The correct thing to do is to convert the string to "system locale encoding",
-otherwise your plugin will fail on non-ascii characters.
-
-Here are examples on how to do this conversion on Unix and Windows. In this example, someone will
-CTCP you the message "SHOWFILE &lt;filename&gt;".
-
-<pre>
-static int
-ctcp_cb (char *word[], char *word_eol[], void *userdata)
-{
-	if(strcmp(word[1], "SHOWFILE") == 0)
-	{
-		get_file_name (nick, word[2]);
-	}
-
-	return HEXCHAT_EAT_HEXCHAT;
-}
-
-static void
-get_file_name (char *nick, char *fname)
-{
-	char buf[256];
-	FILE *fp;
-
-	/* the fname is in UTF-8, because it came from the HexChat API */
-
-#ifdef _WIN32
-
-	wchar_t wide_name[MAX_PATH];
-
-	/* convert UTF-8 to WIDECHARs (aka UTF-16LE) */
-	if (MultiByteToWideChar (CP_UTF8, 0, fname, -1, wide_name, MAX_PATH) &lt; 1)
-	{
-		return;
-	}
-
-	/* now we have WIDECHARs, so we can _wopen() or CreateFileW(). */
-	/* _wfopen actually requires NT4, Win2000, XP or newer. */
-	fp = _wfopen (wide_name, "r");
-
-#else
-
-	char *loc_name;
-
-	/* convert UTF-8 to System Encoding */
-	loc_name = g_filename_from_utf8 (fname, -1, 0, 0, 0);
-	if(!loc_name)
-	{
-		return;
-	}
-
-	/* now open using the system's encoding */
-	fp = fopen (loc_name, "r");
-	g_free (loc_name);
-
-#endif
-
-	if (fp)
-	{
-		while (fgets (buf, sizeof (buf), fp))
-		{
-			/* send every line to the user that requested it */
-			hexchat_commandf (ph, "QUOTE NOTICE %s :%s", nick, buf);
-		}
-		fclose (fp);
-	}
-}
-</pre>
-
-## Functions
-
-***
-
-### hexchat\_hook\_command ()
-
-**Prototype:** hexchat\_hook \*hexchat\_hook\_command (hexchat\_plugin \*ph, const char \*name, int pri, hexchat\_cmd\_cb \*callb, const char \*help\_text, void \*userdata);
-
-**Description:** Adds a new _/command_. This allows your program to
-handle commands entered at the input box. To capture text without a "/" at
-the start (non-commands), you may hook a special name of "". i.e _hexchat\_hook\_command (ph, "", ...);_.
-
-Commands hooked that begin with a period ('.') will be hidden in _/HELP_ and _/HELP -l_.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **name:** Name of the command (without the forward slash).
- * **pri:** Priority of this command. Use _HEXCHAT\_PRI\_NORM_.
- * **callb:** Callback function. This will be called when the user executes the given command name.
- * **help\_text:** String of text to display when the user executes _/HELP_ for this command. May be NULL if you're lazy.
- * **userdata:** Pointer passed to the callback function.
-
-**Returns:** Pointer to the hook. Can be passed to _hexchat\_unhook ()_.
-
-**Example:**
-
-<pre>
-static int
-onotice_cb (char *word[], char *word_eol[], void *userdata)
-{
-	if (word_eol[2][0] == 0)
-	{
-		hexchat_printf (ph, "Second arg must be the message!\n");
-		return HEXCHAT_EAT_ALL;
-	}
-
-	hexchat_commandf (ph, "NOTICE @%s :%s", hexchat_get_info (ph, "channel"), word_eol[2]);
-	return HEXCHAT_EAT_ALL;
-}
-
-hexchat_hook_command (ph, "ONOTICE", HEXCHAT_PRI_NORM, onotice_cb, "Usage: ONOTICE &lt;message> Sends a notice to all ops", NULL);
-</pre>
-
-***
-
-### hexchat\_hook\_fd ()
-
-**Prototype:** hexchat\_hook \*hexchat\_hook\_fd (hexchat\_plugin \*ph, int fd, int flags, hexchat\_fd\_cb \*callb, void \*userdata);
-
-**Description:** Hooks a socket or file descriptor. WIN32: Passing a pipe from MSVCR71, MSVCR80 or other variations is not supported at this time.
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **fd:** The file descriptor or socket.
- * **flags:** One or more of _HEXCHAT\_FD\_READ_, _HEXCHAT\_FD\_WRITE_, _HEXCHAT\_FD\_EXCEPTION_, _HEXCHAT\_FD\_NOTSOCKET_. Use bitwise OR to combine them. _HEXCHAT\_FD\_NOTSOCKET_ tells HexChat that the provided _fd__ is not a socket, but an "MSVCRT.DLL" pipe.
- * **callb:** Callback function. This will be called when the socket is available for reading/writing or exception (depending on your chosen _flags_)
- * **userdata:** Pointer passed to the callback function.
-
-**Returns:** Pointer to the hook. Can be passed to _hexchat\_unhook ()_.
-
-***
-
-### hexchat\_hook\_print ()
-
-**Prototype:** hexchat\_hook \*hexchat\_hook\_print (hexchat\_plugin \*ph, const char \*name, int pri, hexchat\_print\_cb \*callb, void \*userdata);
-
-**Description:** Registers a function to trap any print events.
-The event names may be any available in the "Advanced > Text Events" window.
-There are also some extra "special" events you may hook using this function.
-Currently they are:
-
- * "Open Context": Called when a new hexchat\_context is created.
- * "Close Context": Called when a hexchat\_context pointer is closed.
- * "Focus Tab": Called when a tab is brought to front.
- * "Focus Window": Called a toplevel window is focused, or the main tab-window is focused by the window manager.
- * "DCC Chat Text": Called when some text from a DCC Chat arrives. It provides these elements in the _word[]_ array:
-<pre>
-	word[1] Address
-	word[2] Port
-	word[3] Nick
-	word[4] The Message
-</pre>
- * "Key Press": Called when some keys are pressed in the input box. It provides these elements in the _word[]_ array:
-<pre>
-	word[1] Key Value
-	word[2] State Bitfield (shift, capslock, alt)
-	word[3] String version of the key
-	word[4] Length of the string (may be 0 for unprintable keys)
-</pre>
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **name:** Name of the print event (as in _Edit Event Texts_ window).
- * **pri:** Priority of this command. Use HEXCHAT\_PRI\_NORM.
- * **callb:** Callback function. This will be called when this event name is printed.
- * **userdata:** Pointer passed to the callback function.
-
-**Returns:** Pointer to the hook. Can be passed to _hexchat\_unhook ()_.
-
-**Example:**
-
-<pre>
-static int
-youpart_cb (char *word[], void *userdata)
-{
-	hexchat_printf (ph, "You have left channel %s\n", word[3]);
-	return HEXCHAT_EAT_HEXCHAT;		/* dont let HexChat do its normal printing */
-}
-
-hexchat_hook_print (ph, "You Part", HEXCHAT_PRI_NORM, youpart_cb, NULL);
-</pre>
-
-***
-
-### hexchat\_hook\_server ()
-
-**Prototype:** hexchat\_hook \*hexchat\_hook\_server (hexchat\_plugin \*ph, const char \*name, int pri, hexchat\_serv\_cb \*callb, void \*userdata);
-
-**Description:** Registers a function to be called when a certain server event occurs. You can
-use this to trap _PRIVMSG_, _NOTICE_, _PART_, a server numeric, etc. If you want to
-hook every line that comes from the IRC server, you may use the special name of _RAW LINE_.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **name:** Name of the server event.
- * **pri:** Priority of this command. Use HEXCHAT\_PRI\_NORM.
- * **callb:** Callback function. This will be called when this event is received from the server.
- * **userdata:** Pointer passed to the callback function.
-
-**Returns:** Pointer to the hook. Can be passed to _hexchat\_unhook_.
-
-**Example:**
-<pre>
-static int
-kick_cb (char *word[], char *word_eol[], void *userdata)
-{
-	hexchat_printf (ph, "%s was kicked from %s (reason=%s)\n", word[4], word[3], word_eol[5]);
-	return HEXCHAT_EAT_NONE;		/* don't eat this event, let other plugins and HexChat see it too */
-}
-
-hexchat_hook_server (ph, "KICK", HEXCHAT_PRI_NORM, kick_cb, NULL);
-</pre>
-
-***
-
-### hexchat\_hook\_timer ()
-
-**Prototype:** hexchat\_hook \*hexchat\_hook\_timer (hexchat\_plugin \*ph, int timeout, hexchat\_timer\_cb \*callb, void \*userdata);
-
-**Description:** Registers a function to be called every "timeout" milliseconds.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **timeout:** Timeout in milliseconds (1000 is 1 second).
- * **callb:** Callback function. This will be called every "timeout" milliseconds.
- * **userdata:** Pointer passed to the callback function.
-
-**Returns:** Pointer to the hook. Can be passed to hexchat_unhook.
-
-**Example:**
-
-<pre>
-static hexchat_hook *myhook;
-
-static int
-stop_cb (char *word[], char *word_eol[], void *userdata)
-{
-	if (myhook != NULL)
-	{
-		hexchat_unhook (ph, myhook);
-		myhook = NULL;
-		hexchat_print (ph, "Timeout removed!\n");
-	}
-
-	return HEXCHAT_EAT_ALL;
-}
-
-static int
-timeout_cb (void *userdata)
-{
-	hexchat_print (ph, "Annoying message every 5 seconds! Type /STOP to stop it.\n");
-	return 1;		/* return 1 to keep the timeout going */
-}
-
-myhook = hexchat_hook_timer (ph, 5000, timeout_cb, NULL);
-hexchat_hook_command (ph, "STOP", HEXCHAT_PRI_NORM, stop_cb, NULL, NULL);
-</pre>
-
-***
-
-### hexchat\_unhook ()
-
-**Prototype:** void \*hexchat\_unhook (hexchat\_plugin \*ph, hexchat\_hook \*hook);
-
-**Description:** Unhooks any hook registered with hexchat\_hook\_print/server/timer/command. When plugins are unloaded, all of its hooks are automatically removed, so you don't need to call this within your hexchat\_plugin\_deinit () function.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **hook:** Pointer to the hook, as returned by hexchat\_hook\_*.
-
-**Returns:** The userdata you originally gave to hexchat\_hook\_*.
-
-***
-
-### hexchat\_command ()
-
-**Prototype:** void hexchat\_command (hexchat\_plugin \*ph, const char \*command);
-
-**Description:** Executes a command as if it were typed in HexChat's input box.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **command:** Command to execute, without the forward slash "/".
-
-***
-
-### hexchat\_commandf ()
-
-**Prototype:** void hexchat\_commandf (hexchat\_plugin \*ph, const char \*format, ...);
-
-**Description:** Executes a command as if it were typed in HexChat's input box and provides string formatting like _printf ()_.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **format:** The format string.
-
-***
-
-### hexchat\_print ()
-
-**Prototype:** void hexchat\_print (hexchat\_plugin \*ph, const char \*text);
-
-**Description:** Prints some text to the current tab/window.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **text:** Text to print. May contain mIRC color codes.
-
-***
-
-### hexchat\_printf ()
-
-**Prototype:** void hexchat\_printf (hexchat\_plugin \*ph, const char \*format, ...);
-
-**Description:** Prints some text to the current tab/window and provides formatting like _printf ()_.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **format:** The format string.
-
-***
-
-### hexchat\_emit\_print ()
-**Prototype:** int hexchat\_emit\_print (hexchat\_plugin \*ph, const char \*event\_name, ...);
-
-**Description:** Generates a print event. This can be any event found in the Preferences > Advanced > Text Events window. The vararg parameter list **must** always be NULL terminated. Special care should be taken when calling this function inside a print callback (from hexchat\_hook\_print), as not to cause endless recursion.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **event_name:** Text event to print.
-
-**Returns:**
-
- * 1: Success.
- * 0: Failure.
-
-**Example:**
-
-<pre>
-hexchat_emit_print (ph, "Channel Message", "John", "Hi there", "@", NULL);
-</pre>
-
-***
-
-### hexchat\_send\_modes ()
-
-**Prototype:** void hexchat\_send\_modes (hexchat\_plugin \*ph, const char \*targets[], int ntargets, int modes_per_line, char sign, char mode)
-
-**Description:** Sends a number of channel mode changes to the current channel. For example, you can Op a whole
-group of people in one go. It may send multiple MODE lines if the request doesn't fit on one. Pass 0 for
-_modes\_per\_line_ to use the current server's maximum possible. This function should only be called while
-in a channel context.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **targets:** Array of targets (strings). The names of people whom the action will be performed on.
- * **ntargets:** Number of elements in the array given.
- * **modes_per_line:** Maximum modes to send per line.
- * **sign:** Mode sign, '-' or '+'.
- * **mode:** Mode char, e.g. 'o' for Ops.
-
-**Example:** (Ops the three names given)
-
-<pre>
-const char *names_to_Op[] = {"John", "Jack", "Jill"};
-hexchat_send_modes (ph, names_to_Op, 3, 0, '+', 'o');
-</pre>
-
-***
-
-### hexchat\_find\_context ()
-
-**Prototype:** hexchat\_context \*hexchat\_find\_context (hexchat\_plugin \*ph, const char \*servname, const char \*channel);
-
-**Description:** Finds a context based on a channel and servername. If _servname_ is NULL, it finds any channel (or query) by the given name. If _channel_ is NULL, it finds the front-most tab/window of the given _servname_. If NULL is given for both arguments, the currently focused tab/window will be returned.
-
-Changed in 2.6.1. If _servname_ is NULL, it finds the channel (or query) by the given name in the same server group as the current context. If that doesn't exists then find any by the given name.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **servname:** Server name or NULL.
- * **channel:** Channel name or NULL.
-
-**Returns:** Context pointer (for use with _hexchat\_set\_context_) or NULL.
-
-***
-
-### hexchat\_get\_context ()
-
-**Prototype:** hexchat\_context \*hexchat\_get\_context (hexchat\_plugin \*ph);
-
-**Description:** Returns the current context for your plugin. You can use this later with _hexchat\_set\_context ()_.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
-
-**Returns:** Context pointer (for use with _hexchat\_set\_context_).
-
-***
-
-### hexchat\_get\_info ()
-
-**Prototype:** const char \*hexchat\_get\_info (hexchat\_plugin \*ph, const char \*id);
-
-**Description:** Returns information based on your current context.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **id:** ID of the information you want. Currently supported IDs are (case sensitive):
-	* **away:** away reason or NULL if you are not away.
-	* **channel:** current channel name.
-	* **charset:** character-set used in the current context.
-	* **configdir:** HexChat config directory, e.g.: `/home/user/.config/hexchat`. This string is encoded in UTF-8.
-	* **event\_text &lt;name>:** text event format string for _name_.
-	* **gtkwin\_ptr:** (GtkWindow \*).
-	* **host:** real hostname of the server you connected to.
-	* **inputbox:** the input-box contents, what the user has typed.
-	* **libdirfs:** library directory. e.g. /usr/lib/hexchat. The same directory used for auto-loading plugins. This string isn't necessarily UTF-8, but local file system encoding.
-	* **modes:** channel modes, if known, or NULL.
-	* **network:** current network name or NULL.
-	* **nick:** your current nick name.
-	* **nickserv:** nickserv password for this network or NULL.
-	* **server:** current server name (what the server claims to be). NULL if you are not connected.
-	* **topic:** current channel topic.
-	* **version:** HexChat version number.
-	* **win\_ptr:** native window pointer. Unix: (GtkWindow *) Win32: HWND.
-	* **win\_status:** window status: "active", "hidden" or "normal".
-
-**Returns:** A string of the requested information, or NULL. This string must
-not be freed and must be copied if needed after the call to _hexchat\_get\_info ()_.
-
-***
-
-### hexchat\_get\_prefs ()
-
-**Prototype:** int hexchat\_get\_prefs (hexchat\_plugin \*ph, const char \*name, const char \*\*string, int \*integer);
-
-**Description:** Provides HexChat's setting information (that which is available through the _/SET_ command).
-A few extra bits of information are available that don't appear in the _/SET_ list, currently they are:
-
- * **state_cursor:** Current input box cursor position (characters, not bytes).
- * **id:** Unique server id
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **name:** Setting name required.
- * **string:** Pointer-pointer which to set.
- * **integer:** Pointer to an integer to set, if setting is a boolean or integer type.
-
-**Returns:**
-
- * 0: Failed.
- * 1: Returned a string.
- * 2: Returned an integer.
- * 3: Returned a boolean.
-
-**Example:**
-
-<pre>
-{
-	int i;
-	const char *str;
-
-	if (hexchat_get_prefs (ph, "irc_nick1", &amp;str, &amp;i) == 1)
-	{
-		hexchat_printf (ph, "Current nickname setting: %s\n", str);
-	}
-}
-</pre>
-
-***
-
-### hexchat\_set\_context ()
-
-**Prototype:** int hexchat\_set\_context (hexchat\_plugin \*ph, hexchat\_context \*ctx);
-
-**Description:** Changes your current context to the one given.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **ctx:** Context to change to (obtained with _hexchat\_get\_context ()_ or _hexchat\_find\_context ()_).
-
-**Returns:**
-
- * 1: Success.
- * 0: Failure.
-
-***
-
-### hexchat\_nickcmp ()
-
-**Prototype:** int hexchat\_nickcmp (hexchat\_plugin \*ph, const char \*s1, const char \*s2);
-
-**Description:** Performs a nick name comparision, based on the current server connection. This might be an RFC1459 compliant string compare, or plain ascii (in the case of DALNet). Use this to compare channels and nicknames. The function works the same way as _strcasecmp ()_.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **s1:** String to compare.
- * **s2:** String to compare _s1_ to.
-
-**Quote from RFC1459:**
->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.
-
-**Returns:** 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_.
-
-***
-
-### hexchat\_strip ()
-
-**Prototype:** char \*hexchat\_strip (hexchat\_plugin \*ph, const char \*str, int len, int flags);
-
-**Description:** Strips mIRC color codes and/or text attributes (bold, underlined etc) from the given string and returns a newly allocated string.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **str:** String to strip.
- * **len:** Length of the string (or -1 for NULL terminated).
- * **flags:** Bit-field of flags:
-	* 0: Strip mIRC colors.
-	* 1: Strip text attributes.
-
-**Returns:** A newly allocated string or NULL for failure. You must free this string with _hexchat\_free ()_.
-
-**Example:**
-
-<pre>
-{
-	char *new_text;
-
-	/* strip both colors and attributes by using the 0 and 1 bits (1 BITWISE-OR 2) */
-	new_text = hexchat_strip (ph, "\00312Blue\003 \002Bold!\002", -1, 1 | 2);
-
-	if (new_text)
-	{
-		/* new_text should now contain only "Blue Bold!" */
-		hexchat_printf (ph, "%s\n", new_text);
-		hexchat_free (ph, new_text);
-	}
-}
-</pre>
-
-***
-
-### hexchat\_free ()
-
-**Prototype:** void hexchat\_free (hexchat\_plugin \*ph, void \*ptr);
-
-**Description:** Frees a string returned by _hexchat\_*_ functions. Currently only used to free strings from _hexchat\_strip ()_.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **ptr:** Pointer to free.
-
-***
-
-### hexchat\_pluginpref\_set\_str ()
-
-**Prototype:** int hexchat\_pluginpref\_set\_str (hexchat\_plugin \*ph, const char \*var, const char \*value);
-
-**Description:** Saves a plugin-specific setting with string value to a plugin-specific config file.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **var:** Name of the setting to save.
- * **value:** String value of the the setting.
-
-**Returns:**
-
- * 1: Success.
- * 0: Failure.
-
-**Example:**
-
-<pre>
-int
-hexchat_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, char **plugin_desc, char **plugin_version, char *arg)
-{
-	ph = plugin_handle;
-	*plugin_name = "Tester Thingie";
-	*plugin_desc = "Testing stuff";
-	*plugin_version = "1.0";
-
-	hexchat_pluginpref_set_str (ph, "myvar1", "I want to save this string!");
-	hexchat_pluginpref_set_str (ph, "myvar2", "This is important, too.");
-
-	return 1;       /* return 1 for success */
-}
-</pre>
-
-In the example above, the settings will be saved to the plugin_tester_thingie.conf file, and its content will be:
->myvar1 = I want to save this string!  
-myvar2 = This is important, too.
-
-You should never need to edit this file manually.
-
-***
-
-### hexchat\_pluginpref\_get\_str ()
-**Prototype:** int hexchat_pluginpref_get_str (hexchat\_plugin \*ph, const char \*var, char \*dest);
-
-**Description:** Loads a plugin-specific setting with string value from a plugin-specific config file.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **var:** Name of the setting to load.
- * **dest:** Array to save the loaded setting's string value to.
-
-**Returns:**
-
- * 1: Success.
- * 0: Failure.
-
-***
-
-### hexchat\_pluginpref\_set\_int ()
-
-**Prototype:** int hexchat\_pluginpref\_set\_int (hexchat\_plugin \*ph, const char \*var, int value);
-
-**Description:** Saves a plugin-specific setting with decimal value to a plugin-specific config file.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **var:** Name of the setting to save.
- * **value:** Decimal value of the the setting.
-
-**Returns:**
-
- * 1: Success.
- * 0: Failure.
-
-**Example:**
-
-<pre>
-static int
-saveint_cb (char *word[], char *word_eol[], void *user_data)
-{
-	int buffer = atoi (word[2]);
-
-	if (buffer > 0 && buffer &lt; INT_MAX)
-	{
-		if (hexchat_pluginpref_set_int (ph, "myint1", buffer))
-		{
-			hexchat_printf (ph, "Setting successfully saved!\n");
-		}
-		else
-		{
-			hexchat_printf (ph, "Error while saving!\n");
-		}
-	}
-	else
-	{
-		hexchat_printf (ph, "Invalid input!\n");
-	}
-
-	return HEXCHAT_EAT_HEXCHAT;
-}
-</pre>
-
-You only need such complex checks if you're saving user input, which can be non-numeric.
-
-***
-
-### hexchat\_pluginpref\_get\_int ()
-
-**Prototype:** int hexchat\_pluginpref\_get\_int (hexchat\_plugin \*ph, const char \*var);
-
-**Description:** Loads a plugin-specific setting with decimal value from a plugin-specific config file.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **var:** Name of the setting to load.
-
-**Returns:** The decimal value of the requested setting upon success, -1 for failure.
-
-***
-
-### hexchat\_pluginpref\_delete ()
-
-**Prototype:** int hexchat\_pluginpref\_delete (hexchat\_plugin \*ph, const char \*var);
-
-**Description:** Deletes a plugin-specific setting from a plugin-specific config file.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **var:** Name of the setting to delete.
-
-**Returns:**
-
- * 1: Success.
- * 0: Failure.
-
-If the given setting didn't exist, it also returns 1, so 1 only indicates that the setting won't exist after the call.
-
-***
-
-### hexchat\_pluginpref\_list ()
-
-**Prototype:** int hexchat\_pluginpref\_list (hexchat\_plugin \*ph, char \*dest);
-
-**Description:** Builds a comma-separated list of the currently saved settings from a plugin-specific config file.
-
-**Arguments:**
-
- * **ph:** Plugin handle (as given to _hexchat\_plugin\_init ()_).
- * **dest:** Array to save the list to.
-
-**Returns:**
-
- * 1: Success.
- * 0: Failure (nonexistent, empty or inaccessible config file).
-
-**Example:**
-<pre>
-static void
-list_settings ()
-{
-	char list[512];
-	char buffer[512];
-	char *token;
-
-	hexchat_pluginpref_list (ph, list);
-	hexchat_printf (ph, "Current Settings:\n");
-	token = strtok (list, ",");
-
-	while (token != NULL)
-	{
-		hexchat_pluginpref_get_str (ph, token, buffer);
-		hexchat_printf (ph, "%s: %s\n", token, buffer);
-		token = strtok (NULL, ",");
-	}
-}
-</pre>
-
-In the example above we query the list of currently stored settings, then print them one by one with their respective values. We always use _hexchat\_pluginpref\_get\_str ()_, and that's because we can read an integer as string (but not vice versa).
diff --git a/share/doc/python.md b/share/doc/python.md
deleted file mode 100644
index 1020d645..00000000
--- a/share/doc/python.md
+++ /dev/null
@@ -1,560 +0,0 @@
-# HexChat Python Interface
-
-## Features
-
-Here are some of the features of the python plugin interface:
-
- * Comprehensive, consistent and straightforward API
- * Load, unload, reload, and autoload support
- * Per plugin independent interpreter state
- * Python interactive console
- * Python interactive command execution
- * Full thread support
- * Stdout and stderr redirected to HexChat console
- * Dynamic list management
- * Nice context treatment
- * Plugin preferences
-
-## Commands
-
-The following commands will be intercepted by the Python Plugin interface module, when it is loaded.
-
- * **/py load &lt;filename>:** Load module with given filename.
- * **/py unload &lt;filename|module name>:** Unload module with given filename, or module name.
- * **/py reload &lt;filename|module name>:** Reload module with given filename, or module name.
- * **/py list:** List Python modules loaded.
- * **/py exec &lt;command>:** Execute given Python command interactively. For example:
-
-<pre>
-	/py exec import xchat
-	/py exec print xchat.get_info('channel')
-</pre>
-
- * **/py console:** Open the Python interactive console in a query (>>python<<).
-Every message sent will be intercepted by the Python plugin interface,
-and interpreted interactively. Notice that the console and /py exec
-commands live in the same interpreter state.
-
- * **/py about:** Show some information about the Python plugin interface.
-
-
-## Autoloading modules
-
-If you want some module to be autoloaded together with the Python plugin
-interface (which usually loads at startup time), just make sure it has a
-`.py` extension and put it in your HexChat directory (`~/.config/hexchat/addons`, `%APPDATA%\\HexChat\\addons`).
-
-
-## Context theory
-
-Before starting to explain what the API offers, I'll do a short
-introduction about the HexChat context concept. Not because it's something
-hard to understand, but because you'll understand better the API
-explanations if you know what I'm talking about.
-
-You can think about a context as an HexChat channel, server, or query tab.
-Each of these tabs, has its own context, and is related to a given
-server and channel (queries are a special kind of channel).
-
-The *current* context is the one where HexChat passes control to the
-module. For example, when HexChat receives a command in a specific
-channel, and you have asked HexChat to tell you about this event, the
-current context will be set to this channel before your module is
-called.
-
-
-## Hello world
-
-Here is the traditional _hello world_ example.
-
-<pre>
-__module_name__ = "helloworld"
-__module_version__ = "1.0"
-__module_description__ = "Python module example"
-
-print "Hello world!"
-</pre>
-
-This module will print "Hello world!" in the HexChat console, and sleep
-forever until it's unloaded. It's a simple module, but already
-introduces some concepts. Notice how the module information is set. This
-information is obligatory, and will be shown when listing the loaded
-HexChat modules.
-
-
-## xchat module
-
-The xchat module is your passport to every HexChat functionality offered
-by the Python plugin interface. Here's a simple example:
-
-<pre>
-import xchat
-xchat.prnt("Hi everyone!")
-</pre>
-
-The following functions are available in the xchat module.
-
-
-### Generic functions
-
-
-#### xchat.prnt(string)
-
-This function will print string in the current context. It's mainly
-useful as a parameter to pass to some other function, since the usual
-print statement will have the same results. You have a usage example
-above.
-
-This function is badly named because `"print"` is a reserved keyword of the Python language.
-
-
-#### xchat.emit\_print(event\_name, \*args)
-
-This function will generate a *print event* with the given arguments. To
-check which events are available, and the number and meaning of
-arguments, have a look at the `Settings > Lists > Text Events` window.
-Here is one example:
-
-<pre>
-xchat.emit_print("Channel Message", "John", "Hi there", "@")
-</pre>
-
-
-#### xchat.command(string)
-
-Execute the given command in the current context. This has the same
-results as executing a command in the HexChat window, but notice that the
-`/` prefix is not used. Here is an example:
-
-<pre>
-xchat.command("server irc.openprojects.net")
-</pre>
-
-
-#### xchat.nickcmp(s1, s2)
-
-This function will do an RFC1459 compliant string comparing between `s1`
-and `s2`, and is useful to compare channels and nicknames. It returns 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`. For
-example:
-
-<pre>
-if xchat.nickcmp(nick, "mynick") == 0:
-    print "They are the same!"
-</pre>
-
-
-### Information retreiving functions
-
-
-#### xchat.get\_info(type)
-
-Retrieve the information specified by the `type` string in the current
-context. At the moment of this writing, the following information types
-are available to be queried:
-
- * **away:** Away reason or None if you are not away.
- * **channel:** Channel name of the current context.
- * **charset:** Charset in current context.
- * **configdir:** HexChat config directory e.g.: "~/.config/hexchat".
- * **event_name NAME:** Returns text event string for requested event.
- * **gtkwin_ptr:** Current Gtk Window.
- * **host:** Real hostname of the server you connected to.
- * **inputbox:** Contents of inputbox.
- * **network:** Current network name or None.
- * **nick:** Your current nick name.
- * **nickserv:** Current networks nickserv password or None.
- * **modes:** Current channel modes or None.
- * **server:** Current server name (what the server claims to be) or None if you are not connected.
- * **topic:** Current channel topic.
- * **win_status:** Returns status of window: 'active', 'hidden', or 'normal'.
- * **version:** HexChat version number.
-
-Example:
-
-<pre>
-if xchat.get_info("server") is None:
-    print "Not connected!"
-</pre>
-
-
-#### xchat.get\_prefs(name)
-
-Retrieve the HexChat setting information specified by the `name` string,
-as available by the `/set` command. For example:
-
-<pre>
-print "Current preferred nick:", xchat.get_prefs("irc_nick1")
-</pre>
-
-
-#### xchat.get\_list(type)
-
-With this function you may retrieve a list containing the selected
-information from the current context, like a DCC list, a channel list, a
-user list, etc. Each list item will have its attributes set dynamically
-depending on the information provided by the list type.
-
-The example below is a rewrite of the example provided with HexChat's
-plugin API documentation. It prints a list of every DCC transfer
-happening at the moment. Notice how similar the interface is to the C
-API provided by HexChat.
-
-<pre>
-list = xchat.get_list("dcc")
-if list:
-    print "--- DCC LIST ------------------"
-    print "File  To/From   KB/s   Position"
-    for i in list:
-        print "%6s %10s %.2f  %d" % (i.file, i.nick, i.cps/1024, i.pos)
-</pre>
-
-Below you will find what each list type has to offer.
-
-This information was taken from HexChat's plugin documentation. You may find any types not
-listed here, if they exist at all, in an updated HexChat documentation.
-Any list types accepted by HexChat should be dynamically accepted by the
-Python plugin interface.
-
-
-##### channels
-
-The channels list type gives you access to the channels, queries and
-their servers. The folloing attributes are available in each list item:
-
- * **channel:** Channel or query name.
- * **chantypes:** Channel types e.g. #!&.
- * **context:** A context object, giving access to that channel/server.
- * **id:** Unique server id.
- * **lag:** Latency in milliseconds.
- * **maxmodes:** Max modes per line.
- * **network:** Network name to which this channel belongs.
- * **nickprefixes:** Nickname prefixes e.g. @%+.
- * **nickmodes:** Nickname mode chars e.g. ov.
- * **queue:** Number of bytes in the send-queue.  
- * **server:** Server name to which this channel belongs.
- * **users:** Number of users in the channel.
- * **type:** Type of context.
-	* 1: Server
-	* 2: Channel
-	* 3: Dialog
-
- * **flags:** Bit field of flags:
-    * 0: Connected
-    * 1: Connecting
-    * 2: Away
-    * 3: End of MOTD (Login Complete)
-    * 4: Has WHOX
-    * 5: Has IDMSG
-    * 6: Join/Parts hidden
-    * 7: Unused
-    * 8: Beep on Message
-    * 9: Blink Tray
-    * 10: Blink Task Bar
-
-
-##### dcc
-
-The dcc list type gives you access to a list of DCC file transfers. The
-following attributes are available in each list item:
-
- * **address32:** Address of the remote user (ipv4 address, as an int).
- * **cps:** Bytes per second (speed).
- * **destfile:** Destination full pathname.
- * **file:** Filename.
- * **nick:** Nickname of person who the file is from/to.
- * **port:** TCP port number.
- * **pos:** Bytes sent/received.
- * **resume:** Point at which this file was resumed (or zero if it was not resumed).
- * **size:** File size in bytes.
- * **status:** DCC status:
-	* 0: queued
-	* 1: active
-	* 2: failed
-	* 3: done
-	* 4: connecting
-	* 5: aborted
- * **type:** DCC type:
-	* 0: send
-	* 1: receive
-	* 2: chatrecv
-	* 3: chatsend
-
-
-##### users
-
-The users list type gives you access to a list of users in the current
-channel. The following attributes are available in each list item:
-
- * **away:** Away status.
- * **lasttalk:** Last time the user was seen talking.
- * **host:** Host name in the form user@host (or None, if not known).
- * **nick:** Nick name.
- * **prefix:** Prefix character, .e.g: @ or +. Points to a single char.
- * **realname:** Real name.
- * **selected:** Selected status in the userlist.
-
-
-##### ignore
-
-The ignore list type gives you access to the current ignored list. The
-following attributes are available in each list item:
-
- * **mask:** Ignore mask (for example, "\*!\*@\*.aol.com").
- * **flags:** Bit field of flags:
-	* 0: private
-	* 1: notice
-	* 2: channel
-	* 3: ctcp
-	* 4: invite
-	* 5: unignore
-	* 6: nosave
-	* 7: dcc
-
-
-### Hook functions
-
-These functions allow one to hook into HexChat events.
-
-
-#### Priorities
-
-When a priority keyword parameter is accepted, it means that this
-callback may be hooked with five different priorities: PRI\_HIGHEST,
-PRI\_HIGH, PRI\_NORM, PRI\_LOW, and PRI\_LOWEST. The usage of these
-constants, which are available in the xchat module, will define the
-order in which your plugin will be called. Most of the time, you won't
-want to change its default value (PRI\_NORM).
-
-
-#### Parameters word and word_eol
-
-These parameters, when available in a callback, are lists of strings
-which contain the parameters the user entered for the particular
-command. For example, if you executed:
-
-<pre>
-/command NICK Hi there!
-</pre>
-
- * **word[0]** is `command`
- * **word[1]** is `NICK`
- * **word[2]** is `Hi`
- * **word[3]** is `there!`
- * **word\_eol[0]** is `command NICK Hi there!`
- * **word\_eol[1]** is `NICK Hi there!`
- * **word\_eol[2]** is `Hi there!`
- * **word\_eol[3]** is `there!`
-
-
-#### Parameter userdata
-
-The parameter userdata, if given, allows you to pass a custom object to
-your callback.
-
-#### Callback return constants (EAT\_*)
-
-When a callback is supposed to return one of the EAT\_\* macros, it is
-able control how HexChat will proceed after the callback returns. These
-are the available constants, and their meanings:
-
- * **EAT_PLUGIN:** Don't let any other plugin receive this event.
- * **EAT_XCHAT:** Don't let HexChat treat this event as usual.
- * **EAT_ALL:** Eat the event completely.
- * **EAT_NONE:** Let everything happen as usual.
-
-Returning `None` is the same as returning `EAT_NONE`.
-
-
-#### xchat.hook\_command(name, callback, userdata=None, priority=PRI\_NORM, help=None)
-
-This function allows you to hook into the name HexChat command. It means
-that everytime you type `/name ...`, `callback` will be called.
-Parameters `userdata` and `priority` have their meanings explained
-above, and the parameter help, if given, allows you to pass a help text
-which will be shown when `/help name` is executed. This function returns
-a hook handler which may be used in the `xchat.unhook()` function. For
-example:
-
-<pre>
-def onotice_cb(word, word_eol, userdata):
-    if len(word) < 2:
-        print "Second arg must be the message!"
-    else:
-        xchat.command("NOTICE @%s %s" % (xchat.get_info("channel"), word_eol[1]))
-    return xchat.EAT_ALL
-
-xchat.hook_command("ONOTICE", onotice_cb, help="/ONOTICE <message> Sends a notice to all ops")
-</pre>
-
-You may return one of `EAT_*` constants in the callback, to control
-HexChat's behavior, as explained above.
-
-
-#### xchat.hook\_print(name, callback, userdata=None, priority=PRI\_NORM)
-
-This function allows you to register a callback to trap any print
-events. The event names are available in the _Edit Event Texts_ window.
-Parameters `userdata` and `priority` have their meanings explained
-above. This function returns a hook handler which may be used in the
-`xchat.unhook()` function. For example:
-
-<pre>
-def youpart_cb(word, word_eol, userdata):
-    print "You have left channel", word[2]
-    return xchat.EAT_XCHAT # Don't let HexChat do its normal printing
-
-xchat.hook_print("You Part", youpart_cb)
-</pre>
-
-You may return one of `EAT_*` constants in the callback, to control
-HexChat's behavior, as explained above.
-
-
-#### xchat.hook\_server(name, callback, userdata=None, priority=PRI\_NORM)
-
-This function allows you to register a callback to be called when a
-certain server event occurs. You can use this to trap `PRIVMSG`,
-`NOTICE`, `PART`, a server numeric, etc. Parameters `userdata` and
-`priority` have their meanings explained above. This function returns a
-hook handler which may be used in the `xchat.unhook()` function. For
-example:
-
-<pre>
-def kick_cb(word, word_eol, userdata):
-    print "%s was kicked from %s (%s)" % (word[3], word[2], word_eol[4])
-    # Don't eat this event, let other plugins and HexChat see it too
-    return xchat.EAT_NONE
-
-xchat.hook_server("KICK", kick_cb)
-</pre>
-
-You may return one of `EAT_*` constants in the callback, to control
-HexChat's behavior, as explained above.
-
-
-#### xchat.hook\_timer(timeout, callback, userdata=None)
-
-This function allows you to register a callback to be called every
-timeout milliseconds. Parameters userdata and priority have their
-meanings explained above. This function returns a hook handler which may
-be used in the `xchat.unhook()` function. For example:
-
-<pre>
-myhook = None
-
-def stop_cb(word, word_eol, userdata):
-    global myhook
-    if myhook is not None:
-        xchat.unhook(myhook)
-        myhook = None
-        print "Timeout removed!"
-
-def timeout_cb(userdata):
-    print "Annoying message every 5 seconds! Type /STOP to stop it."
-    return 1 # Keep the timeout going
-
-myhook = xchat.hook_timer(5000, timeout_cb)
-xchat.hook_command("STOP", stop_cb)
-</pre>
-
-If you return a true value from the callback, the timer will be keeped,
-otherwise it is removed.
-
-
-#### xchat.hook\_unload(timeout, callback, userdata=None)
-
-This function allows you to register a callback to be called when the
-plugin is going to be unloaded. Parameters `userdata` and `priority`
-have their meanings explained above. This function returns a hook
-handler which may be used in the `xchat.unhook()` function. For example:
-
-<pre>
-def unload_cb(userdata):
-    print "We're being unloaded!"
-
-xchat.hook_unload(unload_cb)
-</pre>
-
-
-#### xchat.unhook(handler)
-
-Unhooks any hook registered with the hook functions above.
-
-
-### Plugin preferences
-
-You can use pluginpref to easily store and retrieve settings. This was added in the Python plugin version 0.9
-
-#### xchat.set\_pluginpref(name, value)
-
-If neccessary creates a .conf file in the HexChat config folder named addon\_python.conf and stores the value in it. Returns 1 on success, 0 on failure.
-
-> Note: Until the plugin uses different a conf file per script it's recommened to use 'PluginName-SettingName' to avoid conflicts.
-
-
-#### xchat.get\_pluginpref(name)
-
-This will return the value of the variable of that name. If there is none by this name it will return `None`. Numbers are always returned as Integers.
-
-
-#### xchat.del\_pluginpref(name)
-
-Deletes the specified variable. Returns 1 on success (or never existing), 0 on failure.
-
-
-#### xchat.list\_pluginpref()
-
-Returns a list of all currently set preferences.
-
-
-### Context handling
-
-Below you will find information about how to work with contexts.
-
-
-#### Context objects
-
-As explained in the Context theory session above, contexts give access
-to a specific channel/query/server tab of HexChat. Every function
-available in the xchat module will be evaluated in the current context,
-which will be specified by HexChat itself before passing control to the
-module. Sometimes you may want to work in a specific context, and that's
-where context objects come into play.
-
-You may create a context object using the `xchat.get_context()` or
-`xchat.find_context()`, functions as explained below, or trough the
-`xchat.get_list()` function, as explained in its respective session.
-
-Each context object offers the following methods:
-
- * **context.set():** Changes the current context to be the one represented by this context object.
- * **context.prnt(string):** Does the same as the xchat.prnt() function, but in the given context.
- * **context.emit\_print(event\_name, \*args):** Does the same as the emit\_print() function, but in the given context.
- * **context.command(string):** Does the same as the xchat.command() function, but in the given context.
- * **context.get\_info(type):** Does the same as the xchat.get\_info() function, but in the given context.
- * **context.get\_list(type):** Does the same as the xchat.get\_list() function, but in the given context.
-
-
-#### xchat.get\_context()
-
-Returns a context object corresponding the the current context.
-
-#### xchat.find\_context(server=None, channel=None)
-
-Finds a context based on a channel and servername. If `server` is
-`None`, it finds any channel (or query) by the given name. If `channel`
-is `None`, it finds the front-most tab/window of the given server. For
-example:
-
-<pre>
-cnc = xchat.find_context(channel='#conectiva')
-cnc.command('whois niemeyer')
-</pre>
-
-***
-
-Original Author: Gustavo Niemeyer [gustavo@niemeyer.net](mailto:gustavo@niemeyer.net)
-
-For purty html: `pandoc --toc python.md -s --highlight-style haddock -o python.html`
diff --git a/share/doc/tcl.md b/share/doc/tcl.md
deleted file mode 100644
index 7f3f6db3..00000000
--- a/share/doc/tcl.md
+++ /dev/null
@@ -1,3632 +0,0 @@
-# HexChat Tcl Interface
-
-(This file is currently not converted properly to Markdown format.)
-
-<hr><b>Note to Eggdrop Scripters:</b>&nbsp; The Tcl Plugin for XChat will <b>not</b> run eggdrop scripts.
-&nbsp;Contrary to popular belief, <b>Tcl was not invented by or for eggdrop.</b>  &nbsp;Eggdrop,
-like many other successful projects is just another happy user of Tcl.  &nbsp;Tcl was around long
-before Eggdrop and is broadly considered the industry standard language for automation.
-<hr>
-
-<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 configdir</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>configdir </td>
-<td> HexChat config directory, e.g.: /home/user/.config/hexchat.</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> HexChat version number.
-</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='#configdir'>configdir</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='#configdir'>configdir</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='configdir'> </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>configdir - Returns the current HexChat config directory.</td>
-</tr>
-
-<tr valign=top>
-<td align=right><b>Synopsis:</b></td>
-<td><pre>configdir</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 [configdir]"</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>