Irc

De Linuxmemo.

(Différences entre les versions)
Ligne 171 : Ligne 171 :
  /uping unknown
  /uping unknown
  /wallops message message to all operators (deprecated)
  /wallops message message to all operators (deprecated)
 +
 +
==DCC (Direct Client-to-Client)==
 +
Le protocole DCC est un un protocole semi-encapsulé dans le protocole CTCP. Il permet à deux clients IRC de communiquer directement sans passer par le serveur.
 +
 +
DCC <type> <argument> <adresse> <port> [<size>]
 +
Description des arguments
 +
*type : '''CHAT''' pour ouvrir une connexion destinée à la discussion, ou '''SEND''' pour transférer un fichier.
 +
*argument : chat dans le cas d'une connexion CHAT, le nom du fichier dans le cas d'un transfert de fichier.
 +
*adresse : représentation ASCII de l'adresse IP du client proposant la connexion DCC, envoyée en tant qu'entier sur quatre octets.
 +
*port : représentation ASCII du numéro de port sur lequel le client attend la connexion DCC venant du client à qui la connexion a été proposée.
 +
*size : dans le cas d'un connexion SEND, représentation ASCII de la taille du fichier envoyé (en octets), en tant qu'entier sur quatre octets.
 +
==Création et administration==
==Création et administration==

Version du 30 janvier 2014 à 10:42

Voir: irssi, eggdrop

Sommaire

Commandes serveur

Below is a table of IRC commands that have been implemented. These commands are available for compatibility, but it is probably easier to use the buttons/switches in the Userlist. The buttons in the Userlist are fully configurable.

syntax:

[] option

# any number.

message any text.

channel a name of a channel, starting with # or & (=local channel).

nick a nickname as used on IRC.


/admin [server] 	returns the name of the administrator of the given server.
/away message 	marks you as being away. Typing /away again removes the away status
/ban nick 	bans 'nick' from the current channel
/bye message 	displays 'message' and quits IRC
/broadcast message 	sends a message to all the channels you are on
/channel channel [passwd] 	join a channel [with password]
/cmdchar c 	changes the command-prefix (default /) to the given character
/cping nick 	shows response time for 'nick' in seconds
/ctcp nick command
/ctcp channel command 	issues a CTCP (client to client protocol) command. CTCPs are used to get information from other clients, or to trigger certain actions on other clients. CTCPs /ctcp nick clientinfo for more info.
/ctcp nick sound sndname 	plays the sound 'sndname' at 'nick's computer. Shortcut: '/sound nick' and select a sound file.
/ctcp nick sound 	displays the list of available sounds on 'nick's computer
/ctcp nick xdcc list 	displays the list of available files on 'nick's computer
/ctcp nick xdcc version 	shows the xdcc version (currently 1.0)
/ctcp nick xdcc send # 	asks 'nick' to send file number # to your computer
/ctcp channel action 	Sends an action description. See also: /me. Example: '/me is drinking coffee' will be displayed as '* Yournick is drinking coffee' in the channel.
/ctcp nick finger 	shows the idle time and/or email address of a user
/ctcp nick source 	shows where to obtain Ircle.
/ctcp nick version 	shows the (Ircle) version.
/ctcp nick clientinfo 	shows all ctcp commands of a client.
/ctcp nick userinfo 	displays the userinfo field of a user.
/ctcp nick face exist 	shows if a user has a face file
/ctcp nick time 	shows the local time of a user.
/ctcp nick video stream 	opens a video window from the target to you.
/date 	display date and time
/dcc command nick 	issues a DCC command (explained below)

Valid commands for /dcc are:

/dcc chat nick 	requests CHAT connection for nick or answers such a request.
/dcc send nick 	send a file
/dcc tsend nick 	send a text file.
/dcc get 	receive a file (to be answered to a SEND request).
/dcc tget 	receive a text file
/dcc list 	list all DCC connections.
/dcc sendvideo nick 	sends a video snapshot to a selected nick
/dcc sendvideostream nick 	sends your video stream to a selected nick
/dcc sendface nick 	sends your face(s) to a selected nick
 	 
