2.0/Modules/ns set

From AnopeWiki
Revision as of 02:57, 5 May 2014 by Azander (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language

English

Service NickServ
Module ns_set
Author Anope

Description

Sets various nickname options. option can be one of:

SET AUTOOP Sets whether services should set channel status modes on you automatically.
SET DISPLAY Set the display of your group in Services
SET EMAIL Associate an E-mail address with your nickname
SET FACEBOOK Associate a Facebook URL with your account
SET GREET Associate a greet message with your nickname
SET HIDE Hide certain pieces of nickname information
SET KEEPMODES Enable or disable keep modes
SET KILL Turn protection on or off
SET LANGUAGE Set the language Services will use when messaging you
SET PASSWORD Set your nickname password
SET PRIVATE Prevent the nickname from appearing in the LIST command
SET SECURE Turn nickname security on or off
SET TWITTER Associate a Twitter account with your account
SET URL Associate a URL with your account

Type /msg NickServ HELP set option for more information on a specific option.

Commands

SET AUTOOP {ON | OFF}
Sets whether you will be given your channel status modes automatically. Set to ON to allow ChanServ to set status modes on you automatically when entering channels. Note that depending on channel settings some modes may not get set automatically.
SET DISPLAY new-display
Changes the display used to refer to your nickname group in Services. The new display MUST be a nick of your group.
SET EMAIL emailaddress
Associates the given E-mail address with your nickname. This address will be displayed whenever someone requests information on the nickname with the INFO command.
SET FACEBOOK FacebookID
Associates the given Facebook Name with your nickname. This address will be displayed whenever someone requests information on the nickname with the INFO command.
SET GREET message
Makes the given message the greet of your nickname, that will be displayed when joining a channel that has GREET option enabled, provided that you have the necessary access on it.
SET HIDE {EMAIL | STATUS | USERMASK | QUIT} {ON | OFF}
Allows you to prevent certain pieces of information from being displayed when someone does a NickServ INFO on your nick. You can hide your E-mail address (EMAIL), last seen user@host mask (USERMASK), your services access status (STATUS) and last quit message (QUIT). The second parameter specifies whether the information should be displayed (OFF) or hidden (ON).
SET KEEPMODES {ON | OFF}
Enables or disables keepmodes for your nick. If keep modes is enabled, services will remember your usermodes and attempt to re-set them the next time you authenticate.
SET KILL {ON | QUICK | IMMED | OFF}
Turns the automatic protection option for your nick on or off. With protection on, if another user tries to take your nick, they will be given one minute to change to another nick, after which NickServ will forcibly change their nick.
If you select QUICK, the user will be given only 20 seconds to change nicks instead of the usual 60. If you select IMMED, the user's nick will be changed immediately without being warned first or given a chance to change their nick; please do not use this option unless necessary. Also, your network's administrators may have disabled this option.
SET LANGUAGE language
Changes the language Services uses when sending messages to you (for example, when responding to a command you send). language should be chosen from the following list of supported languages:
en (English)
ca_ES.UTF-8 (Catala)
de_DE.UTF-8 (Deutsch)
el_GR.UTF-8 (Ελληνικά)
es_ES.UTF-8 (Español)
fr_FR.UTF-8 (Français)
hu_HU.UTF-8 (Magyar)
it_IT.UTF-8 (Italiano)
nl_NL.UTF-8 (Nederlands)
pl_PL.UTF-8 (Polski)
pt_PT.UTF-8 (Português)
ru_RU.UTF-8 (Русский)
tr_TR.UTF-8 (Türkçe)
SET PASSWORD new-password
Changes the password used to identify you as the nick's owner.
SET PRIVATE {ON | OFF}
Turns NickServ's privacy option on or off for your nick. With PRIVATE set, your nickname will not appear in nickname lists generated with NickServ's LIST command. (However, anyone who knows your nickname can still get information on it using the INFO command.)
SET SECURE {ON | OFF}
Turns NickServ's security features on or off for your nick. With SECURE set, you must enter your password before you will be recognized as the owner of the nick, regardless of whether your address is on the access list. However, if you are on the access list, NickServ will not auto-kill you regardless of the setting of the KILL option.
SET TWITTER twitter-handle
Associates the given twitter handle with your nickname. This address will be displayed whenever someone requests information on the nickname with the INFO command.
SET URL web-address
Associates the given Website URL with your nickname. This address will be displayed whenever someone requests information on the nickname with the INFO command.

Examples

/msg NickServ SET AUTOOP On

/msg NickServ SET DISPLAY Fred

/msg NickServ SET EMAIL fred@example.com

/msg NickServ SET FACEBOOK FredFlinstoner

/msg NickServ SET GREET Hello world!

/msg NickServ SET HIDE EMAIL ON

/msg NickServ SET KEEPMODES ON

/msg NickServ SET KILL ON

/msg NickServ SET LANGUAGE en

/msg NickServ SET PASSWORD QuIIP4G

/msg NickServ SET PRIVATE OFF

/msg NickServ SET SECURE ON

/msg NickServ SET TWITTER @FredFlinstoner

/msg NickServ SET URL Http://www.fred-flinstoner.tv


Default Configuration

/*
 * ns_set
 *
 * Provides the commands:
 *   nickserv/set, nickserv/saset - Dummy help wrappers for the SET and SASET commands.
 *   nickserv/set/autoop, nickserv/saset/autoop - Determines whether or not modes are automatically set users when joining a channel
.
 *   nickserv/set/display, nickserv/saset/display - Used for setting a users display name.
 *   nickserv/set/email, nickserv/saset/email - Used for setting a users email address.
 *   nickserv/set/keepmodes, nickserv/saset/keepmodes - Configure whether or not services should retain a user's modes across sessio
ns.
 *   nickserv/set/kill, nickserv/saset/kill - Used for configuring nickname protection.
 *   nickserv/set/language, nickserv/saset/language - Used for configuring what language services use.
 *   nickserv/set/message, nickserv/saset/message - Used to configure how services send messages to you.
 *   nickserv/set/password, nickserv/saset/password  - Used for changing a users password.
 *   nickserv/set/secure, nickserv/saset/secure - Used for configuring whether a user can identify by simply being recognized by nic
kserv/access.
 *   nickserv/saset/noexpire - Used for configuring noexpire, which prevents nicks from expiring.
 */
module
{
        name = "ns_set"                                                                                           
 
        /*                                                                                                        
         * Allow the use of the IMMED option in the NickServ SET KILL command.                                    
         *                                                                                                        
         * This directive is optional.                                                                            
         */                                                                                                       
        #allowkillimmed = yes                                                                                     
}                 
 
command { service = "NickServ"; name = "SET"; command = "nickserv/set"; }
command { service = "NickServ"; name = "SASET"; command = "nickserv/saset"; permission = "nickserv/saset/"; group = "nickserv/admin"
; }
 
command { service = "NickServ"; name = "SET AUTOOP"; command = "nickserv/set/autoop"; }
command { service = "NickServ"; name = "SASET AUTOOP"; command = "nickserv/saset/autoop"; permission = "nickserv/saset/autoop"; }
 
command { service = "NickServ"; name = "SET DISPLAY"; command = "nickserv/set/display"; }
command { service = "NickServ"; name = "SASET DISPLAY"; command = "nickserv/saset/display"; permission = "nickserv/saset/display"; }
 
command { service = "NickServ"; name = "SET EMAIL"; command = "nickserv/set/email"; }
command { service = "NickServ"; name = "SASET EMAIL"; command = "nickserv/saset/email"; permission = "nickserv/saset/email"; }
 
command { service = "NickServ"; name = "SET KEEPMODES"; command = "nickserv/set/keepmodes"; }                     
command { service = "NickServ"; name = "SASET KEEPMODES"; command = "nickserv/saset/keepmodes"; permission = "nickserv/saset/keepmod
es"; }
 
command { service = "NickServ"; name = "SET KILL"; command = "nickserv/set/kill"; }                               
command { service = "NickServ"; name = "SASET KILL"; command = "nickserv/saset/kill"; permission = "nickserv/saset/kill"; }     
 
command { service = "NickServ"; name = "SET LANGUAGE"; command = "nickserv/set/language"; }                       
command { service = "NickServ"; name = "SASET LANGUAGE"; command = "nickserv/saset/language"; permission = "nickserv/saset/language"
; }
 
command { service = "NickServ"; name = "SET MESSAGE"; command = "nickserv/set/message"; }                         
command { service = "NickServ"; name = "SASET MESSAGE"; command = "nickserv/saset/message"; permission = "nickserv/saset/message"; }
 
command { service = "NickServ"; name = "SET PASSWORD"; command = "nickserv/set/password"; }
command { service = "NickServ"; name = "SASET PASSWORD"; command = "nickserv/saset/password"; permission = "nickserv/saset/password"
; }
 
command { service = "NickServ"; name = "SET SECURE"; command = "nickserv/set/secure"; }
command { service = "NickServ"; name = "SASET SECURE"; command = "nickserv/saset/secure"; permission = "nickserv/saset/secure"; }
 
command { service = "NickServ"; name = "SASET NOEXPIRE"; command = "nickserv/saset/noexpire"; permission = "nickserv/saset/noexpire"
; }