You are either not logged in or not registered with our community. Click here to register.
 
December 06, 2016, 06:26:11 AM

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

Click here if you are having problems.
Default Wide Screen Beige Lilac Rainbow Black & Blue October Send us your theme!

Hark!  The Herald!
Holiday Issue 2016

Wiki Blogs Dicebot

Author Topic: Guide: Making your own permanent channel on IRC  (Read 8049 times)

0 Members and 1 Guest are viewing this topic.

Offline LithosTopic starter

Guide: Making your own permanent channel on IRC
« on: June 17, 2009, 04:52:52 AM »
Introduction:

Creating new channel in IRC is very easy... just /join a channel that does not exist yet. Anyway, that is by no means permanent or safe solution, you lose the channel if there are no ops present or if everyone logs off, there are no records of who is op and who is not, no permanent autokick records.. nothing useful.

For these reasons, it is advisable that any permanent channel uses Chanserv, a helpful service made to keep channels both 1: Permanent and 2: Safe. Below is guide to how to do this, and link where you can get more info - hunger grows when eating after all :)


I - Using IRC - Channel management:

Below are some most needed chanserv commands, there are ton of others, and you can always see updated list at:

http://www.sorcery.net/content/view/34/423/


Registering new channel to ChanServ: REGISTER

Syntax
/ChanServ register [channel] [password] [description]

Parameters
[channel]: Channel name
[password]: Channel password
[description]: Short description of your channel

Registers channel with you as its founder. You need to have registered your nickname and you need to be opped in the channel in order for this to succeed. Remember the password you set, as it is needed for changing certain settings in the future. The description parameter takes a short description for your channel that will be displayed when someone uses the info command on your channel.

Example: Register #mychannel with password secret

/ChanServ register #mychannel secret This is my channel


Identifying to your newly made channel as its founder (highest level tasks need you to do this): IDENTIFY

IDENTIFY

Syntax
/ChanServ identify [channel]

Parameters
channel Channel name password Channel password

Allows you to gain founder level access to the channel channel with the channel password. Adjusting certain settings requires this method of authentication.

Example: Identify to #mychannel with password secret
/ChanServ identify #mychannel secret


Adding operators to newly registered channel: ADDOP

ADDOP

Syntax
/ChanServ addop [channel] [level]

 
Parameters
[channel]: Channel name
[nick]: Nickname
[level] (optional): Access level

Adds nick to channel as a level level operator. If level is omitted, level 5 will be used. For a detailed description of the different levels see the access command.

Example: Add SomeNick as a level 10 operator to #mychannel

/ChanServ addop #mychannel SomeNick 10


Removing OP:s that are not doing their job: DELOP

DELOP

Syntax
/ChanServ delop [channel]

Parameters
[channel]: Channel name [nick]: Nickname to remove

Removes nick as an operator from channel.

Example: Remove BadOp from #mychannel.
/ChanServ delop #mychannel BadOp


Auto kicking those pesky trolls: AKICK

AKICK

Syntax
/ChanServ akick [channel]

Parameters
[channel] Channel name
~add

Syntax
/ChanServ akick [channel] add [mask][reason]

Parameters
[channel]: Channel name
[mask]: Mask to autokick [reason] (optional): Short note for future reference

Alias for addak.
~del

Syntax
/ChanServ akick [channel] del [mask]

Parameters
[channel]: Channel name
[mask]: Mask of the autokick to remove

Alias for delak.
~list

Syntax
/ChanServ akick [channel] list

Parameters
[channel] Channel name

Alias for listak.
~wipe
Syntax

 
/ChanServ akick [channel] wipe

Parameters
[channel] Channel name

Alias for wipeak.


Checking what permissions user in channel has: ACCESS

ACCESS

Syntax
/ChanServ access [channel] [nick]

Parameters
[channel]: Channel name
[nick] (optional): Nickname

Shows you the access level nick has in the channel channel. If nick is omitted, it will show your access level.

The levels are defined as follows:
Level    Name   Meaning
3   Mini-AOP   User wil be voiced when entering the channel.
5    AOP   User will be opped when entering the channel.
8   Mini-SOP   At this level, the user can also set akicks.
10   SOP   User can add operators at level 5 or below.
13   Mini-Founder    User can also use the set modelock, set topiclock and set restrict commands.
15   Founder    Channel owner. Can make any changes to channel.


Setting autogreeting to greet the people who join your channel:

SET

Syntax
/ChanServ set [channel]

Parameters [channel]: Channel name
~autogreet

Syntax
/ChanServ set [channel] autogreet

Parameters [channel]: Channel name [text]: Autogreet text

The autogreet is a text that will be sent to a user who joins the channel. This command let's you set the autogreet text.

Example: To set a autogreet for #mychannel explaining your channel rules
/ChanServ set #mychannel autogreet Welcome to my channel. Please do not use colours in here.

IMPORTANT: Setting op permissions so that auto opped people must have identified to their nicks:

~ident

Syntax
/ChanServ set [channel] ident [on|off]

Parameters
[channel]: Channel name
[on]: Require channel operators to be identified to their nick
[off]: Don't require channel operators to be identifies to their nick

