Helpop Oper Commands

UnrealIRCd Help System



Helpop

Server Commands Help.


Usage:

/helpop

Gives a list of server commands.

/helpop <command>

Gives more information on a specific server command.





Helpop Opercmds

List of Oper Commands which are available for use.

Adchat Chgname     Die Gzline     Lag Nachat Restart Sapart Shun Trace Zline
Chatops Close Dns Htm Locops Oper Rping Sdesc Spamfilter Tsctl
Chghost Connect Gline Kill Mkpasswd     Opermotd     Sajoin Sethost Squit Undccdeny    
Chgident     Dccdeny Globops     Kline Module Rehash Samode     Setident     Tempshun     Wallops




Adchat

Sends a message to all online Admins.

/adchat <text>


example:

/adchat Hey guys! I'm finally here.




Chatops

Sends a message to all ircops (global).

/chatops <message>


example:

/chatops Gonna k:line that user ...




Chghost

Changes the hostname of a user currently on the IRC network.
IRC Operator only command.

/chghost <nick> <host>


example:

/chghost Johnny coffee.sla.ve




Chgident

Changes the Ident of a user currently on the IRC network.
IRC Operator only command.

/chgident <nick> <ident>


examples:

/chgident Johnny Black




Chgname

Changes the "IRC Name" (or "Real Name") of a user currently on the IRC network.
IRC Operator only command.

/chgname <nick> <realname>


example:

/chgname Johnny Caffeine isn't a drug, it's a vitamin!




Close

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

/close




Connect

Links another IRC server to the one you are currently on. Remote connections are also possible.
IRC Operator only command.

/connect <server> [port]

/connect <leaf> <port> <hub>


examples:

/connect leaf.*

/connect leaf.* 6667 hub.*




Dccdeny

Adds a DCC Deny for that Filename mask. This means that any DCC sends of Files matching that Filename mask will be rejected.

IRC Operator only command.

/dccdeny <filename mask> <reason>




Die

Kills the IRC daemon, disconnecting all users currently on that server.
IRC Operator only command.

/die

/die <password>




Dns

Returns information about the IRC server's DNS cache. Note, since most clients have a builtin DNS command, you will most likely need to use /raw DNS to use this.
There are also 2 other variants: 'DNS l' will show you the DNS cache entries 'DNS i' will give you details about the nameserver config.

/dns [option]




Gline

This command provides timed G:Lines. If you match a G:Line you cannot connect to ANY server on the IRC network A time of 0 in the GLINE makes it permanent (Never Expires).
You may also specify the time in the format 1d10h15m30s.
IRC Operator only command.

/gline <user@host mask or nick> [time] <reason>

Adds a G:line for user@host.

/gline -<user@host mask>

Removes a G:line for user@host.


examples:

/gline *@*.idiot.net 900 Spammers

Adds a 15 min G:line.

/gline *@*.idiot.net 1d5h Spammers

Adds a 29 hour G:line.

/gline Idiot 1d Abuse

/gline -*@*.idiot.net


NOTE: requires the can_gkline oper flag.



Globops

Sends a global "Message" to all IRCops. Only viewable by IRCops (unlike WALLOPS, which can be viewed by normal users).

/globops <message>


example:

/globops Lets get em clones ..




Gzline

This command provides timed global Z:line. If you match a Global Z:Line you cannot connect to ANY server on the IRC network.
A time of 0 in the GZLINE makes it permanent (Never Expires). You may also specify the time in the format 1d10h15m30s.
IRC Operator only command.

/gzline <*@ipmask> <seconds to be banned> :<reason>

Adds a Global Z:line for *@ipmask.

/gzline -<*@ipmask>

Removes a Global Z:line for *@ipmask.


examples:

/gzline *@4.16.200.* 900 Spammers

Adds a 15 min Global Z:line.

/gzline *@4.16.200.* 1d5h Spammers

Adds a 29 hour Global Z:line.

NOTE: requires the can_gzline oper flag.



Htm

Switches the server In & Out of High Traffic Mode HTM is activated when the server is receiving extremely high amounts of information.
IRC Operator only command.

/htm <option>


If no option is specified it just displays the current HTM state

If an option is specified it does a more specific task, valid options are:

ON - Force HTM to activate.
OFF - Force HTM to deactivate.
NOISY - Make HTM announce when it is entering/leaving HTM.
QUIET - Stop HTM from announcing when it is entering/leaving HTM.
TO <value> - Tell HTM at what incoming rate to activate HTM.




Kill

Forcefully disconnects a user from an IRC Server.
IRC Operator only command.

/kill <user> <reason>


example:

/kill Johnny Cloning is not allowed.




Kline

This command provides timed K:Lines. If you match a K:Line you cannot connect to the server.
A time of 0 in the KLINE makes it permanent (Never Expires). You may also specify the time in the format 1d10h15m30s.
IRC Operator only command.

/kline <hostmask or nick> [time] <reason>

Adds a Kline.

/kline -<hostmask>

Removes a Kline.


examples:

/kline *@*.aol.com Abuse

Adds a permanent K:line.

/kline *@*.someisp.com 2d Abuse

Adds a K:line for 2 days.

/kline Idiot 1d Please go away

/kline -*@*.aol.com




Lag

This command is like a Traceroute for IRC servers. You type in /LAG irc-m08.chat.com 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.

/lag <server>


example:

/lag irc-m08.chat.com




Locops

Sends a message to all IRCops at this server (local).

/locops <message>


example:

/locops Gonna kline that user.




Mkpasswd

This command will encrypt the string it has been given so you can add it directly to the unrealircd.conf if you use encrypted passwords. Type can be crypt, sha1, or md5. Sha1 and md5 are only available when compiled with SSL support.

/mkpasswd <method> <password>


example:

/mkpasswd crypt mpsare




Module

This will give you a list of all modules loaded. Depending on whether you are a normal user or an oper it will give different output.

-- normal user: --

/module

Output of command: *** name - (description) [3RD] the [3RD]
Flag is present if it's an 3rd party module.


-- ircop: --

/module <server>

Output of command: *** name - version (description) [optional flags]

Flags can be:
[3RD] 3rd party module
[OLD?] Lacking Mod_Version, forgot to recompile an old beta* module?

Additionally you'll see a list of which hooks and commandoverrides are present (the hook number can be looked up in include/modules.h).



Nachat

Sends a message to all online NetAdmins.

/nachat <text>


example:

/nachat Hey guys! How is everything?




Oper

Attempts to give a user IRC Operator status. (Lets the IRCop opper up)

/oper <uid> <password2>

Note: both uid and password are case sensitive.

examples:

/oper Johnny foobar234




Opermotd

Shows the IRCd Operator MOTD.
IRC Operator only command.

/opermotd




Rehash

Prompts the server to reread the configuration files.
IRC Operator only command.

/rehash <servername> -<flags>

/rehash -<flags>

If servername and flags are not specified this rehashes the unrealircd.conf, removing any temporary k:lines. If servername is specified, this is used to rehash config files on servername. Only NetAdmins may specify a server name.

The flags are used to rehash other config files, valid flags are:

-motd - Rehashes all MOTD files and RULES files. (including tld{})
-opermotd - Rehashes the OPERMOTD.
-botmotd - Rehashes the BOTMOTD.
-garbage - Force garbage collection.




Restart

Kills and Restarts the IRC daemon, disconnecting all users currently on that server.

IRC Operator only command.

/restart

/restart <password>

/restart <server> <password>




Rping

This will calculate the Lag (In milliseconds) between servers.

/rping <servermask>




Sajoin

Forces a user to join a channel.
Services Admin Command.

/sajoin <nick> <channel> [<channel2>..]


example:

/sajoin Johnny #ophelp

/sajoin Johnny #ophelp,#chathelp




Samode

Allows a Services Administrator to change the mode on a channel, without having Operator status.
Services Admin Command.

/samode <channel> <mode>


example:

/samode #ophelp +m




Sapart

Forces a user to part a channel.
Services Admin Command.

/sapart <nick> <channel> [<channel2>..]


example:

/sapart Johnny #ophelp

/sapart Johnny #ophelp,#chathelp




Sdesc

With this command you can change your Server Info Line without having to squit and reconnect.
This is a Server Admin/Co Admin only command.

/sdesc <new description>


example:

/sdesc Fly High, Fly Free.




Sethost

This command is so you can change your Virtual host (Vhost) to anything you want, except special characters.
IRC Operator only command.

/sethost <new hostname>


example:

/sethost need.new.coffee.slaves

 




Setident

With this command you can change your Ident (Username).
IRC Operator only command.

/setident <new ident>


example:

/setident l33t




Shun