/debug 	shows all low level messages in ircle Console window. use at own risk. unpredictable things may happen. for testing only.
/exit message 	= /bye
/fserve nick 	starts a dcc chat/fserve with nick. You will be the host
/ignore pattern 	ignore messages from nick!user@host (may contain wildcards)
/ignore -pattern 	removes a pattern from the ignore list (also check your Friends list in your preferences)
/info 	gives info about server
/invite nick channel 	invites nick to channel
/ison nick 	shows if a user is on irc. not implemented on some servers.
/join 	joins channel last invited to
/join channel [passwd] 	= /channel
/kick channel nick :msg 	kicks nick from channel with message, clicking Kick in the userwindow does the same. Option click lets you set a kick message.
/leave channel 	leave a channel, same as closing a channel window
/links 	show server connections
/links mask 	shows all servers matching mask
/list 	list channels. Note: on some servers you'll get disconnected because of the large amount of data /list generates. You may use wildcards in the List window. Example: *mac*
/list -min # 	list only channels with minimum of # users
/list -max # 	list only channels with maximum of # users
/list -public 	list only public channels
/list -private 	list only private channels
/list -local 	list only local channels (channels available on this server only)
/list -global 	list only global channels (channels available on all servers of this network)
/list -topic 	list only channels with topic set
/list -mask- 	list only channels matching 'mask', for instance /list -*mac*
/lusers 	display statistics: the number of users on this irc network and the number of channels.
/map 	displays a map of all server connections (not supported on all networks)
/massop 	gives operator status to everyone on a channel
/massdeop 	removes operator status from everyone but you on a channel
/massunban 	removes all bans from a channel
/me action 	sends an action description, can also be used in a DCC Chat window (private action). shortcut: Option Return Key.
/mode channel 	parm set channel mode:
/mode channel +p 	private channel
/mode channel +s 	secret channel
/mode channel +i 	invite-only channel
/mode channel +m 	moderated channel, noone can speak except users with mode +v
/mode channel +n 	no messages from outside channel
/mode channel +t 	topic may only be set by a channel operators
/mode channel +l # 	# channel may hold at most # users
/mode channel +v nick 	nick let nick speak on moderated channel (voice)
/mode channel +b 	shows ban list. Not implemented on some servers.
/mode channel +b nick!username@hostname 	ban nick!user@host, wildcards (*,?) allowed
/mode channel +k password 	key set channel password
/mode channel +o nick 	nick becomes channel operator -x 	removes flag x, where x is one of the above You can also you the switches in the  serlist window for this.
/mode nick parm 	set user mode:
/mode nick +i 	invisible user, recommended to prevent spam. You can also set this mode in the Connections Window
/mode nick +s 	receive server notices. Normally off. You can also set this mode in the Connections Window
/mode nick +w 	receive wallops (messages from IRC operators). You can also set this mode in the Connections Window
/mode nick +o 	become IRC operator. Normally this is done by the /oper command.
/mode nick +d 	deaf mode, for bots only.
/motd [server] 	show message-of-the-day [of another irc server]
/msg nick message 	sends nick a private message. Pressing TAB automatically sets the inputline to /MSG and the nickname that last sent you a  message. Ircle remembers up 10 nicks for 15 minutes after the last activity.
/names 	channel list users on channel
/nick 	newnick change your nickname
/note 	unknown
/notice user|channel msg 	(almost) like /msg
/notify 	show notify list. You may also use the Notify Window to add/edit/delete nicks.
/notify nick 	adds nick to notification list (show each signon/off). You may also use the Notify Window to add/edit/delete nicks.
/notify -nick 	removes nick from notification list. You may also use the Notify Window to add/edit/delete nicks.
/omsg text 	send a message to all channel operators on a channel. On some servers ircle may send a /wallchops command instead, when available.
/onotice text 	send a notice to all channel operators on a channel
/op nick 	gives nick operator status
/deop nick 	removes operator status from nick
/part channel 	= /leave
/ping 	pings a user. to measure the delay use /cping
/quote raw irccommand 	sends a command to an irc server, exactly as typed.
/query nick 	open window for private messages to nick
/quit message 	= /bye
/server hostname [port] 	switch to a different server
/silence 	show ignored users list. /silence is a server side ignore. ignores are checked by the server, not the client.
/silence mask 	ignores users with selected mask
/signoff message 	= /bye
/sound channel soundname 	plays soundname to the channel
/sound nick soundname 	plays soundname to nick
/stats 	show statistical info:
/stats b 	shows server ban list
/stats c 	returns a list of servers which the server may connect to or allow connections from
/stats h 	returns a list of servers which are either forced to be treated as leaves or allowed to act as hubs
/stats i 	returns a list of hosts which the server allows a client to connect from
/stats k 	returns a list of banned username and hostname combinations for that server
/stats l 	returns a list of the server connections, showing how long each connection has been established and the traffic over that connection in bytes and messages for each direction
/stats m 	returns a list of commands supported by the server and the usage count for each if the usage count is non zero
/stats o 	returns a list of hosts from which normal clients may become operators
/stats p 	?
/stats s 	?
/stats t 	?
/stats u 	returns a string showing how long the server has been up
/stats y 	show Y (Class) lines from the server configuration file
/summon user@host 	invites user@host to IRC (host must be running a server) obsolete??
/time 	= /date
/topic channel text 	set a channel topic (clicking in the title bar of a channel lets you achieve the same)
/trace [user] 	shows which servers are being used to connect to user
/type 	type a text file to the current channel
/unban 	opens the unban dialog, allowing to view and unban hosts with a simple click.
/unban nickmask 	removes 'mask (nick!username@hostname) from the channel ban list
/users 	(x)
/version 	show server version
/video 	opens your video window
/who channel 	list people on channel
/whois 	give information about nick that last joined the channel or sent private message
/whois nick 	give information about nick
/whowas nick 	give information about nick no longer online
 	 

