IRC Commands

From Digibase Knowledge Base
Jump to: navigation, search

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:

  • <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.

User

Join a Channel

/join <channel> 

Change Your Name

/nick <newname> 

Register with Nickserv

/nickserv identify <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.

Channel Operator

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 [insert mibbit link]

Unban a user

/mode <channel> +b <name>
/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.

IRC Operation

Server Ban a User (based on name/hostmask)

/kline <name> <time> <reason> 

Server Ban a User (based on IP)

/zline <name> <time> <reason> 

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

Network Ban a User (based on name/hostmask)

/gline <name> <time> <reason> 

Network Ban a User (based on IP)

/gzline <name> <time> <reason> 

Get the list of Network Bans

/gline

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.