nickserv.tcl

Purpose & Features

nickserv.tcl enables sBNC to interact with NickServ. It features identification on server logon, on nickserv warning and auto-ghosting. The method of interaction with NickServ is freely settable. nickserv.tcl works on 1.1 as well.

Installation

Download the script (nickserv.tcl) and place it in your sbnc/scripts/ folder, then add source “scripts/nickserv.tcl” to your sbnc.tcl file and run /sbnc tcl rehash.

Usage

General

To use nickserv.tcl you need to at least set the password and reply settings, then nickserv.tcl will identify you one time when sBNC connects to the server. To additionally enable identification when NickServ warns you that the nick you are using is registered, set warning. To enable auto-ghosting set nick.

The set command

To set a setting use /sbnc nickserv set <setting> <value> The following settings are available: nick, password, delayjoin, reply and warning.

The nick setting defines the nick you want to use for the auto-ghost feature. If that nick is already in use when sBNC logs onto the server, nickserv.tcl will attempt to ghostkill that nick and retake it. If nick is not set, the auto-ghost feature is disabled.

The password setting defines your NickServ password. Please note that the password is stored in plain text! The password settings is required, if not set, all nickserv.tcl functions will be disabled.

The delayjoin setting defines whether delayjoin is enabled or not. If enabled sBNC will wait 5 seconds before it joins your channels, to create a wider timeframe for identification and auto-ghosting. Vaild values are on, off, 1 and 0.

The reply setting defines how nickserv.tcl will interact with NickServ. Examples: if you interact with NickServ via /msg NickServ set reply to PRIVMSG NICKSERV, if you are using /msg NickServ@services.net.tld set reply to PRIVMSG NickServ@services.net.tld, if you are using /NickServ or /NS set reply to NickServ or NS respectively. The reply settings is required, if not set, all nickserv.tcl functions will be disabled.

The warning setting defines how NickServ warns you that the nick you are using is registered. Example: usually NickServ will send the following warning to you:

This nickname is registered and protected.  If it is your
nick, type /msg NickServ IDENTIFY password.  Otherwise,
please choose a different nick.
If you do not change within one minute, I will change your nick.

In this example you would set warning to one of those lines, the first one preferably:

/sbnc nickserv set warning This nickname is registered and protected.  If it is your

If warning is not set, the identify on NickServ warning feature is disabled.

The unset command

To unset a setting use /sbnc nickserv unset <setting>. Vaild settings are: nick, password, reply and warning. Due to sBNC restrictions delayjoin can not be unset, it can only be disabled.

The identify command

The identify command will attempt to identfy you with the settings you have set via set. You can use it to manually identify or to test your settings.

The help command

To get help with nickserv.tcl use /sbnc nickserv help [topic]. When topic is not provided you will be shown a more general help text. Vaild topics are general, set, unset, disable and identify.

Disabling nickserv.tcl functions

To disable nickserv.tcl functionlity for your account unset password, reply or both via the /sbnc nickserv unset command. If you want to disable the auto-ghost feature unset nick, if you want to disable the identify on NickServ warning unset warning.

Version History

Version 4

  • Cosmetic changes to unset
  • Added the ”/sbnc nickserv identify” command
  • Fixed a bug that rendered nickserv.tcl useless on freenode (reported by b52)

Version 3

  • Changed bind structure to enhance performance
  • Minimal changes to “set” output to prevent confusion about settings

Version 2

  • Fixed typo
  • Added pattern to server bind

Version 1

  • initial release

Comments, Bugs and Suggestions

Feel free to leave comments, questions, bug reports and suggestions in this thread or contact El_Rico in #sbnc on irc.quakenet.org (the “do not query staff” rule applies regardless).

 
en/1.2/userscripts/nickserv.tcl.txt · Last modified: 2011/08/27 15:15 (external edit)
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki