|
ChanServ:SET
From EScriptIRC, The IRC-related documentation wiki
Syntax: /msg ChanServ SET channel option parameters
Allows the channel founder to set various channel options and other information. Available options:
FOUNDER Set the founder of a channel SUCCESSOR Set the successor for a channel PASSWORD Set the founder password DESC Set the channel description URL Associate a URL with the channel EMAIL Associate an E-mail address with the channel ENTRYMSG Set a message to be sent to users when they enter the channel BANTYPE Set how Services make bans on the channel MLOCK Lock channel modes on or off KEEPTOPIC Retain topic when channel is not in use OPNOTICE Send a notice when OP/DEOP commands are used PEACE Regulate the use of critical commands PRIVATE Hide channel from LIST command RESTRICTED Restrict access to the channel SECURE Activate ChanServ security features SECUREOPS Stricter control of chanop status SECUREFOUNDER Stricter control of channel founder status SIGNKICK Sign kicks that are done with KICK command TOPICLOCK Topic can only be changed with TOPIC XOP Toggle the user privilege system NOEXPIRE Set whether or not the given channel expires.
Note that services admins can set options for any channel without identifying by password for the channel.
SET FOUNDER
Syntax: /msg ChanServ SET channel FOUNDER nick
Changes the founder of a channel. The new nickname must be a registered one.
SET SUCCESSOR
Syntax: /msg ChanServ SET channel SUCCESSOR nick
Changes the successor of a channel. If the founder's nickname expires or is dropped while the channel is still registered, the successor will become the new founder of the channel. However, if the successor already has too many channels registered (20), the channel will be dropped instead, just as if no successor had been set. The new nickname must be a registered one.
SET PASSWORD
Syntax: /msg ChanServ SET channel PASSWORD password
Sets the password used to identify as the founder of the channel.
SET DESC
Syntax: /msg ChanServ SET channel DESC description
Sets the description for the channel, which shows up with the LIST and INFO commands.
SET URL
Syntax: /msg ChanServ SET channel URL [url]
Associates the given URL with the channel. This URL will be displayed whenever someone requests information on the channel with the INFO command. If no parameter is given, deletes any current URL for the channel.
SET EMAIL
Syntax: /msg ChanServ SET channel EMAIL [address]
Associates the given E-mail address with the channel. This address will be displayed whenever someone requests information on the channel with the INFO command. If no parameter is given, deletes any current E-mail address for the channel.
SET ENTRYMSG
Syntax: /msg ChanServ SET channel ENTRYMSG [message]
Sets the message which will be sent via /notice to users when they enter the channel. If no parameter is given, causes no message to be sent upon entering the channel.
SET BANTYPE
Syntax: /msg ChanServ SET channel BANTYPE bantype
Sets the ban type that will be used by services wheneverthey need to ban someone from your channel. bantype is a number between 0 and 3 that means:
0: ban in the form *!user@host 1: ban in the form *!*user@host 2: ban in the form *!*@host 3: ban in the form *!*user@*.domain
SET MLOCK
Syntax: /msg ChanServ SET channel MLOCK modes
Sets the mode-lock parameter for the channel. ChanServ allows you to define certain channel modes to be always on, off or free to be either on or off. The modes parameter is constructed exactly the same way as a /MODE command; that is, modes followed by a + are locked on, and modes followed by a - are locked off. Note, however, that unlike the /MODE command, each use of SET MLOCK will remove all modes previously locked before setting the new! Warning: If you set a mode-locked key, as in the second example below, you should also set the RESTRICTED option for the channel (see SET RESTRICTED), or anyone entering the channel when it is empty will be able to see the key! Examples:
SET #channel MLOCK +nt-iklps
Forces modes n and t on, and modes i, k, l, p, and s off. Mode m is left free to be either on or off.
SET #channel MLOCK +knst-ilmp my-key
Forces modes k, n, s, and t on, and modes i, l, m, and p off. Also forces the channel key to be "my-key".
SET #channel MLOCK +
Removes the mode lock; all channel modes are free to be either on or off.
SET KEEPTOPIC
Syntax: /msg ChanServ SET channel KEEPTOPIC {ON | OFF}
Enables or disables the topic retention option for a channel. When topic retention is set, the topic for the channel will be remembered by ChanServ even after the last user leaves the channel, and will be restored the next time the channel is created.
SET OPNOTICE
Syntax: /msg ChanServ SET channel OPNOTICE {ON | OFF}
Enables or disables the op-notice option for a channel. When op-notice is set, ChanServ will send a notice to the channel whenever the OP or DEOP commands are used for a user in the channel.
SET PEACE
Syntax: /msg ChanServ SET channel PEACE {ON | OFF}
Enables or disables the peace option for a channel. When peace is set, an user won't be able to kick, ban or remove a channel status of an user that has a level superior or equal to his via ChanServ commands.
SET PRIVATE
Syntax: /msg ChanServ SET channel PRIVATE {ON | OFF}
Enables or disables the private option for a channel. When private is set, a /msg ChanServ LIST will not include the channel in any lists.
SET RESTRICTED
Syntax: /msg ChanServ SET channel RESTRICTED {ON | OFF}
Enables or disables the restricted access option for a channel. When restricted access is set, users who would normally be disallowed from having channel operator privileges (users with negative access levels and, if secure ops is set, users not on the access list) will instead be kicked and banned from the channel.
SET SECURE
Syntax: /msg ChanServ SET channel SECURE {ON | OFF}
Enables or disables ChanServ's security features for a channel. When SECURE is set, only users who have registered their nicknames with NickServ and IDENTIFY'd with their password will be given access to the channel as controlled by the access list.
SET SECUREOPS
Syntax: /msg ChanServ SET channel SECUREOPS {ON | OFF}
Enables or disables the secure ops option for a channel. When secure ops is set, users who are not on the userlist will not be allowed chanop status.
SET SECUREFOUNDER
Syntax: /msg ChanServ SET channel SECUREFOUNDER {ON | OFF}
Enables or disables the secure founder option for a channel. When secure founder is set, only the real founder will be able to drop the channel, change its password, its founder and its successor, and not those who are IDENTIFY'd with ChanServ.
SET SIGNKICK
Syntax: /msg ChanServ SET channel SIGNKICK {ON | LEVEL | OFF}
Enables or disables signed kicks for a channel. When SIGNKICK is set, kicks issued with ChanServ KICK command will have the nick that used the command in their reason. If you use LEVEL, those who have a level that is superior or equal to the SIGNKICK level on the channel won't have their kicks signed. See SET LEVELS for more information.
SET TOPICLOCK
Syntax: /msg ChanServ SET channel TOPICLOCK {ON | OFF}
Enables or disables the topic lock option for a channel. When topic lock is set, ChanServ will not allow the channel topic to be changed except via the TOPIC command.
SET XOP
Syntax: /msg ChanServ SET channel XOP {ON | OFF}
Enables or disables the xOP lists system for a channel. When XOP is set, you have to use the AOP/SOP/VOP commands in order to give channel privileges to users, else you have to use the ACCESS command. Technical Note: when you switch from access list to xOP lists system, your level definitions and user levels will be changed, so you won't find the same values if you switch back to access system! You should also check that your users are in the good xOP list after the switch from access to xOP lists, because the guess is not always perfect... in fact, it is not recommended to use the xOP lists if you changed level definitions with the LEVELS command. Switching from xOP lists system to access list system causes no problem though.
SET NOEXPIRE
Syntax: /msg ChanServ SET channel NOEXPIRE {ON | OFF}
Sets whether the given channel will expire. Setting this to ON prevents the channel from expiring.
Back to ChanServ commands.