Много чего из описанного было позимствованно из документации старой фриноды. Кое-что было взято из других источников.
Disclamer: В виду того, что для NickServ и ChanServ жёсткой стандартизации нет, каждая сеть реализует их по-своему, придерживаясь некоторого общего гайдлайна.
И поэтому NickServ и ChanServ здесь описаны в некоторых общих чертах и могут работать по разному в разных сетях.
Тем не менее, команда HELP как правило доступна в большинстве реализаций сервисов.
Server/Channel window commands
Command | Description | Comment |
---|---|---|
/join #channel |
Joins the specified channel. | |
/part #channel |
Leaves the specified channel. | |
/quit [message] |
Disconnects from current server with optional leaving message. | |
/nick nickname |
Changes your nick. | |
/list |
Lists all channels on the current network. | Только видимые каналы |
/names #channel |
Shows the nicks of all users on #channel. | |
/me action |
Prints "yourname action". | Имеет смысл делать это на канале. |
/msg nickname message |
Sends a private message to a user. | |
/notice nickname message |
Sends a notice to the specified user. | Like a /msg, but usually makes a sound. |
/ping nickname |
Pings the specified user. | This action is visible to the specified user. |
/query nickname message |
Sends a private message to a user and opens a private chat window. | Видимо, работает в каком-нибудь mirc |
/links |
Lists all servers on the current network. | May be disabled "for security reasons". |
/whois nickname |
Shows information about the specified user. | This action is not visible to the specified user. |
/whowas nickname |
Shows information about a user who has quit. | |
/dns nickname |
Attempts to resolve the IP address of the specified user. | Doesn't work on all networks, doesn't work all the time. |
Nick Management (NickServ)
All nickserv commands begin with /ns
or /msg NickServ
. Depending on your client, /ns
may not work.
Command | Description | Comment |
---|---|---|
/msg NickServ register password [email] |
Registers your current nick with NickServ with the chosen password and binds it to an e-mail address (optional). | |
/msg NickServ identify password |
Identifies your nick to NickServ using the password you set. | |
/msg NickServ recover nickname password |
Kills (forcibly disconnects) someone who has your registered nick. | |
/msg NickServ ghost nickname password |
Terminates a "ghost" IRC session that's using your nickname. | |
/msg NickServ set password yournewpassword |
Changes your password. | Under no circumstances should you change your nick to the letter O followed by 8 digit. |
User modes
Setting people's modes (for current channel only):
/mode nickname +/-attributes [data]
Mode | Description | Comment |
---|---|---|
+q | User is owner of the current channel (prefix ~ on UnrealIRCd, usually @ elsewhere) | |
+a | User is an admin (SOP) on the current channel (prefix & on UnrealIRCd, usually @ elsewhere). | |
+o | User is an operator (AOP) on the current channel (prefix @). | |
+h | User is a half-op on the current channel (prefix %). | |
+v | User has voice on the current channel (prefix +). |
Channel modes
Setting channel's mode with:
/mode #channel +/-attribute [data]
Mode | Description | Comment |
---|---|---|
+n | Disallows external messages. | |
+t | Only op/hops can set the topic. | |
+p | Sets the channel as invisible in /list. | |
+s | Sets the channel as invisible in /list and /whois. | |
+i | Sets the channel as closed unless the person was invited. | |
+k [pass] | Sets a password for the channel which users must enter to join. | |
+l [number] | Sets a limit on the number of users who are allowed in the channel at the same time. | |
+m | Prevents users who are not opped/hopped/voiced from talking. | |
+R | Sets the channel so only registered nicks are allowed in. | |
+M | Sets the channel so only registered nicks are allowed to talk. | |
+S | Strips formatting from messages, rendering them as plaintext. | |
+c | Blocks messages containing color codes. | |
+N | No nick changes permitted in the channel. |
Channel Management (ChanServ commands)
All ChanServ commands begin with /cs
or /chanserv
or /msg ChanServ
. Depending on your client, /cs
or /chanserv
may not work.
Command | Description | Comment |
---|---|---|
/msg ChanServ register #channel password description |
Registers the current channel to you with ChanServ and sets its password and description. | |
/msg ChanServ identify #channel <password> |
Identifies you as the channel's founder and gives you founder-level privileges. | На libera.chat, если ты registered user, идентифицирован у NickServ-а и являешься op-ом канала, ты можешь сразу опнуться, не идентифицируясь у ChanServ-а. |
/msg ChanServ drop #channel [dropcode] |
Un-registers the current channel. | |
/msg ChanServ set #channel password [newpass] |
Changes the current channel's password to newpass. | |
/msg ChanServ set #channel desc [description] |
Changes the current channel's description. | |
/msg ChanServ set #channel keeptopic [on/off] |
Maintains the topic even if everyone leaves. | |
/msg ChanServ set #channel mlock modes |
Locks the channel's modes. | Just + unlocks all. |
/msg ChanServ set #channel url [address] |
Associates a URL with the channel. | |
/msg ChanServ set #channel [email@address] |
Associates an email address with the channel. | |
/msg ChanServ set #channel secureops [on/off] |
Keeps everyone except aops, sops, and the founder from becoming ops. | |
/msg ChanServ set #channel founder [nickname] |
Sets the current channel's founder. | |
/msg ChanServ set #channel leaveops [on/off] |
Whether or not to allow the first person who join the channel to get ops. | |
/msg ChanServ set #channel enforce [on/off] |
Restores op/halfop/voice if a person with op/halfop/voice gets de-opped/halfopped/voiced. |
Access lists
NOTE: Access Lists не доступны на libera.chat
Command | Description | Comment |
---|---|---|
/msg ChanServ access #channel list |
Show the channel's access list. | |
/msg ChanServ access #channel count |
Show how many entries are in the channel's access list. | |
/msg ChanServ access #channel add [nickname] [level] |
Adds nickname to the channel's access list at the specified level. | |
/msg ChanServ access #channel del [nickname] |
Removes nickname from the channel's access list. |
Access levels
These may vary from network to network. For example, some networks do not go by tens and use 3, 4, 5, 10, etc.
Level | Description | Comment |
---|---|---|
Founder | Full access to ChanServ functions, automatic opping upon entering channel. | |
100+ | Makes the person an SOP, automatic opping upon entering channel. | |
50 | Makes the parson an AOP, automatic opping upon entering channel. | |
40 | Automatic half-opping. | |
30 | Automatic voicing. | |
0 | No special privileges. | |
-1 | May not be opped. | |
-100 | May not join the channel. |
AOPs (Auto OPs):
- Are automatically ops and can give themselves ops.
- Can give/take op/halfop/voice to/from other channel members.
- Can unban themselves.
- Receive memos sent to the whole channel.
- Can invite themselves to the channel.
SOPs (Super OPs):
- Can do everything AOPs can.
- Can give and take AOP privileges.
- Receive memos sent to the channel's SOPs.
- Can add (but not remove) AKICKs.
Viewing and setting privileges
Command | Description | Comment |
---|---|---|
/msg ChanServ aop #channel list |
Show list of AOPs | |
/msg ChanServ sop #channel list |
Show list of SOPs | |
/msg ChanServ [AOP|SOP] channel [ADD|DEL|LIST|CLEAR] [nick | entry-list] |
Modify list of AOPs or SOPs. |
Auto kick lists (AKICKs)
People on the AKICK list are automatically kicked and banned when they enter the channel. Bans made as a result of AKICK must be removed manually.
Command | Description | Comment |
---|---|---|
/msg ChanServ akick #channel list |
Displays the AKICK list. | |
/msg ChanServ akick #channel view |
Displays the AKICK list. | |
/msg ChanServ akick #channel add host [reason] |
Adds host to #channel's AKICK list [for reason]. | |
/msg ChanServ akick #channel del host |
Removes host from the AKICK list. |
Kick or ban people
Command | Description | Comment |
---|---|---|
/kick #channel nickname [reason] |
Temporarily remove user from channel. | User may immediately re-join back. |
/mode #channel +b mask |
Sets ban by mask. Mask take the following form: nickname!userid@hostname . |
* is a wildcard and can replace nickname , userid , parts of nickname or userid , hostname or a segment of a hostname . |
Examples
joe!*@*
Will prevent anyone with the nick joe from joining.
*myg0t*!*
Will prevent anyone whose nick contains myg0t from joining.
mark!*elc@*
Will prevent anyone with the nick mark and the userid elc from joining.
*!*@c-123-24-76-213.ga.isp.net
Will prevent anyone with the host c-123-24-76-213.ga.isp.net from joining.
*!*@*
Bans everyone. Don't do that!
Color codes
It's possible to color your text in irc. in most clients you can use control c then foreground,background (background is optional). examples: red text ^c4
. black text on a blue background ^c1,2
. here's a full list of the color codes:
Number | Description |
---|---|
00 | white |
01 | black |
02 | blue (navy) |
03 | green |
04 | red |
05 | brown (maroon) |
06 | purple |
07 | orange (olive) |
08 | yellow |
09 | light green (lime) |
10 | teal (a green/blue cyan) |
11 | light cyan (cyan / aqua) |
12 | light blue (royal) |
13 | pink (light purple / fuchsia) |
14 | grey |
15 | light grey (silver) |