Modes IRC

On a Waiter IRC, the modes are means of protecting the channels, the users… or of allotting privileges, to even activate options during the session. The modes have several levels going of the management of the waiter, while passing by that of the channels and also of the utilisateurs.

The /MODE order

Each mode has a particular function and is generally applied thanks to the /MODE order. Only a user having privileges on a channel or a waiter can modify the modes of this last and also of the other users (according to its level of access, IrcOp, Services Admin, Opérateur of channel, Half-COp…). The /MODE order is one of most important because it makes it possible to control many options. Its syntax is the following one:

/MODE +|-

The same order makes it possible to change the modes on several levels on waiter IRC. It is thus necessary to know to which level one wants to apply a mode.
For example, within a channel #exemple, for opper a user " User1" , an operator will proceed as follows:

/MODE #exemple +o User1

Application of the modes on the users

Now if one wants déopper the same user, it is enough to replace the " +" by a " - ". Logic showing that the plus sign indicates that a mode is added, and signs it less, withdraws un.
from it Now, if one wants opper several users of a blow (for example User1, User2 and User3), one can do it by adding the number of modes followed by the same number of users:

/MODE #exemple +ooo User1 User2 User3

It is of course possible thereafter of déopper or to separately change the modes for each user, as in the first example. Moreover, it is possible to combine various modes to apply them to various users in only one operation (it is possible to carry out up to 6 placements of modes in only once).
For example, one wants opper User1, to give the status Half-COp to User2 and voicer User3 in the channel #exemple. It is enough to proceed like this:

/MODE #exemple +ohv User1 User2 User3

The modes are applied in the order where they are indicated and it goes in the same way for the users. From where fundamental importance of the order in the orders. An error being able to cause a COp non-désiré.
It is now possible to tackle the question of the combined changes of the modes. Indeed, one can easily activate modes all while decontaminating some of others in the same operation. For example, one wants opper User1 (+o), voicer (+v) User2, die-halfopper (- H) User3, dévoicer (- v) User4 and to activate the moderate mode (+m) channel #exemple:

/MODE #exemple +mov-hv User1 User2 User3 User4

By convenience, one will place the mode of the channel (m) in first, like that, it is easier to supervise than one makes with the user modes. This example shows that one can combine activations/desactivations of modes and also of the user modes and channel. One also notices that to apply the modes, it was not necessary to repeat the plus signs and less (+m+o+v-h-v) because the modes are treated by batches, which makes the things simpler.

In these examples, we tackled only the question of the modes within a channel. But they can also apply at the higher level, i.e. the waiter, him even.

The user modes inside a channel are the following:

  • O : Operator mode of the channel. An operator has control and controls the activity of his channel. He can exclude ( round of applause ) somebody, to expel in a specific way ( kick ), to change the modes of the channel, his subject ( topic )…
  • Q : Reserved special mode with ChanServ or the IrcOp S having rights suffisemment raised. It is the mode which marks the user like operator founder of the channel . It protects it from the kicks and allows him to raise the banns on itself if necessary. It gives full access to the management of the channel. The mode combines to the mode operator (+oq).
  • has : User protected from the kicks (generally the second operator of the channel or the successor of the person which founded the channel). This mode generally functions in conjunction with the +o mode (one speaks then about operator in +oa).
  • H : Mode half-COp. It is about an semi-operator who can proceed to kicks, banns, changes of topics, but he does not have access to all the modes of the channel.
  • v : Mode voice ( voice ). Do not give a particular privilege. It makes it possible only the user to speak on a moderate channel (+m). Failing this, it will be able nothing to say and the other user on the channel will not see the messages that it sends. This mode is useless if the channel is not moderate.

Application of the modes on a channel

Some is the application, the /MODE order functions always in the same way. It is right the parameters which change according to what must undergo the change of mode.
The preceding exmples show the changes on users. The channels can also undergo changes of modes, to generally protect them. In this case, it is enough to make follow the /MODE order by the name of the channel and the modes to be modified:

/MODE #exemple +m /MODE #exemple - s+i /MODE #exemple +nt-l 4

As for the user modes, the combinations of modes are possible. And it is also possible to add user modes after the modes of the channel. If necessary, it is enough to make them follow pseudos of the people concerned.

External bonds

  • Assistance IRC
  • General information on the modes
  • user Modes and channel in the documentation of UnrealIRCd

Random links:Catherine Tasca | Inhibidor selectivo del reuptake de la serotonina | Canton of Borough-in Oisans | Canton of Vabre | Hermann Grote | Regueb | Hejira_(album)