Thursday, February 11, 2010

Unrealircd Oper Commands

User & Channel Modes
Mode
Description
Channel Modes
A
Only Administrators may join
a
Makes the user a channel admin
b
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
Exception ban – If someone matches this, they can join a channel even if they match an existing ban
f []:
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
Gives half-op status to the user
i
Invite required
I
Invite exceptions ("invex") - if someone matches this, they can bypass +i requirements to enter the channel.
j
Throttles joins per-user to joins per seconds seconds
K
/knock is not allowed
k
Sets a key needed to join
l <##>
Sets max number of users
L
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
Gives a user channel operator status
p
Makes channel private
q
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
Gives a voice to users. (May speak in +m channels)
z
Only clients on a Secure (SSL) Connection may join

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 Changes your online nick name. Alerts others to the change of your nick All
whois Displays information of user requested. Includes Full Name, Host, Channels User is in, and Oper Status All
who Who allows you to search for users. Masks include: nickname, #channel, hostmask (*.attbi.com) All
whowas Displays information on a nick that has logged off. The field is optional, and limits how many records will be returned. All
ison Allows you to check the online status of a user, or a list of users. Simple return, best used for scripts All
join 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 Cycles the given channel(s). This command is equivalent to sending a PART then a JOIN command. All
motd Displays the servers motd. Adding a server name allows you to view motd’s on other servers. All
rules Displays the ircd.rules of a server. Adding a server name allows you to view rules on other servers All
lusers 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 Causes you to disconnect from the server. If you include a reason, it will be displayed on all channels as you quit All
ping 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 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 Displays the admin info of a server. If a server name is included it will display the info of that server. All
userhost Displays the userhost of the nick given. Generally used for scripts All
topic Topic will display the current topic of the given channel. Topic will change the topic of the given channel. All
invite Invites the given user to the given channel. (Must be a channel Op) ChanOp
kick Kicks a user or users out of a channel, or channels. A reason may also be supplied. ChanOp
away Marks you as being away. A reason may also be supplied. All
Watch +- +-
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 ? or !
HelpOp is a new system of getting IRC Server help. You type either /HELPOP ? or /HELPOP ! 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 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 people.
people.
C>number List channels created between now and minutes ago.
C minutes ago.
T>number List channels whose topics are older than minutes (Ie., they have not changed in the last minutes.
T minutes.
*mask* List channels that match *mask*
!*mask* List channels that do not match *mask*
All
Knock
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 Hides your host name by using a vhost provided by the server. All
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 Displays the servers date and time. Including a server name allows you to check other servers. All
botmotd
Displays the servers bot message of the day. Including a server name allows you to check other servers All
identify Sends your password to the services system to identify to your nick. All
identify Sends your password to the services system to identify as the founder of a channel. All
dns 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
Returns the IP address of the user in question. All
oper
Command to give a user operator status if they match an Oper Block IRCop
wallops Sends a message to all users with umode +w IRCop
globops Sends a message to all global IRCops IRCop
chatops Sends a message to all IRCops (local and global) IRCop
locops Sends a message to all local IRCops IRCop
adchat Sends a message to all Admins IRCop
nachat Sends a message to all Net Admins IRCop
kill Kills a user from the network IRCop
kline [+|-] [ 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> [ 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 [+|-] [ Adds a global ban to anyone that matches. See kline for more syntax info. Use /gline -user@host to remove. IRCop
shun [+|-] [ 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 [+|-] Adds a global zline. See kline for more syntax info. Use /gzline -*@ip to remove a gzline. IRCop
rehash 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
Restarts the IRCD Process. Password is required if drpass { } is present. You may also include a reason. IRCop
die
Terminates the IRCD Process. Password is required if drpass { } is present. IRCop
lag 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 Lets you change your vhost to what ever you want it to be. IRCop
setident
Lets you set your ident to what ever you want it to be IRCop
chghost
Lets you change the host name of a user currently on the system IRCop
chgident
Lets you change the ident of a user currently on the system IRCop
chgname
Lets you change the realname of a user currently on the system IRCop
squit
Disconnects a server from the network IRCop
connect 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
Adds a DCCDENY for that filemask. Preventing that file from being sent. IRCop
undccdeny
Removes a DCCDENY IRCop
sajoin ,
Forces a user to join a channel(s). Available to services & network admins only IRCop
sapart ,
Forces a user to part a channel(s). Available to services & network admins only. IRCop
samode
Allows Network & Services admins to change modes of a channel without having ChanOps. IRCop
rping
Will calculate in milliseconds the lag between servers IRCop
trace
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 :
Will add the given text to the end of the Motd IRCop
addomotd :
Will add the given text to the end of the OperMotd IRCop
sdesc
Allows server admins to change the description line of their server without restarting. IRCop
addline
Allows you to add lines to the unrealircd.conf IRCop
mkpasswd
Will encrypt a clear text password to add it to the unrealircd.conf IRCop
tsctl offset +/- 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
Sets the TS time of all servers (Do NOT use if you do not understand EXACTLY what it does) IRCop
htm 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 Tell HTM at what incoming rate to activate HTM
IRCop
stats 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

No comments: