Log in | Back to darenet.org

Basic IRCd Commands

(Basic IRC Commands)
m
Line 1: Line 1:
-
{{Expand|text=page}}
+
Just as you are able to surf the web with a few shortcuts and tricks to make things easier, IRC is very similar. This guide will describe most of the basic IRC commands that are commonly used. It may be worthwhile to note all IRC commands can be typed into the commandline of your IRC client (i.e., the text input area -- the area you type to chat), and are prefixed with a forward-slash "/".
-
= Basic IRC Commands =
+
{{info|text=Arguments enclosed in angle brackets (e.g., <nowiki><text></nowiki>) denote that it's required, while those enclosed in square brackets (e.g., [text]) are optional.}}
-
Every client has a text input area, you generally use this area to chat.  Not only can you chat in this area but you can also issue IRC commands.  All IRC commands are prefixed with a "/" this is what makes a command just that, a command.  Knowing that, that means anything not prefixed with "/" is a message.  So knowing this we will go ahead describe some of the most basic IRC commands used.
+
A full listing of commands supported by DareNET's servers can be found [[Server Commands|here]].
-
* <txt> denotes required while [txt] denotes optional
+
== [[Server Commands/JOIN|/JOIN]] ==
-
'''Note: You can also find a full listing of [[Server Commands]] on this [[Server Commands|page]].'''
+
'''Syntax: <code>/JOIN <#channel> [key]</code>'''
-
== General IRC Commands ==
+
Joins you to the channel you specify.
-
These are some general commands that will allow you to list other public channels, change your nickname as well as things like joining and parting channels.
+
If the channel requires a "key" (password) to join, you can supply that after the channel name as well.
-
=== [[Server_Commands/JOIN|JOIN]] ===
+
Examples:
 +
* /JOIN #darenet
 +
** Joins you to the channel #darenet.
 +
* /JOIN #darenet aPpLeS
 +
** Joins you to the channel #darenet using the key "aPpLeS".
-
You can join channels by typing the following command: '''<code>/join <#channel> [key]</code>'''
+
== [[Server Commands/PART|/PART]] ==
-
The above command will make you join #channel.
+
'''Syntax: <code>/PART <#channel> [reason]</code>
-
Alternatively, if the channel requires a "key" (password) to join you can supply that as well.
+
The PART command will cause you to leave the channel you specify.
-
=== [[Server_Commands/PART|PART]] ===
+
If a reason was given, it will be shown in the part message sent to other users in the channel.
-
You can part channels by typing the following command: '''<code>/part <#channel> [reason]</code>'''
+
Examples:
 +
* /PART #darenet
 +
** Parts you from the channel #darenet.
 +
* /PART #darenet bbl
 +
** Parts you from the channel #darenet with a reason "bbl".
-
The above command will make you part #channel with an optional reason appended to your part line.
+
== [[Server Commands/LIST|/LIST]] ==
-
=== [[Server_Commands/LIST|LIST]] ===
+
''Syntax: <code>/LIST [parameters]</code>'''
-
You can see a list of all public channels by typing the '''<code>/list</code>'''.  Please note that you can only use this command directly when you are authenticated with NickServ if you wanted to use this command unauthenticated please use /dlist instead.  You can use this command freely (authenticated or not) if you are using [http://www.darenet.org/webchat DareNET WebChat]. An alternative to using this command would be to visit [http://www.darenet.org/channels DareNET Channels]
+
The LIST command is used to obtain a list of all public channels on the network (the same list shown on the [http://www.darenet.org/channels channel listing page].
-
=== [[Server_Commands/NICK|NICK]] ===
+
The /LIST command also supports several modifiers, which can be used to provide a listing of channels whose name or topic match a specific pattern (or conversely, don't match the pattern), have been active within a specific time frame, etc. For more information on such advance usage, go [[Server Commands/LIST|here]].
-
You can easily change your nick by typing '''<code>/nick <newnick></code>'''
+
Examples:
 +
* /LIST
 +
** Lists all public channels.
 +
* /LIST *help*
 +
** Lists all public channels whose name matches the pattern *help*.
 +
* /LIST C>60
 +
** Lists all public channels that have existed longer than one hour (60 minutes).
-
So if I wanted to change my nick from NiTeMaRe to NiTe I would type '''<code>/nick NiTe</code>'''.
+
== [[Server Commands/NICK|/NICK]] ==
-
Other users would see something like the following:
+
''Syntax: <code>/NICK <nickname></code>''
-
<pre>NiTeMaRe has changed nick to NiTe</pre>
+
The NICK command allows you to easily change your nickname.
-
=== [[Server_Commands/QUIT|QUIT]]===
+
Example:
 +
* /NICK JoeCool
 +
** Changes your nickname to 'JoeCool'.
-
You can quit IRC by typing '''<code>/quit [reason]</code>''' this would make you quit with an optional reason appended to your quit line
+
== [[Server Commands/QUIT|/QUIT]] ==
-
=== [[Server_Commands/AWAY|AWAY]] ===
+
'''Syntax: <code>/QUIT [reason]</code>'''
-
Say I wanted to go out to lunch but I wanted those who messaged or /whois'ed me to be aware. I could use the command '''<code>/away [reason]</code>'''
+
The QUIT command disconnects you from the network. If a reason is provided, it will be shown to other users who are in a common channel with you.
-
with that following line it will not only display a away line in my whois but it will also automatically tell anyone who messages me that I am away.
+
Examples:
 +
* /QUIT
 +
** Disconnects you from the network.
 +
* /QUIT I shall bbl.
 +
** Disconnects you from the network with the reason "I shall bbl."
-
<pre>/away Out to lunch!</pre>
+
== [[Server Commands/AWAY|/AWAY]] ==
-
So when messaging me someone would see:
+
'''Syntax: <code>/AWAY [reason]</code>'''
-
<pre>NiTeMaRe is away: Out to lunch!</pre>
+
-
and if someone did a /whois on me they would see:
+
The AWAY command, when given with a reason, is used to mark you as being away. If no reason is given, it will mark as no longer being away.
-
<pre>
+
 
-
NiTeMaRe [bnc@NiTeMaRe.manager.infrastructure]
+
While away, the reason given is shown in WHOIS messages and is sent to users who private message you.
-
realname : NiTeMaRe
+
 
-
server  : *.darenet.org [Daring to be different!]
+
Examples:
-
away     : Out to lunch!
+
* /AWAY going for out lunch!
-
account  : NiTeMaRe
+
** Marks you as being away, with the reason "going out for lunch!"
-
End of WHOIS
+
* /AWAY
-
</pre>
+
** Marks you as no longer being away.
 +
 
 +
 
 +
 
 +
 
 +
=== [[Server_Commands/AWAY|AWAY]] ===
 +
 
 +
Say I wanted to go out to lunch but I wanted those who messaged or /whois'ed me to be aware.  I could use the command '''<code>/away [reason]</code>'''
=== [[Server_Commands/WHO|WHO]] ===
=== [[Server_Commands/WHO|WHO]] ===

Revision as of 23:03, 10 March 2012

Just as you are able to surf the web with a few shortcuts and tricks to make things easier, IRC is very similar. This guide will describe most of the basic IRC commands that are commonly used. It may be worthwhile to note all IRC commands can be typed into the commandline of your IRC client (i.e., the text input area -- the area you type to chat), and are prefixed with a forward-slash "/".

Arguments enclosed in angle brackets (e.g., <text>) denote that it's required, while those enclosed in square brackets (e.g., [text]) are optional.

A full listing of commands supported by DareNET's servers can be found here.

In This Guide:

/JOIN

Syntax: /JOIN <#channel> [key]

Joins you to the channel you specify.

If the channel requires a "key" (password) to join, you can supply that after the channel name as well.

Examples:

  • /JOIN #darenet
    • Joins you to the channel #darenet.
  • /JOIN #darenet aPpLeS
    • Joins you to the channel #darenet using the key "aPpLeS".

/PART

Syntax: /PART <#channel> [reason]

The PART command will cause you to leave the channel you specify.

If a reason was given, it will be shown in the part message sent to other users in the channel.

Examples:

  • /PART #darenet
    • Parts you from the channel #darenet.
  • /PART #darenet bbl
    • Parts you from the channel #darenet with a reason "bbl".

/LIST

Syntax: /LIST [parameters]'

The LIST command is used to obtain a list of all public channels on the network (the same list shown on the channel listing page.

The /LIST command also supports several modifiers, which can be used to provide a listing of channels whose name or topic match a specific pattern (or conversely, don't match the pattern), have been active within a specific time frame, etc. For more information on such advance usage, go here.

Examples:

  • /LIST
    • Lists all public channels.
  • /LIST *help*
    • Lists all public channels whose name matches the pattern *help*.
  • /LIST C>60
    • Lists all public channels that have existed longer than one hour (60 minutes).

/NICK

Syntax: /NICK <nickname>

The NICK command allows you to easily change your nickname.

Example:

  • /NICK JoeCool
    • Changes your nickname to 'JoeCool'.

/QUIT

Syntax: /QUIT [reason]

The QUIT command disconnects you from the network. If a reason is provided, it will be shown to other users who are in a common channel with you.

Examples:

  • /QUIT
    • Disconnects you from the network.
  • /QUIT I shall bbl.
    • Disconnects you from the network with the reason "I shall bbl."

/AWAY

Syntax: /AWAY [reason]

The AWAY command, when given with a reason, is used to mark you as being away. If no reason is given, it will mark as no longer being away.

While away, the reason given is shown in WHOIS messages and is sent to users who private message you.

Examples:

  • /AWAY going for out lunch!
    • Marks you as being away, with the reason "going out for lunch!"
  • /AWAY
    • Marks you as no longer being away.



AWAY

Say I wanted to go out to lunch but I wanted those who messaged or /whois'ed me to be aware. I could use the command /away [reason]

WHO

Nothing here yet!

IRCOPS

You can use the command /ircops to list the available IRC Operators on the network.

When you use this command you will see something like:

DareNET IRC Operators:
[A] istok (AWAY) [*.darenet.org] - Idle: 0
[A] Excalibur [*.darenet.org] - Idle: 0
[A] SecretAgent (AWAY) [*.darenet.org] - Idle: 498841
Total: 3 IRCops connected

LUSERS

This command shows how much users are connected to DareNET at any given time as well as the max count that was reached since last (re)start. It also shows some additional verbose information such as how much users are authenticated to our services, how much servers exist in the network, how much IRC Operators are online, and how much channels are formed.

== There are 42 users and 29 authed on 14 servers
== 6 operator(s) online
== 59 channels formed
== I have 1 clients and 1 servers
== Current local users: 1 Max: 20
== Current global users: 71 Max: 107
-webchat.darenet.org- Highest connection count: 12 (11 clients) (6613 connections received)

Chat

These are some general commands that allow you to do some cool things such as actions, send messages, notices and other miscellaneous things.

Emote/Action

Normally when you chat people see something like:

<YourNick> i am cool

You can issue emotes into a channel or private message by typing the following command: /me is cool

The target channel or user will see something like the following

* YourNick is cool

MSG

You can send someone a quick message without opening a separate window on your side by typing /msg <nick> <your text here>

Say for example that I wanted to message SecretAgent to ask how he was doing /msg SecretAgent Hi SecretAgent how are you doing today?!?!?!

QUERY

If instead I wanted to open a dedicated window I would type /query <nick> [optional text here]

So if I typed /query SecretAgent Hi! How are you? that would open a seperate window and send the message "Hi! How are you?" to SecretAgent.

NOTICE

A notice is used to send someone a quick message without opening a separate windows by typing /notice <nick> <your text here>

Say for example that I wanted to notice ShivX to ask if he disappeared off the face of the earth, I would type: /notice ShivX Are you still alive????!?

WHOIS

Whois is the most useful command that you will ever utilize on IRC, with Whois you will find out if someone is authenticated to their account and if so, what their account name is! You can also find additional information such as:

  • Idle Time.
  • What public channel(s) they are in.
  • Their host(mask).
  • Whether they are staff or not.
  • If they are away or not (via /away).

Say you wanted to get information on someone to see if they were an IRC Operator or what public channels they were in you can type /whois <nick>

So if i wanted to see SecretAgent's info I could type /whois SecretAgent and I would see something like the following:

SecretAgent [sa@staff.darenet]
realname : woah.
channels : @#support #darenet @#dev @#thelab
server   : *.darenet.org [Daring to be different!]
away     : bbl
         : IRC Operator
account  : SecretAgent
End of WHOIS

Channel Management

The following commands are for channel management.

TOPIC

You can see and set the topic of your channel (as seen in /list and upon /join) by typing /topic <#channel> [new topic here] if you do not include the text after channel you will simply see what the topic is. If you do include some text after #channel that will set the topic.

KICK

You can kick a user out of your channel by typing /kick <#channel> <nickname> this would kick nickname from #channel assuming you were a halfop or up.

INVITE

You can invite a user to your channel by typing /invite <nickname> <#channel> this would invite nickname to #channel assuming you were a halfop or up.