When set to on, channel operators can only receive ops if they have identified to their nick. When off, operators will also be recognized if they match a mask in their access list.

Example: Don't allow unidentified ops in #mychannel
/ChanServ set #mychannel ident on

Setting fixed modes to your channel (modes explained in lenght at reply below)

~mlock

Syntax
/ChanServ set [channel] mlock [mode]

Parameters
[channel]: Channel name
[mode] (optional): New mode setting to enforce

Locks certain modes for channel. If a conflicting mode is set on the channel, ChanServ will automatically revert the change. Any mode can be set to on (preceded by a plus), off (preceded by a minus) or not locked (an equal sign followed by the full mode string).
Mode
   
Description
+i   Invite-only, only users invited by other operators or ChanServ are allowed to join.
+H   Only allow users who show their unmasked hostname to the operators.
+k key   Keyed, users need to know the secret key to join.
+l number   Limited, don't allow more than number users in the channel.
+m   Moderated, users can only speak in the channel when voiced.
+n   Do not allow messages from people outside the channel.
+p   Private, invisible to users outside the channel, shown in /list, but without name or topic.
+s   Secret, same as private, but not shown in /list at all.
+t   Only channel operators can change the topic.

Example: To make #mychannel channel invisible in /list
/ChanServ set #mychannel mlock +s

Example: To make #smallandquiet moderated and limited to 14 users
/ChanServ set #smallandquiet mlock +ml 14

Example: To set the #topsecret to invite-only and allow any value for the other modes
/ChanServ set #topsecret mlock =i

This is the bare minimum of what you need to add nice channel that no one can take over whenever. There are a lot other very useful commands, please consult the link in the beginning for everything. For example, to set auto voice to identified nicks (the thing that we have for members on E), just set ident on and aop people with level 3 perms.
« Last Edit: June 17, 2009, 05:53:21 AM by Lithos »

Offline LithosTopic starter

Re: Guide: Making your own permanent channel on IRC
« Reply #1 on: June 17, 2009, 05:46:54 AM »
II. Introduction to channel modes

Here is basic info about various channel modes that you can use to tune your new channel to your liking.

s: Secret

If your channel is just for friends to chat and you are not interested in attracting strangers and newcomers, then the easiest way to keep your channel safe is to keep it secret. If people don't know about it, they can't attack it or take it over. Outsiders can still guess your channel name or stumble upon it accidentally. For example, making #greece secret isn't going to stop every Greek person from trying /join #greece anyway.

i: Invite-only

The most secure way to keep outsiders away is to make the channel invite-only, but be aware that can also keep your friends out unless they know a nickname of somebody inside to ask for an invitation. On most networks, most users are +i (invisible, not to be confused with the +i channel mode) and don't show up when you do a /names #channelname from outside. On some networks running Hybrid ircd you can try asking for a general invitation with /knock #channelname. You can also try looking at the ban list for the nick of an op to /msg, but often those are just bots who won't respond.

k: Keyword-protected

Alternatively, set a keyword or password, that way anybody who knows the keyword already can /join #channelname keyword without having to ask for an invitation. If necessary you can always change the keyword, anybody currently on the channel will see the new keyword, and you can notify others privately.

l: Limited

This sets a maximum to the number if users allowed to join a channel. Anyone trying to join a channel after this number is reached gets a "Channel is full" message from the server. Someone must leave in order for anyone else to get in, or the ops need to raise or remove the limit. Many channels use bots/scripts to maintain a "floating limit" usually set five to ten higher than the current user count. This prevents a massive number of malicious bots from joining the channel and attacking it all at once, making it easier for the ops to deal with the few that were able to get in.

m: Moderated and v: Voiced
   
Used together, these modes let you control who may speak, which is useful for controlling a busy channel. A user who is neither an op nor voiced would get a "Cannot send to channel" error message from the server if she tries to type to the channel. This can be helpful such as if there is some special event like a celebrity interview, where only a few people should be talking but many more are there to observe in silence. You can use +m temporarily if somebody is flooding or you suspect they are about to flood, as a way to warn that user without having to kick them out, or to buy you some time to set the proper bans. If your channel has hundreds of people or more, you may need to keep it +m all the time or else the chat would scroll nonstop. Just remember, unless you make it clear in the topic or autogreet how a user might ask for a voice, they may leave out of confusion or frustration. In a channel that is not moderated, the voiced user has no extra powers. Some channels use +v to designate a "friend" status since, if the channel gets set to +m, they will already have their voice. Other channels may use that designation for their own purposes or definitions, like a user or bot who has the channel's approval to send files.

Multiple modes

You can combine many mode changes on one line (typically 4). For instance, if you want to give four people ops, you can: /mode #mychan +oooo nick1 nick2 nick3 nick4. You can also combine + and - modes, such as /mode #mychan +vv-vv nick1 nick2 nick3 nick4 would give voice to nick1 and nick2, but take it away from nick3 and nick4. Likewise, /mode #channel +sti-lm would activate secret, topic, and invite-only modes, and deactivate the limit and moderated modes. If you are defending against an attack, it may be necessary to use these multiple modes to act as quickly as possible. Naturally, any of these mode commands can be used for both offense and defense, so be careful.