IRC Operator commands:

/connect target port 	Force the remote server to try establishing a new server connection to the target server, on the specified port.
/die 	Used by IRC operators to force the server to exit and cease activity.
/hash 	reconfigure a server
/host 	 
/kill nick comment 	The KILL message is used to cause a client-server connection to be closed by the server which has the actual connection. KILL  is used by servers when they encounter a duplicate entry in the list of valid nicknames and is used to remove both entries. It is also available to operators.
/oper nick password 	Used by a normal user to gain operator privileges.
/rehash 	Used by IRC operators to force the server to re-read its configuration file.
/restart 	Used by IRC operators to force the server to restart.
/squit server comment 	Close a server connection.
/uping 	unknown
/wallops message 	message to all operators (deprecated)

DCC (Direct Client-to-Client)

Le protocole DCC est un un protocole semi-encapsulé dans le protocole CTCP. Il permet à deux clients IRC de communiquer directement sans passer par le serveur.

DCC <type> <argument> <adresse> <port> [<size>]
Description des arguments
  • type : CHAT pour ouvrir une connexion destinée à la discussion, ou SEND pour transférer un fichier.
  • argument : chat dans le cas d'une connexion CHAT, le nom du fichier dans le cas d'un transfert de fichier.
  • adresse : représentation ASCII de l'adresse IP du client proposant la connexion DCC, envoyée en tant qu'entier sur quatre octets.
  • port : représentation ASCII du numéro de port sur lequel le client attend la connexion DCC venant du client à qui la connexion a été proposée.
  • size : dans le cas d'un connexion SEND, représentation ASCII de la taille du fichier envoyé (en octets), en tant qu'entier sur quatre octets.


Création et administration

Création d'un channel

/join #nom_nouveau_channel
/msg nickserv REGISTER <password> <email>
/msg NickServ help
/msg NickServ SET HIDE EMAIL ON
/nick <alternate_nick> 
/msg nickserv group nick <password>
/msg nickserv info nick all
Outils personnels