Difference between revisions of "IRC Commands"

From Digibase Knowledge Base
Jump to: navigation, search
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This is a basic IRC command listing and explanation of what each does, the format of this list is to think of what you need to do. If there are multiple entries for a single heading, you can try one of each to see what works best for you
 
This is a basic IRC command listing and explanation of what each does, the format of this list is to think of what you need to do. If there are multiple entries for a single heading, you can try one of each to see what works best for you
  
'''Parameter list:'''
+
'''Parameter list:''' Please note these are often specific to the command you are running, so be sure to understand the parameter in context.
 
* <name> = a nick
 
* <name> = a nick
 
* <channel> = a channel
 
* <channel> = a channel
Line 12: Line 12:
 
* <server> = a server name, may be remote or local, may not make sense to use local in certain circumstances.
 
* <server> = a server name, may be remote or local, may not make sense to use local in certain circumstances.
 
* <time> = a time parameter, can be appended by '''s'''econds, '''h'''ours, '''d'''ays (e.g. 8h); 0 = forever until manually reversed
 
* <time> = a time parameter, can be appended by '''s'''econds, '''h'''ours, '''d'''ays (e.g. 8h); 0 = forever until manually reversed
 +
* <message> = a message of your choosing
 +
 +
Also note, if there is a mode that is +, it can be undone by switching it to - (e.g. -s undoes an +s).
  
 
==User==
 
==User==
Line 20: Line 23:
 
  <nowiki>/nick <newname> </nowiki>
 
  <nowiki>/nick <newname> </nowiki>
  
===Find out who someone is===
+
===Find out Who Someone is===
 
  <nowiki>/whois <name> </nowiki>
 
  <nowiki>/whois <name> </nowiki>
 +
 +
===Private Message Someone===
 +
<nowiki>/msg <name> <message></nowiki>
 +
or
 +
<nowiki>/query <name></nowiki>
 +
or
 +
<nowiki>/query <name> <message></nowiki>
  
 
===Register with Nickserv===
 
===Register with Nickserv===
  <nowiki>/nickserv identify <password> </nowiki>
+
  <nowiki>/nickserv register <password> </nowiki>
 
This will protect your name from other using it.
 
This will protect your name from other using it.
  
Line 42: Line 52:
  
 
==Channel Operator==
 
==Channel Operator==
 +
'''Only attempt these commands if you have permission and authorization.'''
  
 
===Kick a User===
 
===Kick a User===
Line 50: Line 61:
 
  <nowiki>/whois <name>
 
  <nowiki>/whois <name>
 
/mode <channel> +b <mask></nowiki>
 
/mode <channel> +b <mask></nowiki>
The first command permits you to grab the mask, it is recommended for general users to grab the part after '@' and formulate it as: *!*@<mask>, using that as the mask. if mibbit [insert mibbit link]
+
The first command permits you to grab the mask, it is recommended for general users to grab the part after '@' and formulate it as: *!*@<mask>, using that as the mask. if Mibbit, see [[Banning Abusive Mibbit Users]]
  
 
===Unban a user===
 
===Unban a user===
Line 63: Line 74:
 
  <nowiki>/mode <channel> +i</nowiki>
 
  <nowiki>/mode <channel> +i</nowiki>
 
Channel Operators will have to use:
 
Channel Operators will have to use:
  <nowiki>/invite <name></nowiki>
+
  <nowiki>/invite <name> <channel></nowiki>
 
to invite people into the channel.
 
to invite people into the channel.
  
Line 83: Line 94:
 
* q / ~ = channel owner
 
* q / ~ = channel owner
 
  <nowiki>/mode <channel> +<flag> <name></nowiki>
 
  <nowiki>/mode <channel> +<flag> <name></nowiki>
Note: To set, you will require permissions equal or higher than the level you are trying to set (e.g. +o can set +v, but +o cannot set +a)
+
Note: To set, you will require permissions equal or higher than the level you are trying to set (e.g. +o can set +v, but +o cannot set +a). Undoing permissions is just a matter of changing + to -.
  
 
==IRC Operation==
 
==IRC Operation==
 +
'''Only attempt these commands if you have permission and authorization.'''
 +
 +
===Gain Operator/Administrator Privileges===
 +
<nowiki>/oper <oper-user> <oper-password> </nowiki>
  
 
===Server Ban a User (based on name/hostmask)===
 
===Server Ban a User (based on name/hostmask)===
 
  <nowiki>/kline <name> <time> <reason> </nowiki>
 
  <nowiki>/kline <name> <time> <reason> </nowiki>
 +
If Mibbit, see [[Banning Abusive Mibbit Users]]
  
 
===Server Ban a User (based on IP)===
 
===Server Ban a User (based on IP)===
 
  <nowiki>/zline <name> <time> <reason> </nowiki>
 
  <nowiki>/zline <name> <time> <reason> </nowiki>
 +
Do not use this on Mibbit users
  
 
===Get the list of Server bans===
 
===Get the list of Server bans===
Line 105: Line 122:
  
 
==IRC Administration==
 
==IRC Administration==
 +
'''Only attempt these commands if you have permission and authorization.'''
  
 
===Network Ban a User (based on name/hostmask)===
 
