Log in | Back to darenet.org

Basic IRCd Commands

m (/NICK)
 
(25 intermediate revisions not shown)
Line 1: Line 1:
-
= Basic IRC Commands =
+
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 "/".
-
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.
+
{{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.}}
-
* <text> denotes required while [text] denotes optional
+
A full listing of commands supported by DareNET's servers can be found [[Server Commands|here]].
-
== General IRC Commands ==
+
== [[Server Commands/JOIN|/JOIN]] ==
-
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.
+
'''Syntax: <code>/JOIN <#channel> [key]</code>'''
-
=== Join ===
+
Joins you to the channel you specify.
-
You can join channels by typing the following command: '''<code>/join <#channel></code>'''
+
If the channel requires a "key" (password) to join, you can supply that after the channel name as well.
-
The above command will make you join #channel.
+
Examples:
 +
* /JOIN #darenet
 +
** Joins you to the channel #darenet.
 +
* /JOIN #darenet aPpLeS
 +
** Joins you to the channel #darenet using the key "aPpLeS".
-
=== Part ===
+
== [[Server Commands/PART|/PART]] ==
-
You can part channels by typing the following command: '''<code>/part <#channel> [reason]</code>'''
+
'''Syntax: <code>/PART <#channel> [reason]</code>
-
The above command will make you part #channel with an optional reason appended to your part line.
+
The PART command will cause you to leave the channel you specify.
-
=== List ===
+
If a reason was given, it will be shown in the part message sent to other users in the channel.
-
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]
+
Examples:
 +
* /PART #darenet
 +
** Parts you from the channel #darenet.
 +
* /PART #darenet bbl
 +
** Parts you from the channel #darenet with a reason "bbl".
-
=== Nick ===
+
== [[Server Commands/LIST|/LIST]] ==
-
You can easily change your nick by typing '''<code>/nick <newnick></code>'''
+
'''Syntax: <code>/LIST [parameters]</code>'''
-
So if I wanted to change my nick from NiTeMaRe to NiTe I would type '''<code>/nick NiTe</code>'''.
+
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].
-
Other users would see something like the following:
+
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]].
-
<pre>NiTeMaRe has changed nick to NiTe</pre>
+
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).
-
=== Quit ===
+
== [[Server Commands/NICK|/NICK]] ==
-
You can quit IRC by typing '''<code>/quit [reason]</code>''' this would make you quit with an optional reason appended to your quit line
+
'''Syntax: <code>/NICK <nickname></code>'''
-
=== Away ===
+
The NICK command allows you to easily change your nickname.
-
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>'''
+
Example:
 +
* /NICK JoeCool
 +
** Changes your nickname to 'JoeCool'.
-
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.
+
== [[Server Commands/QUIT|/QUIT]] ==
-
<pre>/away Out to lunch!</pre>
+
'''Syntax: <code>/QUIT [reason]</code>'''
-
So when messaging me someone would see:
+
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.
-
<pre>NiTeMaRe is away: Out to lunch!</pre>
+
 
 +
Examples:
 +
* /QUIT
 +
** Disconnects you from the network.
 +
* /QUIT I shall bbl.
 +
** Disconnects you from the network with the reason "I shall bbl."
 +
 
 +
== [[Server Commands/AWAY|/AWAY]] ==
 +
 
 +
'''Syntax: <code>/AWAY [reason]</code>'''
 +
 
 +
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.
 +
 
 +
=== [[Server_Commands/WHO|WHO]] ===
 +
 
 +
Nothing here yet!
 +
 
 +
=== [[Server_Commands/IRCOPS|IRCOPS]] ===
 +
 
 +
You can use the command '''<code>/ircops</code>''' to list the available IRC Operators on the network.
 +
 
 +
When you use this command you will see something like:
-
and if someone did a /whois on me they would see:
 
