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.
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).
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é.
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:
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.
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
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
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
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
External bonds
Random links: Catherine Tasca | Inhibidor selectivo del reuptake de la serotonina | Canton of Borough-in Oisans | Canton of Vabre | Hermann Grote | Regueb | Hejira_(album)