===Network Ban a User (based on name/hostmask)===
 
  <nowiki>/gline <name> <time> <reason> </nowiki>
 
  <nowiki>/gline <name> <time> <reason> </nowiki>
 +
If Mibbit, see [[Banning Abusive Mibbit Users]]
  
 
===Network Ban a User (based on IP)===
 
===Network Ban a User (based on IP)===
 
  <nowiki>/gzline <name> <time> <reason> </nowiki>
 
  <nowiki>/gzline <name> <time> <reason> </nowiki>
 +
Do not use this on Mibbit users
  
 
===Get the list of Network Bans (name/hostmask)===
 
===Get the list of Network Bans (name/hostmask)===

Latest revision as of 16:32, 12 April 2014

This is a basic IRC command listing and explanation of what each does, the format of this list is to think of what you need to do. If there are multiple entries for a single heading, you can try one of each to see what works best for you

Parameter list: Please note these are often specific to the command you are running, so be sure to understand the parameter in context.

  • <name> = a nick
  • <channel> = a channel
  • <password> = a password that you select or have selected
  • <reason> = a reason for that action, may be displayed to another party
  • <mask> = a usermask, in the format of <name>!<ident>@<host>
  • <addr> = an IP address
  • <host> = a valid hostname or masked name, depending on context.
  • <ident> = a user field as presented by an IRC client, not the same as <name>.
  • <server> = a server name, may be remote or local, may not make sense to use local in certain circumstances.
  • <message> = a message of your choosing

Also note, if there is a mode that is +, it can be undone by switching it to - (e.g. -s undoes an +s).

User

Join a Channel

/join <channel> 

Change Your Name

/nick <newname> 

Find out Who Someone is

/whois <name> 

Private Message Someone

/msg <name> <message>

or

/query <name>

or

/query <name> <message>

Register with Nickserv

/nickserv register <password> 

This will protect your name from other using it.

Identify to Nickserv

/nickserv identify <password> 

Disconnect your Dead Connections or Impersonators

/nickserv ghost <name> <password> 

This will have a similar effect as an IRC Operator/Administrator kill.

Change your Password

/nickserv set password <password> 

You will need to identify first.

Display a list of Channels

/list

Channel Operator

Only attempt these commands if you have permission and authorization.

Kick a User

/kick <name> <reason> 

This removes the user from the current channel temporarily, they may automatically rejoin

Ban a User

/whois <name>
/mode <channel> +b <mask>

The first command permits you to grab the mask, it is recommended for general users to grab the part after '@' and formulate it as: *!*@<mask>, using that as the mask. if Mibbit, see Banning Abusive Mibbit Users

Unban a user

/mode <channel> +b
/mode <channel> -b <mask>

The first will generate a ban list you can check against (note the no parameters), if you know the mask you don't need to do that step, the second command will perform the unban

Only Nickserv Registered Names can join

/mode <channel> +R

Set the Channel to require invites

/mode <channel> +i

Channel Operators will have to use:

/invite <name> <channel>

to invite people into the channel.

Set the Channel to Strip Colours from Messages

/mode <channel> +S

Set the Channel to Drop Coloured Messages

/mode <channel> +c

Set the Channel to not be on the Public List

/mode <channel> +s

Set permissions

Permission flags may be any of:

  • v / + = voice, may speak when channel is +m
  • h / & = halfop, may manage users in the channel
  • o / @ = channel operator, may manage user and channel resources
  • a / & = channel admin
  • q / ~ = channel owner
/mode <channel> +<flag> <name>

Note: To set, you will require permissions equal or higher than the level you are trying to set (e.g. +o can set +v, but +o cannot set +a). Undoing permissions is just a matter of changing + to -.

IRC Operation

Only attempt these commands if you have permission and authorization.

Gain Operator/Administrator Privileges

/oper <oper-user> <oper-password> 

Server Ban a User (based on name/hostmask)

/kline <name> <time> <reason> 

If Mibbit, see Banning Abusive Mibbit Users

Server Ban a User (based on IP)

/zline <name> <time> <reason> 

Do not use this on Mibbit users

Get the list of Server bans

/kline

Get the list of Server IP Bans

/zline

Remove a Ban

/<command> -<mask or addr>

or

/raw <command> -<mask or addr>

IRC Administration

Only attempt these commands if you have permission and authorization.

Network Ban a User (based on name/hostmask)

/gline <name> <time> <reason> 

If Mibbit, see Banning Abusive Mibbit Users

Network Ban a User (based on IP)

/gzline <name> <time> <reason> 

Do not use this on Mibbit users

Get the list of Network Bans (name/hostmask)

/gline

Get the list of Network Bans (IP)

/gzline

Remove a Ban

/<command> -<mask or addr>

or

/raw <command> -<mask or addr>

Disconnect a Server (permit automatic reconnection)

/squit <server>

Disconnect a Server (more than 1 minute)

/squit <server>
/operserv jupe <server>

First command disconnects, second prevents reconnection by introducing a fake server with that name to the network so it's thought that server exists so no automatic healing mechanisms attempts reconnect.

Allow a Server to reconnect

/squit <server>

This will remove the fake server.