Difference between revisions of "IRC Commands"
m |
m |
||
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:''' | ||
+ | * <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. | ||
+ | * <time> = a time parameter, can be appended by '''s'''econds, '''h'''ours, '''d'''ays; 0 = forever until manually reversed | ||
==User== | ==User== | ||
Line 36: | Line 48: | ||
==IRC Operation== | ==IRC Operation== | ||
− | |||
− | |||
− | |||
===Server Ban a User (based on name/hostmask)=== | ===Server Ban a User (based on name/hostmask)=== | ||
− | <nowiki>/kline <name> <reason> </nowiki> | + | <nowiki>/kline <name> <time> <reason> </nowiki> |
===Server Ban a User (based on IP)=== | ===Server Ban a User (based on IP)=== | ||
− | <nowiki>/zline <name> <reason> </nowiki> | + | <nowiki>/zline <name> <time> <reason> </nowiki> |
===Get the list of Server bans=== | ===Get the list of Server bans=== | ||
Line 60: | Line 69: | ||
===Network Ban a User (based on name/hostmask)=== | ===Network Ban a User (based on name/hostmask)=== | ||
− | <nowiki>/gline <name> <reason> </nowiki> | + | <nowiki>/gline <name> <time> <reason> </nowiki> |
===Network Ban a User (based on IP)=== | ===Network Ban a User (based on IP)=== | ||
− | <nowiki>/gzline <name> <reason> </nowiki> | + | <nowiki>/gzline <name> <time> <reason> </nowiki> |
===Get the list of Network Bans=== | ===Get the list of Network Bans=== | ||
Line 74: | Line 83: | ||
===Disconnect a Server (permit automatic reconnection)=== | ===Disconnect a Server (permit automatic reconnection)=== | ||
− | <nowiki>/squit < | + | <nowiki>/squit <server></nowiki> |
===Disconnect a Server (more than 1 minute)=== | ===Disconnect a Server (more than 1 minute)=== | ||
− | <nowiki>/squit < | + | <nowiki>/squit <server> |
− | /operserv jupe < | + | /operserv jupe <server></nowiki> |
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. | 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=== | ===Allow a Server to reconnect=== | ||
− | <nowiki>/squit < | + | <nowiki>/squit <server></nowiki> |
This will remove the fake server. | This will remove the fake server. |
Revision as of 22:16, 4 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:
- <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.