IRC FAQ: Ircop Commands Help - English

/adchat <message>

Sends a message to all Admins

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

/addmotd :<text>

Will add the given text to the end of the Motd

/addomotd :<text>

Will add the given text to the end of the OperMotd

/chatops <message>

Sends a message to all IRCops (local and global)

/chghost <nick> <newhost>

Lets you change the host name of a user currently on the system chgident <nick> <newident> Lets you change the ident of a user currently on the system

/chgname <nick> <newname>

Lets you change the realname of a user currently on the system

/close

This command will disconnect all unknown connections from the IRC server.

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

/dccdeny <filemask> <reason>

Adds a DCCDENY for that filemask. Preventing that file from being sent.

/die <password>

Terminates the IRCD Process. Password is required if drpass { } is present.

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

/globops <message>

Sends a message to all global IRCops

/gzline [+|-]<ip> <time to ban> :<reason>

Adds a global zline. See kline for more syntax info. Use /gzline -*@ip to remove a gzline.

/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

/kill <nick> <reason>

Kills a user from the network

/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

/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

/locops <message>

Sends a message to all local

/mkpasswd <auth-type> <password>

Will encrypt <password> using the <auth-type> hashing method. See Authentication Types for available hash methods.

/module

Lists all loaded modules

/nachat <message>

Sends a message to all Net Admins

/oper <userid> <password>

Command to give a user operator status if they match an Oper Block

/opermotd

Displays the servers OperMotd File

/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

/restart <password> <reason>

Restarts the IRCD Process. Password is required if drpass { } is present. You may also include a reason.

/rping <servermask>

Will calculate in milliseconds the lag between servers

/sajoin <nick> <channel>, <channel>

Forces a user to join a channel(s). Available to services & network admins only

/samode <channel> <mode>

Allows Network & Services admins to change modes of a channel without having ChanOps.

/sapart <nick> <channel>, <channel>

Forces a user to part a channel(s). Available to services & network admins only.

/sdesc <newdescription>

Allows server admins to change the description line of their server without restarting.

/sethost <newhost>

Lets you change your vhost to what ever you want it to be.

/setident <newident>

Lets you set your ident to what ever you want it to be

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

/squit <server>

Disconnects a server from the network

/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

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

/tsctl svstime <timestamp>

Sets the TS time of all servers (Do NOT use if you do not understand EXACTLY what it does)

/undccdeny <filemask>

Removes a DCCDENY

/wallops <message>

Sends a message to all users with umode +w

/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.
Source: UnrealIRCd