There are a number of modes you can set when you use SorceryNet's ircd. Some modes change the way channels work; these are called channel modes. Some modes change the things you see, or who can see you; these are called user modes. There are also some user modes reserved for staff; these are called oper modes.
Channel modes change the way IRC channels work. Some modes, like +k and +b, are followed by an argument. Others stand on their own. For example, to make the user Argyle a channel operator (channel mode +o) in channel #socks, you might use this command:
In some IRC programs you could use /op Argyle to do the same thing, and in others you might right-click a mouse button on a nick to op someone, but in the end it's always the same mode change that happens.
You can use the mode command with no modes after it to see the current channel modes of any channel you're in:
You can remove a mode with a - instead of a + in front of it:
To set the channel #Socks to mode +n and to take away the t mode, at the same time, you'd do this:
If you set or change several modes at a time, any arguments get strung along at the end. Hence, to set a channel called #moria to have a key of mellon and to make Balrog a channel operator, you might do:
This is most often used with +o and +b.
You can only change modes of a channel if you are in that channel.
You can get a list of bans in a channel like this:
+k key |
Set a channel key; in order to join the channel, people have to type something like this: /join #chan the-key
When the key is first set, everyone in the channel will see it. If you use chanserv to set a key with mlock, the first person to enter the channel will see chanserv join the channel and kick them out; chanserv will set the key, and will stay until someone joins using it, or until 30 seconds have passed, whichever happens first. |
+o nick |
Makes nick be a temporary channel operator. Most IRC programs show channel operator nicks with a @ in front of them when they show who is in a channel. /mode #sock +o Argyle
Use ChanServ's addop command to make someone be a channel operator whenever they join a channel: /cs addop #chan nick 5
For an explanation of the 5 here: /cs help levels
|
+v nick |
give voice to nick; this lets nick speak in a moderated (+m) channel, or if nick is in a channel from which they've been banned but not kicked (see channel mode +b). Some channels use +v to mean something like “apprentice channel operator” (e.g. #Help) but there's nothing in ircd to support that. Most IRC programs show voiced nicks with a + in front of them when they show who is in a channel. /mode #sock +v tubey
Use ChanServ's addop command to make someone be voiced whenever they join a channel: /cs addop #chan nick 3
For an explanation of the number three here: /cs help levels
|
+b mask |
Bans all users matching mask from the channel. See the section on masks for more information. You can ban people who have host masking (user mode +m) and whose masks end in msk, just the same as unmasked users. A ban mask starting with % is matched against only non-masked addresses, so that yuo can avoid accidentally matching a string that occurs in a computer-generated host mask. Banning disruptive users from a channel is one of the most important things that channel operators do. If you set a ban badly, a banned user might be able to come back into the channel, so it's worth understanding bans and masks well. Experimental Features
There are four kinds of experimental ban on SorceryNet. You can try these on the test net. You use them by putting a letter followed by a dollar sign as the argument to +b, as you'll see. Note that ordinary (non-experimental) bans are matched first, and if there's a match, the user trying to join a channel is banned without any of the experimental bans beng used.
|
+l n |
Limit the channel to at most n users; for example, if you limit #glove to five users, the sixth person trying to join will be told the channel is full: /mode #glove +l 5
You can't combine +l with other modes in the same command. |
+i |
Invite only: people can only join this channel if a channel operator uses the /invite command: /mode #glove +i
/invite #glove thumb
You can also use ChanServ to invite you to a +i channel: /cs invite #glove me
You actually type me, not your nick, in that command. |
+p |
Private: a private channel is the same as a secret (+s) channel) except that it generates an entry with no name or topic in the channel list, so people can see how many private channels there are. This is essentially useless and will probably be changed in the future. |
+s |
Secret: a secret channel is not shown in channel list output from the /list command unless you are in the channel. In addition, secret channels don't show up in the output of /who or /whois, so you can't tell that someone is in a secret channel unless you are in it too. |
+m | Moderated; No-one can speak except channel operators (channel mode +o) and voiced users (with channel mode +v). It's sometimes useful to set a channel to +m if it's being flooded, or if several visitors are being rude; often the simplest way to do this is with ChanServ: /cs mlock #glove +m
You can remove the mode lock afterwards: /cs mlock #glove -m
|
+t | topic can only be changed by channel operators. See also /cs help topiclock
|
+n | no outsiders: if this mode is set, people have to be in the channel to speak in it. Otherwise, you can speak in a channel you're not inside: /msg #sock the shoe is coming!
Since this is disruptive, and since you can't ban people who aren't in your channel to start with, this mode is set by default. |
+H | Host Mode: when a channel has this flag set, you have to join it in a special way, so that the channel operators can see your Internet Address (your IP). This is an Experimental feature only available on the test net. |
+c | A channel with this mode set doesn't allow mIRC or ANSI colours to be used in messages. This is an Experimental feature only available on the test net. |
User modes are very like channel modes, except that you apply them to a nick instead of a channel, and there aren't any right now that take arguments like the +k channel mode.
+i | invisible unless you're in the same channel |
+s | watching server notices |
+w | watching wallops |
+k | watching kills |
+m | masked internet address, so other users can't easily try to gain access to your computer; see the section on masks below. |
+r | has a registered nick (currently unused) |
Oper modes are user modes that only staff can use. Usually this is because if anyone could use them, people could be very disruptive. In some cases it's because staff need to control what information they see, depending on how busy they are and on whether they can do anything about it or not.
Being an IRC operator on a busy network is like being an operator on a very busy channel: it can be a lot of work, and sometimes it stops being fun. Staff can use the /oper and /deoper commands to go on and off duty, as it were; when they are not opered, staff can't use any of the oper modes.
+o | oper |
+O | local oper |
+g | watching failed oper attempts (non-opers can set this mode, but not see anything useful with it) |
+h | helpop - can use sendpass and can see /quote help stuf |
+c | watching client connect and exits |
+f | watching flood notices |
+l | can log with /LOG |
+t | trojan, can see /trojan messages (like globops, but also generated when a su7 server is detected); currently unused |
When you ban someone from a channel, you use a special kind of pattern called a mask to match them. Everyone that the mask matches will be kept out of the channel, so you can easily ban a lot more people than you expect.
With a little practice, you'll find it easy to ban people effectively, and your channel will run more smoothly.
A mask has three parts: the nick, the username and the hostname. The first of these is pretty obvious. Nicks and hostnames on IRC are not case sensitive, so that ankh and ANKH are the same user as far as IRC is concerned. Usernames are case sensitive.
A mask looks like nick!username@hostname and that's how you use it in a channel ban too.
You can find out a user's current username and hostname with the whois command, or with the userhost command in some IRC programs.
Very often you'll see someone on a dialup or cable modem will look like this:
It's a good guess that if jim disconnects his modem and then redials, he'll get a new hostname, with the numbers changed.
If we need to ban jim6 from #sock, we might do this:
You can see that we've used a star (*) instead of the group of numbers that's most likely to change, and also a star instead of the nick. The star in a mask matches anything, so that this ban means any nick at all with a username of james and a hostname starting with ppp- and ending in .tether.mit.edu.
If jim had user mode +m set, you wouldn't be able to see his hostname. Instead, you'd see something like this:
It turns out that you can still ban jim from your channel just as effectively:
Just be careful to include the -hmsk, .hmsk or .imsk at the end!
Sometimes a user's hostname will be numeric, an Internet Protocol host address:
This means that our irc server couldn't find the proper hostname for that user (often a problem at the ISP). You can still ban such users, but the trick is that the leftmost number varies the least:
would probably be an effective ban.
If sue had her address masked, she'd look like this:
Notice how the first two numbers, 3 and 1, are the same as the last two numbers in the actual numeric host address. You can still ban her:
Again, be very careful to include the .imsk or the ban won't work.
If you have problems, or if it's all too confusing, you can always come and visit us in #Help and we'll try and show you in more detail. The mIRC IRC program for Windows has a tutorial on banning people, too.