IRC Commands :: IRCd

Mode
Description
Channel Modes
A
Only Administrators may join
a <nick>
Makes the user a channel admin
b <[email protected]>
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 <[email protected]>
Exception ban � If someone matches this, they can join a channel even if they match an existing ban
f [<number><type>]:<seconds>
Channel flood protection. See section 3.12 above for an extended description.
G
Makes channel G rated. Checks for words listed in the Badword Blocks, and replaces them with the words specified
h <nick>
Gives half-op status to the user
i
Invite required
I <[email protected]>
Invite exceptions ("invex") - if someone matches this, they can bypass +i requirements to enter the channel.
j <joins:seconds>
Throttles joins per-user to joins per seconds seconds
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
A registered nickname (+r) is required to talk
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
This channel is registered (only settable by services)
R
Requires a registered nickname to join
S
Strips all incoming colors
s
Makes channel secret
t
Only halfops, chanops, or better 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
Z
Set by the server to indicate all users on the channel are on a Secure (SSL) Connection. Only active is +z is also set. ULines (eg: BotServ) are ignored when counting 'insecure users'. It's still up to the server admins to make safe server to server links (which could be with the help of SSL, but also VPN, loopback interface, quantum encryption, etc etc), the IRCd does not and cannot detect this.

 

Mode
Description
User Modes
A
Server Admin (Set in Oper Block)
a
Services Admin (Set in Oper Block)
B
Marks you as being a Bot
C
Co-Admin (Set in Oper Block)
d
Makes it so you can not receive channel PRIVMSGs (with the exception of text prefixed with certain characters, see set::channel-command-prefix)
G
Filters out all the bad words per configuration
g
Can send & read globops and locops
H
Hide IRCop Status (IRCop Only)
h
Available for help (HelpOp) (Set in OperBlock)
i
Invisible (not shown in /who)
N
Network Administrator (Set in Oper Block)
O
Local IRC Operator (Set in Oper Block)
o
Global IRC Operator (Set in Oper Block)
p
Hides the channels you are in from /whois
q
Only U:Lines can kick you (Services Admins Only)
R
Allows you to only receive PRIVMSGs/NOTICEs from registered (+r) users
r
Identifies the nick as being registered
S
Used to protect Services Daemons
s
Can listen to server notices (see section 3.3 above for more information)
T
Prevents you from receiving CTCPs
t
Says you are using a /vhost
V
Marks you as a WebTV user
v
Receives infected DCC Send Rejection notices
W
Lets you see when people do a /whois on you (IRCops Only)
w
Can listen to wallop messages
x
Gives user a hidden hostname
z
Indicates that you are an SSL client

7 � User & Oper Commands Table

NOTE: the /helpop documentation is more up to date, use /helpop command (or /helpop ?command if you are oper) to get more information on a command.

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. See User & Channel Modes for a list.
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
userip <nick>
Returns the IP address of the user in question. 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 global IRCops IRCop
chatops <message> Sends a message to all IRCops (local and global) 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 [+|-]<[email protected] | 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 [email protected]
IRCop
zline [+|-]<[email protected]> [<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 [email protected] to remove.
IRCop
gline [+|-]<[email protected] | nick> [<time to ban> <reason>]
Adds a global ban to anyone that matches. See kline for more syntax info. Use /gline [email protected] to remove.
IRCop
shun [+|-]<[email protected] | 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 [email protected] to remove a shun.
IRCop
gzline [+|-]<ip> <time to ban> :<reason>
Adds a global zline. See kline for more syntax info. Use /gzline [email protected] to remove a gzline.
IRCop
rehash <server|-global> <flags> Rehashes the servers config file. Including a server name allows you to rehash a remote servers config file, and using -global will rehash all servers on the network (both are NetAdmin-only). Several flags are also available. They Include
-dns - Reinitializes and reloads the resolver
-motd - Only re-read all MOTD, BOTMOTD, OPERMOTD and RULES files (including those in tld{} blocks)
-garbage - Force garbage collection
-ssl - Reloads SSL certificates
IRCop
restart <password> <reason>
Restarts the IRCD Process. Password is required if drpass { } is present. You may also include a reason.
IRCop
die <password>
Terminates the IRCD Process. Password is required if drpass { } is present. 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>
Appends the specified text to unrealircd.conf. You must load the m_addline module to use this command since unrealircd-3.2.9.
IRCop
mkpasswd <auth-type> <password>
Will encrypt <password> using the <auth-type> hashing method. Available hash methods:
  • crypt [Windows support requires SSL]
  • md5
  • sha1 [requires SSL]
  • ripemd160 [requires SSL]

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 throttle block list
E - exceptban - Send the except ban and except tkl block list
f - spamfilter - Send the spamfilter list
F - denydcc - Send the deny dcc block list
G - gline - Send the gline and gzline 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
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
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
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