<pre>
<pre>
-
NiTeMaRe [bnc@NiTeMaRe.manager.infrastructure]
+
DareNET IRC Operators:
-
realname : NiTeMaRe
+
[A] istok (AWAY) [*.darenet.org] - Idle: 0
-
server  : *.darenet.org [Daring to be different!]
+
[A] Excalibur [*.darenet.org] - Idle: 0
-
away    : Out to lunch!
+
[A] SecretAgent (AWAY) [*.darenet.org] - Idle: 498841
-
account : NiTeMaRe
+
Total: 3 IRCops connected
-
End of WHOIS
+
</pre>
 +
 
 +
=== [[Server_Commands/LUSERS|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.
 +
 
 +
<pre>
 +
== 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)
</pre>
</pre>
Line 78: Line 135:
=== MSG ===
=== MSG ===
-
You can send someone a quick message without opening a separate window by typing '''<code>/msg <nick> <your text here></code>'''
+
You can send someone a quick message without opening a separate window on your side by typing '''<code>/msg <nick> <your text here></code>'''
Say for example that I wanted to message SecretAgent to ask how he was doing '''<code>/msg SecretAgent Hi SecretAgent how are you doing today?!?!?!</code>'''
Say for example that I wanted to message SecretAgent to ask how he was doing '''<code>/msg SecretAgent Hi SecretAgent how are you doing today?!?!?!</code>'''
-
=== Query ===
+
=== QUERY ===
If instead I wanted to open a dedicated window I would type '''<code>/query <nick> [optional text here]</code>'''
If instead I wanted to open a dedicated window I would type '''<code>/query <nick> [optional text here]</code>'''
Line 88: Line 145:
So if I typed '''<code>/query SecretAgent Hi! How are you?</code>''' that would open a seperate window and send the message "Hi! How are you?" to SecretAgent.
So if I typed '''<code>/query SecretAgent Hi! How are you?</code>''' that would open a seperate window and send the message "Hi! How are you?" to SecretAgent.
-
=== Whois ===
+
=== [[Server_Commands/NOTICE|NOTICE]] ===
 +
 
 +
A notice is used to send someone a quick message without opening a separate windows by typing '''<code>/notice <nick> <your text here></code>'''
 +
 
 +
Say for example that I wanted to notice ShivX to ask if he disappeared off the face of the earth, I would type: '''<code>/notice ShivX Are you still alive????!?</code>'''
 +
 
 +
=== [[Server_Commands/WHOIS|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 '''<code>/whois <nick></code>'''
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 '''<code>/whois <nick></code>'''
Line 107: Line 178:
The following commands are for channel management.
The following commands are for channel management.
-
=== Topic ===
+
=== [[Server_Commands/TOPIC|TOPIC]] ===
You can see and set the topic of your channel (as seen in /list and upon /join) by typing '''<code>/topic <#channel> [new topic here]</code>''' 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.
You can see and set the topic of your channel (as seen in /list and upon /join) by typing '''<code>/topic <#channel> [new topic here]</code>''' 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 ===
+
=== [[Server_Commands/KICK|KICK]] ===
You can kick a user out of your channel by typing '''<code>/kick <#channel> <nickname></code>''' this would kick nickname from #channel assuming you were a halfop or up.
You can kick a user out of your channel by typing '''<code>/kick <#channel> <nickname></code>''' this would kick nickname from #channel assuming you were a halfop or up.
-
=== Invite ===
+
=== [[Server_Commands/INVITE|INVITE]] ===
You can invite a user to your channel by typing '''<code>/invite <nickname> <#channel></code>''' this would invite nickname to #channel assuming you were a halfop or up.
You can invite a user to your channel by typing '''<code>/invite <nickname> <#channel></code>''' this would invite nickname to #channel assuming you were a halfop or up.
-
[[Category:Documentation]]
+
[[Category:All]] [[Category:Documentation]] [[Category:New Users]]

Current revision as of 23:23, 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.

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.