|
|
![]() |
||||||
|
|
|
||||||
|
IRC Commands
What distinguishes IRC from other Java-based chat programs, or Instant Messengers, are its commands, which are assigned to perform some function or another in the IRC program. Some commands bear resemblance to those used in the Java chat programs, but most are unique to IRC. IRC Commands in Three Easy Steps The particulars of IRC commands can be summarised in three points: 1. They are always initiated by the forward slash ('/') prefix. This lets the program know that the user is typing a command, and not talking to other users. Not including the prefix over-rides the command status, and instead, just shows it on-screen, as if it was a typed message to the other users. 2. In command syntax, channel names are prefaced by the "gate" ('#') prefix. This lets the program know that the user is performing a command on a channel, and not on another user. 3. IRC commands aren't case sensitive. Typing, for instance, /join #BobsPlace or /join #bobsplace will have exactly the same effect. Basic IRC Commands The basic IRC commands allow users to perform the more common tasks in the program, such as changing their name, joining or leaving a channel, or sending a message privately to someone. To perform a command, type it out, and then press 'Return' (the Enter key). Note that other, more obscure IRC commands do exist, but the list below includes all of the basic functions which chatters are likely to use on the network. a. The /join command is used for a user to join a channel. Example: b. The /part or /leave command is used for a user to leave a channel,
without leaving the IRC network. Example: c. The /quit command is used for a user to exit any channel they are
in, and to log out of the IRC network. Example: /quit commands can also have a message sent with them. The message will be seen by any users who are in the same channel as the quitting user. The message is typed after the command, with a space between them. Example: d. The /msg command is used for a user to send a private message to another
user. The message will only be seen by the sending and receiving users,
and no-one else. Example: Messages which are sent privately are displayed on screen between two
asterisks ('*'s). e. The /query command is used to open a new window of dialogue with another
user. The messages displayed will only be the ones between the two users,
not those which are being sent in the channel the users are on. Example: f. The /who command, and the /whois, /whowas sub-commands are used to display information on individual users, generally their IP details. Information is generally shown as follows: Amy is user@4323.demon.co.uk * AmyPotter - Amy's
IP address, and real name. Syntax: /who [#] Example: Example: Example: g. The /nick command is used to change the nickame (chat room name) of
a user. Example: Nicknames can be registered by using the IRC NickServ service. This is a program, in which all registered nicknames are stored. When registering a nickname, a user supplies a password, which they are prompted to enter whenever they (or anyone else) uses that name. Failure to identify with the correct password will result in the user's name being forcefully changed. Syntax: /msg <NickServ> [command] Password The two most common NickServ commands are Register and Identify. Example: When a user chooses the 'Crusader' nickname, they will be prompted to give the correct password. Example: Users generally have 30-45 seconds in which to identify to their nickname, otherwise it is forcefully changed. Warning: Registered nicknames expire. If a user does not identify to their nickname within a set period of time, usually between 14 and 21 days, depending on the IRC server they use, then their nickname is deleted from the list of registered names. All exclusive rights to the nickname are therefore lost, and the name must be registered again. h. The /me command displays a user perform an action, not speaking. The user's name, followed by their action, is displayed on-screen. Example: i. The /ignore command allows a user to block any messages from another
user. The ignored user can send messages, but the user who ignored them
will not receive any from that user. Example: j. The /list command is used to show a list of channels currently running
on the server. However, the list of channels won't be updated (in case
channels are created or deleted, for instance), until the command is issued
again. Example: j. The /invite command is used to inviate another user on IRC to join
the user on IRC. Example: Channel Operator Commands Channel Operators, or 'ops' as they're affectionately known, are in charge of IRC chat rooms. Each room might have one Operator, two, three, or more. The head Operator is the user who originally created the channel, known as the Channel Founder. Operators use the usual commands for chatting, but can call upon the channel itself to perform other tasks, such as to set the channel's topic of conversation, or to eject unruly chatters. a. The /kick command temporarily ejects chatters from the channel, after
which they can re-enter as normal. Example: b.The /mode +x commands are the different settings which can be applied to a channel, where x is the setting. To over-ride the setting, a -x is used in the command instead. /mode [#] +b [address: *!*username@*.host.domain] - Sets the channel to ban (disallow entry to) any user from the channel. The address element can be found in the user's information, obtained by running a /whois command on that user. Example: /mode [#] +m - Sets the channel to 'moderated' mode, where only Channel Operators can send and receive messages in the channel. /mode [#] +v [nickname] - Used in conjunction with +m mode. After setting a channel to moderated mode, a user can be given permission to speak by setting the mode to +v. Example: /mode [#] +s - This makes the channel secret. It will not be shown in a channels listing, but can still be joined if the channel name is known, however. /mode [#] +p - This makes the channel private. The channel cannot be joined unless an invite is issued. The users on the channel can be listed with a /who command. /mode [#] +i - This makes the channel invite only. You must be invited by another nick on the channel to join. /mode [#] +t - This restricts channel topic changes to operators only.
Topics can be changed by users or operators with the /topic command. Example: /mode [#] +n prevents messages from outside the channel from being sent
to the channel. This does not affect personal messages to individual users.
/mode #newbies +n /mode [#] +l [number] - This limits the number of users (including operators) who may occupy the channel. Once the limit has been reached, no more users may join the channel. Example: /mode [#] +k [keyword] - This sets a password for the channel. Users cannot join without typing /join #channelname [keyword]. Example: Registering Channels with ChanServ To create a channel, type /join #channelname, where the channel name is the name of the channel to be registered. If the channel has not been already registered, then the user should find themselves in an empty channel, with them being the operator (the @ should be before their nickname). Now the channel needs to be registered to the user's name. If the channel
isn't registered, it'll disappear as soon as all chatters leave it empty,
and will have to be created again. To register a channel, users can use
the ChanServ Service. Note that there are other ways of keeping a channel
in the list, even when all the users leave, such as with bots, but using
ChanServ is the most effective method. The syntax for ChanServ commands
is as follows: Specifically, to register a channel: /msg Chanserv register #WestHamUnited football - this would register the channel 'WestHamUnited' with the channel password 'football'. The channel password is known only to the Channel Founder, who must identify to ChanServ whenever they join the channel. This grants them the highest level of operator power which can be obtained. Warning: Registered channels expire, just like registered nicknames. If a user does not identify to their registered channel within a set period of time, usually between 14 and 21 days, depending on the IRC server they use, then their channel is deleted from the list of registered channels. Also, if the Channel Founder's nickname expires, then the channel(s) which they registered also do. Any questions about IRC commands should be submitted here. |
|||||||
|
COPYRIGHT © 2002 Grudgebringer Inc. (est. 1999) - WEBSITE DISCLAIMER |
|||||||