Prevents a user from executing ANY command except ADMIN and respond to Server Pings. Shuns are global (like glines). A time of 0 in the SHUN makes it permanent (Never Expires). You may also specify the time in the format 1d10h15m30s.

IRC Operator only command.

/shun <nickname> <time> :<Reason>

Shun the nickname for time in seconds.

/shun +<user@host> <time> :<Reason>

Shun the user@host for time in seconds.

/shun -<user@host>

Removes the shun for user@host.

/shun

View the current shun list.


examples:

/shun +foobar@aol.com 600 :Spamming

Shuns foobar@aol.com for 10 mins for Spamming.

/shun +foobar@aol.com 1d6h :Spamming

Adds a 30 hour shun.

NOTE: requires the can_gkline oper flag.



Spamfilter

This command adds/removes global spam filters. Spamfilters can be used to get rid of spam, advertising, bots, etc.

Use: /spamfilter [add|del|remove|+|-] [type] [action] [tkltime] [reason] [regex]


[type]
Specifies the target type, you can specify multiple targets:
'c' channel msg
'p' private msg
'n' private notice
'N' channel notice
'P' part msg
'q' quit msg
'd' dcc


[action]
Specifies the action to be taken (only 1 action can be specified):
'kill'
'tempshun' (only shun current session)
'shun'
'kline'
'gline'
'zline'
'gzline'
'block' (blocks the msg)
'dccblock' (unable to send any dccs)
'viruschan' (part all channels and join the virus help chan)


[tkltime]
The duration of the *LINEs placed by action (use '-' to use the default set::spamfilter::ban-time, this value is ignored for block/tempshun').


[reason]
The reason for the *LINE or blockmsg, CANNOT CONTAIN SPACES, '_' will be translated to spaces. Again, if you use '-' for this the default (set::spamfilter::ban-reason) is used.


[regex]
This is the actual regex where we should block on.

examples:

/spamfilter add p block - - Come watch me on my webcam

/spamfilter add p block - Possiblevirusdetected,join#help Come watch me on my webcam

/spamfilter add p tempshun - - Youareinfected me.mpg

/spamfilter add p gline - - Come watch me on my webcam

/spamfilter add p gline 3h Pleasegoto_www.viruscan.xx/nicepage/virus=blah Come watch me on my webcam

/spamfilter add p kill - Pleasegoto_www.viruscan.xx/nicepage/virus=blah Come watch me on my webcam

/spamfilter del p block - - Come watch me on my webcam*

/spamfilter add cN gzline 1d Noadvertisingplease come to irc..+..+




Squit

Disconnects an IRC Server from the network. Usually used in routing of servers.
IRC Operator only command.

/squit <server>


example:

/squit leaf.*




Tempshun

Add/remove 'temporary shuns'.
Temporary shuns are shuns added on a specified target for the current session only, this means if the user reconnects the shun will be gone.

/tempshun [+|-]<nickname> [reason]


example:

/tempshun evilguy suspected infection

/tempshun -niceguy




Trace

You can use TRACE on servers or users. 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. Sometimes TRACE can be confusing, especially if you are using it for the first time.

/trace <servername|nickname>


examples:

/trace Johnny

/trace irc-m08.chat.com




Tsctl

This is a highly advanced command used to Adjust the Internal IRC clock.

IRC Operator only command.

/tsctl offset +|- <time>

Adjust internal IRC clock.

/tsctl time

Will give TS report.

/tsctl alltime

Shows the TS report of all server.

/tsctl svstime <timestamp>

Sets the Time on all Servers.



Undccdeny

If the EXACT file you type is found it is removed, else it uses wildcards to search.
IRC Operator only command.

/undccdeny <filename mask>




Wallops

Sends a "Message" to all those with the umode +w.
Only IRCops can send Wallops, while anyone with the mode +w can view them.

/wallops <message>




Zline

This command provides timed Z:Lines. If you match a Z:Line you cannot connect to the server. A time of 0 in the ZLINE makes it permanent (Never Expires). You may also specify the time in the format 1d10h15m30s.
IRC Operator only command.

/zline <*@ipmask> [time] <reason>

Adds a Zline.

/zline -<*@ipmask>

Removes a Zline.


examples:

/zline *@127.0.0.1 Abuse

Adds a permanent Z:line.

/zline *@127.0.0.1 2d Abuse

Adds a Z:line for 2 days.

/zline -*@127.0.0.1

Removes a Z:line.

NOTE: requires the can_zline oper flag.









changed February 10, 2012