Commands
IRC Modes & Commands for Unreal IRCd
User & Oper Commands
|
Command
|
Description
|
Who
|
| nick <newnickname> | Changes your online nick name. Alerts others to the change of your nick | All |
| whois <nick> | Displays information of user requested. Includes Full Name, Host, Channels User is in, and Oper Status | All |
| who <mask> | Who allows you to search for users. Masks include: nickname, #channel, hostmask (*.attbi.com) | All |
| whowas <nick> <maxreplies> | Displays information on a nick that has logged off. The <max replies> field is optional, and limits how many records will be returned. | All |
| ison <nick1 nick2 nick3 ...> | Allows you to check the online status of a user, or a list of users. Simple return, best used for scripts | All |
| join <channel1,channel2, ...> | Allows you to join channels. Using the /join #channel1,#channel2,#channel3 will allow you to join more than one channel at a time. The /join 0 command makes you PART all channels. | All |
| cycle <channel1, channel2, ...> | Cycles the given channel(s). This command is equivalent to sending a PART then a JOIN command. | All |
| motd <server> | Displays the servers motd. Adding a server name allows you to view motd’s on other servers. | All |
| rules <server> | Displays the ircd.rules of a server. Adding a server name allows you to view rules on other servers | All |
| lusers <server> | Displays current & max user loads, both global and local. Adding a server name allows you to view the statistics from other servers. | All |
| map | Displays a network map | All |
| quit <reason> | Causes you to disconnect from the server. If you include a reason, it will be displayed on all channels as you quit | All |
| ping <user> | Sends a PING request to a user. Used for checking connection and lag. Servers issue pings on a timed basis to determine if users are still connected. | All |
| version <nick> | Sends a CTCP Version request to the user. If configured to do so, their client will respond with the client version. | All |
| links | Displays a list of all servers linked to the network | All |
| Admin <server> | Displays the admin info of a server. If a server name is included it will display the info of that server. | All |
| userhost <nick> | Displays the userhost of the nick given. Generally used for scripts | All |
| topic <channel> <topic> | Topic <channel> will display the current topic of the given channel. Topic <channel> <topic> will change the topic of the given channel. | All |
| invite <nick> <channel> | Invites the given user to the given channel. (Must be a channel Op) | ChanOp |
| kick <channel, channel> <user, user> <reason> | Kicks a user or users out of a channel, or channels. A reason may also be supplied. | ChanOp |
| away <reason> | Marks you as being away. A reason may also be supplied. | All |
| Watch +-<nick> +-<nick> | Watch is a new notify-type system in UnrealIRCd which is both faster and uses less network resources than any old-style notify system. The server will send you a message when any nickname in your watch list logs on or off. The watch list DOES NOT REMAIN BETWEEN SESSIONS - you (or your script or client) must add the nicknames to your watch list every time you connect to an IRC server. | All |
| helpop ?<topic> or !<topic> | HelpOp is a new system of getting IRC Server help. You type either /HELPOP ? <help system topic> or /HELPOP ! <question> The "?" in /HELPOP means query the help system and if you get no response you can choose '!' to send it to the Help Operators online. Using neither ? nor ! will mean the command will be first queried within the help system and if no match if found , it will be forwarded to the help operators | All |
| list <search string> | If you don't include a search string, the default is to send you the entire unfiltered list of channels. Below are the options you can use, and what channels LIST will return when you use them. >number List channels with more than <number> people. <number List channels with less than <number> people. C>number List channels created between now and <number> minutes ago. C<number List channels created earlier than <number> minutes ago. T>number List channels whose topics are older than <number> minutes (Ie., they have not changed in the last <number> minutes. T<number List channels whose topics are newer than <number> minutes. *mask* List channels that match *mask* !*mask* List channels that do not match *mask* |
All |
| Knock <channel> <message> | Allows you to ‘knock’ on an invite only channel and ask for access. Will not work if channel has one of the following modes set: +K +V. Will also not work if you are banned | All |
| setname | Allows users to change their ‘Real Name’ without reconnecting | All |
| vhost <login> <password> | Hides your host name by using a vhost provided by the server. | All |
| mode <chan/nick> <mode> | Lets you set channel and user modes. | All |
| credits | Lists credits for everyone that has helped create UnrealIRCd | All |
| license | Displays the GNU License | All |
| time <server> | Displays the servers date and time. Including a server name allows you to check other servers. | All |
| botmotd <server> | Displays the servers bot message of the day. Including a server name allows you to check other servers | All |
| identify <password> | Sends your password to the services system to identify to your nick. | All |
| identify <channel> <password> | Sends your password to the services system to identify as the founder of a channel. | All |
| dns <option> | Returns information about the IRC server's DNS cache. Note, since most clients have a built-in DNS command, you will most likely need to use /raw DNS to use this. Opers may specify an l as the first parameter to the command to receive a list of entries in the DNS cache. | All |
| oper <userid> <password> | Command to give a user operator status if they match an Oper Block | IRCop |
| wallops <message> | Sends a message to all users with umode +w | IRCop |
| globops <message> | Sends a message to all IRCops | IRCop |
| chatops <message> | Send a message to all IRCops with umode +c | IRCop |
| locops <message> | Sends a message to all local IRCops | IRCop |
| adchat <message> | Sends a message to all Admins | IRCop |
| nachat <message> | Sends a message to all Net Admins | IRCop |
| kill <nick> <reason> | Kills a user from the network | IRCop |
| kline [+|-]<user@host | nick> [<time to ban> <reason>] | Bans the hostmask from the server it is issued on. A kline is not a global ban. time to ban is either: a) a value in seconds, b) a time value, like '1d' is 1 day or c) '0' for permanent. Time and reason are optional, if unspecified set::default-bantime (default: 0/permanent) and 'no reason' are used. To remove a kline use /kline -user@host |
IRCop |
| zline [+|-]<*@ip> [<time to ban> <reason>] | Bans an IP Address from the local server it is issued on (not global). See kline for more syntax info. Use /zline -*@ip to remove. | IRCop |
| gline [+|-]<user@host | nick> [<time to ban> <reason>] | Adds a global ban to anyone that matches. See kline for more syntax info. Use /gline -user@host to remove. | IRCop |
| shun [+|-]<user@host | nick> [<time to shun> <reason>] | Prevents a user from executing ANY commands and prevents them from speaking. Shuns are global (like glines). See kline for more syntax info. Use /shun -user@host to remove a shun. | IRCop |
| gzline [+|-]<ip> <time to ban> :<reason> | Adds a global zline. See kline for more syntax info. Use /gzline -*@ip to remove a gzline. | IRCop |
| rehash <server> –<flags> | Rehashes the servers config file. Including a server name allows you to rehash a remote servers config file. Several flags are also available. They Include -motd - Only rehash all MOTD and RULES files (including tld {}) -opermotd - Only rehash the OPERMOTD file -botmotd - Only rehash the BOTMOTD file -garbage - Force garbage collection |
IRCop |
| restart <server> <password> | Restarts the IRCD Process. Password is required. You may also include a server name to restart a remote server. | IRCop |
| die <password> | Terminates the IRCD Process. Password is required | IRCop |
| lag <server> | This command is like a Sonar or Traceroute for IRC server. You type in /LAG irc.fyremoon.net and it will reply from every server it passes with time and so on. Useful for looking where lag is and optional TS future/past travels | IRCop |
| sethost <newhost> | Lets you change your vhost to what ever you want it to be. | IRCop |
| setident <newident> | Lets you set your ident to what ever you want it to be | IRCop |
| chghost <nick> <newhost> | Lets you change the host name of a user currently on the system | IRCop |
| chgident <nick> <newident> | Lets you change the ident of a user currently on the system | IRCop |
| chgname <nick> <newname> | Lets you change the realname of a user currently on the system | IRCop |
| squit <server> | Disconnects a server from the network | IRCop |
| connect <server> <port> <server> | If only one server is given, it will attempt to connect the server you are ON to the given server. If 2 servers are given, it will attempt to connect the 2 servers together. Put the leaf server as the first, and the hub server as the second. | IRCop |
| dccdeny <filemask> <reason> | Adds a DCCDENY for that filemask. Preventing that file from being sent. | IRCop |
| undccdeny <filemask> | Removes a DCCDENY | IRCop |
| sajoin <nick> <channel>, <channel> | Forces a user to join a channel(s). Available to services & network admins only | IRCop |
| sapart <nick> <channel>, <channel> | Forces a user to part a channel(s). Available to services & network admins only. | IRCop |
| samode <channel> <mode> | Allows Network & Services admins to change modes of a channel without having ChanOps. | IRCop |
| rping <servermask> | Will calculate in milliseconds the lag between servers | IRCop |
| trace <servermask|nickname> | When used on a user it will give you class and lag info. If you use it on a server it gives you class/version/link info. | IRCop |
| opermotd | Displays the servers OperMotd File | IRCop |
| addmotd :<text> | Will add the given text to the end of the Motd | IRCop |
| addomotd :<text> | Will add the given text to the end of the OperMotd | IRCop |
| sdesc <newdescription> | Allows server admins to change the description line of their server without restarting. | IRCop |
| addline <text> | Allows you to add lines to the unrealircd.conf | IRCop |
| mkpasswd <password> | Will encrypt a clear text password to add it to the unrealircd.conf | IRCop |
| tsctl offset +/- <time> | Adjust the IRCD’s Internal clock (Do NOT use if you do not understand EXACTLY what it does) | IRCop |
| tsctl time | Will give a TS Report | IRCop |
| tsctl alltime | Will give a TS Report of ALL servers | IRCop |
| tsctl svstime <timestamp> | Sets the TS time of all servers (Do NOT use if you do not understand EXACTLY what it does) | IRCop |
| htm <option> | Controls settings related to high traffic mode. High Traffic Mode (HTM) basically disables certain user commands such as: list whois who etc in response to extremely high traffic on the server. Options include: -ON Forces server into HTM -OFF Forces server out of HTM -NOISY Sets the server to notify users/admins when in goes in and out of HTM -QUIET Sets the server to NOT notify when going in and out of HTM -TO <value> Tell HTM at what incoming rate to activate HTM |
IRCop |
| stats <option> | B - banversion - Send the ban version list b - badword - Send the badwords list C - link - Send the link block list d - denylinkauto - Send the deny link (auto) block list D - denylinkall - Send the deny link (all) block list e - exceptthrottle - Send the except trottle block list E - exceptban - Send the except ban block list f - spamfilter - Send the spamfilter list F - denydcc - Send the deny dcc block list G - gline - Send the gline list Extended flags: [+/-mrs] [mask] [reason] [setby] m Return glines matching/not matching the specified mask r Return glines with a reason matching/not matching the specified reason s Return glines set by/not set by clients matching the specified name I - allow - Send the allow block list j - officialchans - Send the offical channels list K - kline - Send the ban user/ban ip/except ban block list l - linkinfo - Send link information L - linkinfoall - Send all link information M - command - Send list of how many times each command was used n - banrealname - Send the ban realname block list O - oper - Send the oper block list S - set - Send the set block list s - shun - Send the shun list Extended flags: [+/-mrs] [mask] [reason] [setby] m Return shuns matching/not matching the specified mask r Return shuns with a reason matching/not matching the specified reason s Return shuns set by/not set by clients matching the specified name P - port - Send information about ports q - sqline - Send the SQLINE list Q - bannick - Send the ban nick block list r - chanrestrict - Send the channel deny/allow block list R - usage - Send usage information t - tld - Send the tld block list T - traffic - Send traffic information u - uptime - Send the server uptime and connection count U - uline - Send the ulines block list v - denyver - Send the deny version block list V - vhost - Send the vhost block list X - notlink - Send the list of servers that are not current linked Y - class - Send the class block list z - zip - Send compression information about ziplinked servers (if compiled with ziplinks support) Z - mem - Send memory usage information |
All |
| module | Lists all loaded modules | All |
| close | This command will disconnect all unknown connections from the IRC server. | IRCOp |
User Modes
|
Mode
|
Description
|
|
User Modes
|
|
|
r
|
Identifies the nick as being registered |
|
s
|
Can listen to server notices |
|
v
|
Receives infected DCC Send Rejection notices |
|
o
|
Global IRC Operator (Set in Oper Block) |
|
O
|
Local IRC Operator (Set in Oper Block) |
|
B
|
Marks you as being a Bot |
|
i
|
Invisible (not shown in /who) |
|
A
|
Server Admin (Set in Oper Block) |
|
x
|
Gives user a hidden hostname |
|
q
|
Only U:Lines can kick you (Services Admins Only) |
|
a
|
Services Admin (Set in Oper Block) |
|
g
|
Can send & read globops and locops |
|
H
|
Hide IRCop Status (IRCop Only) |
|
S
|
Used to protect Services Daemons |
|
t
|
Says you are using a /vhost |
|
C
|
Co-Admin (Set in Oper Block) |
|
d
|
Makes it so you can not receive channel PRIVMSGs |
|
N
|
Network Administrator (Set in Oper Block) |
|
w
|
Can listen to wallop messages |
|
h
|
Available for help (HelpOp) (Set in OperBlock) |
|
G
|
Filters out all the bad words per configuration |
|
W
|
Lets you see when people do a /whois on you (IRCops Only) |
|
p
|
Hides the channels you are in from /whois |
|
R
|
Allows you to only receive PRIVMSGs/NOTICEs from registered (+r) users |
|
V
|
Marks you as a WebTV user |
|
z
|
Indicates that you are an SSL client |
|
T
|
Prevents you from receiving CTCPs |
Channel Modes
|
Mode
|
Description
|
|
Channel Modes
|
|
|
A
|
Only Administrators may join |
|
a <nick>
|
Makes the user a channel admin |
|
b <nick!user@host>
|
Bans the given user from the channel |
|
c
|
No ANSI color can be sent to the channel |
|
C
|
No CTCP's allowed in the channel |
|
e <nick!user@host>
|
Exception ban – If someone matches this, they can join a channel even if they match an existing ban |
|
f * <lines:seconds>
|
Flood protection, if the * is given a user will kick banned when they send <lines:seconds> if no * they are just kicked |
|
G
|
Makes channel G rated. Checks for words listed in the Badword Blocks, and replaces them with the words specified |
|
M
|
A registered nickname (+r) is required to talk |
|
h <nick>
|
Gives half-op status to the user |
|
i
|
Invite required |
|
K
|
/knock is not allowed |
|
k <key>
|
Sets a key needed to join |
|
l <##>
|
Sets max number of users |
|
L <Chan>
|
If the amount set by +l has been reached, users will be sent to this channel |
|
m
|
Moderated channel. Only +v/o/h users may speak |
|
N
|
No nick name changes permitted |
|
n
|
No messages from outside channels |
|
O
|
Only IRCops may join |
|
o <nick>
|
Gives a user channel operator status |
|
p
|
Makes channel private |
|
q <nick>
|
Sets channel owner |
|
Q
|
Only U:Lined servers can kick users |
|
R
|
Requires a registered nickname to join |
|
S
|
Strips all incoming colors |
|
s
|
Makes channel secret |
|
t
|
Only chanops can set topic |
|
T
|
No NOTICE's allowed in the channel |
|
u
|
Auditorium – Makes /names and /who #channel only show channel ops |
|
V
|
/invite is not allowed |
|
v <nick>
|
Gives a voice to users. (May speak in +m channels) |
|
z
|
Only clients on a Secure (SSL) Connection may join |
Oper Flags
|
Old Flag
|
New Flag
|
Description |
|
o
|
local
|
Makes you a local operator |
|
O
|
global
|
Makes you a global operator |
|
C
|
coadmin
|
Makes you a coadmin |
|
A
|
admin
|
Makes you a admin |
|
a
|
services-admin
|
Makes you a services admin |
|
N
|
netadmin
|
Makes you a Network Admin |
|
r
|
can_rehash
|
Oper may use /rehash |
|
D
|
can_die
|
Oper may use /die |
|
R
|
can_restart
|
Oper may use /restart |
|
h
|
helpop
|
Oper receives umode +h (helpop) |
|
w
|
can_wallops
|
Oper can send /wallops |
|
g
|
can_globops
|
Oper can send /globops |
|
c
|
can_localroute
|
Can connect servers locally |
|
L
|
can_globalroute
|
Can connect servers globally |
|
k
|
can_localkill
|
Can /kill local users |
|
K
|
can_globalkill
|
Can /kill global users |
|
b
|
can_kline
|
Can use /kline |
|
B
|
can_unkline
|
Can use /kline -u@h |
|
n
|
can_localnotice
|
Can send local server notices |
|
G
|
can_globalnotice
|
Can send global server notices |
|
z
|
can_zline
|
Can use /zline |
|
t
|
can_gkline
|
Can use /gline, /shun and /spamfilter |
|
Z
|
can_gzline
|
Can use /gzline |
|
W
|
get_umodew
|
Sets umode +W when u oper |
|
H
|
get_host
|
Sets your host to an oper host |
|
v
|
can_override
|
Can use OperOverride |
|
q
|
can_setq
|
Can use usermode +q |
|
X
|
can_addline
|
Can use /addline |
|
d
|
can_dccdeny
|
Can use /dccdeny and /undccdeny |
Certain flags give you other flags by default:
| local | global | admin/coadmin | services-admin | netadmin |
| can_rehash | can_rehash | can_rehash | can_rehash | can_rehash |
| helpop | helpop | helpop | helpop | helpop |
| can_globops | can_globops | can_globops | can_globops | can_globops |
| can_wallops | can_wallops | can_wallops | can_wallops | can_wallops |
| can_localroute | can_localroute | can_localroute | can_localroute | can_localroute |
| can_localkill | can_localkill | can_localkill | can_localkill | can_localkill |
| can_kline | can_kline | can_kline | can_kline | can_kline |
| can_unkline | can_unkline | can_unkline | can_unkline | can_unkline |
| can_localnotice | can_localnotice | can_localnotice | can_localnotice | can_localnotice |
| can_globalroute | can_globalroute | can_globalroute | can_globalroute | |
| can_globalkill | can_globalkill | can_globalkill | can_globalkill | |
| can_globalnotice | can_globalnotice | can_globalnotice | can_globalnotice | |
| global | global | global | ||
| can_dccdeny | can_dccdeny | can_dccdeny | ||
| can_setq | can_setq | |||
| admin | ||||
| services-admin |