Hey pplz,
Dintn asked me to write down a complete command list for ccontrol
so there it is.
Hopefully i'll soon have an html version of this document
|MrBean|
Updated CControl Commands List (Last update : 26/09/01)
Level Oper : Access , Help , Deauth . Newpass , Mode , Op , Deop , Moderate ,
UnModerate
Invite , Gline , ScanGline , RemGline , Whois , Translate , Kick ,
ClearChan
ListHosts , CheckNet , ListIgnores , List , UserInfo , ChanInfo
Level Admin : LearnNet , RemServer , LastCom , ForceGline , Exceptions , RemIgnore
AddUser, RemUser , ModUser , AddCommand , DelCommand, Suspend , UnSuspend
AddServer
Level Smt : *ForceGline
Level Coder: Commands , GChan , RemGChan , *LearnNet
Access - Syntax : /msg bot access
Used to show a user access level
Help - syntax : /msg bot help [command ] [ sub command]
shows all the commands a user has access to ,
if a command name is supplied , it shows only help on that command
Deauth - Syntax: /msg bot Deauth
Deauthenticates you from the bot
Newpass - Synatx: /msg bot Newpass <password>
Changes your password
Mode - Syntax: /msg bot Mode <#channel> <mode string>
Change a channel modes
Op/Deop - Syntax: /msg bot op/deop <#channel> <nick1> [nick2] [nick3] ..
Ops/deops users on a channel
Moderate/UnModerate - Synatx: /msg bot Moderate/Unmoderate <#channel>
Moderates/UnModerates a channel
This command is ment to be used by the UHS group if/when it is starts
functioning
Invite - Syntax: /msg bot invite <#channel>
Get an invitation to a channel
Gline - Syntax: /msg bot Gline <host> <duration[s/m/h/d]> <reason>
Glines a host for a certain amount of time
ScanGline - Syntax: /msg bot scangline <mask>
Scans the current glines for a network that affects that supplied mask
RemGline - Synatx: /msg bot RemGline <gline>
Removes a gline
Whois - Syntax: /msg bot whois <nick>
Gets all kinds of info on a user
Translate - Syntax: /msg bot translate <numeric>
Translates a numeric to a nick
Kick - Syntax: /msg bot kick <#channel> <nick>
Kicks a user from the channel
ClearChan - Syntax: /msg bot clearchan <#channel> [modes/all]
Clears a channel modes
if there are no supplied modes , it clears modes OBLKLIM
All clears modes OBKLINMSPT
O - all operators
B - bans
the user can set any kind of combinations , like Okl - will remove all ops the
key and the limit
ListHosts - Syntax: /msg bot listhosts <handle>
Lists all the hosts that an oper is allowed to login from
CheckNet - Syntax: /msg bot checknet
Lists all the missing servers
ListIgnores - Syntax: /msg bot listignores
Shows the current ignore list of the bot
List - Syntax: /msg bot list <list type>
for now list type can be either Glines or suspended
Userinfo - Syntax: /msg bot userinfo <user*/servers*>
Shows information about all the opers that thier server/handle match the
supplied mask
Chaninfo - Syntax: /msg bot chaninfo <#channel>
Shows information about a channel
LearnNet - Syntax: /msg bot learnnet [-r]
Add all the unknown server which currently are connected to the network to the
database
-r switch can be added only by CODERS, which will cause the bot to delete all
the known servers
and relearn the network.
RemServer - Syntax: /msg bot RemServer [server name]
Removes a server from the bot database
LastCom - Syntax: /msg bot lastcom [num of commands ] [from days ago - d]
will paste all the last commands which where issued to the bot
the default value is 20 if no num of commands is specified
a user can also specify the number of days ago the commands where issued
ForceGline - Syntax: /msg bot ForceGline [-fu] <host> <duration[s/m/h/d] reason
glines a host for a certain amount of time
the -fu flag can only be specified by smt+ , to cause the bot to gline
for more than 14 days and a gline which affects more than 255 users.
Exceptions: Syntax: /msg bot Exceptions <add/del/list> [host mask]
Excpetions = AGL in uworld, meaning a user can have more than a certain
amount of connections from a single host than the default one which is
specified
in the bot conf file, before he gets automatically glined for clones.
RemIgnore: Syntax: /msg bot Remignore <host>
Removes a host from the bot ignore list
AddUser: Synatx: /msg bot adduser <handle> <type> <password>
Add a new user to the bot,
Type can be either Oper/Admin/Smt/Coder
RemUser: Syntax: /msg bot remuser <handle>
Removes a user from the bot database
ModUser: Synatx: /msg bot moduser <handle> <-ah new host] <-dh host> <-s server> <-p
password>
<-gl on/off> <-op on/off> <-ua> <-uf new flags> <-e
email>
-ah adds a new host for the user
-dh removes a host for a user
-s associate a user with the server
-p changes the user password
-gl toggeles wheather the logs will be messaged to the user
-op toggeles if a user must be opered up to user the needop commands
-ua resets the user access acording to his flags
-uf updates the oper flags to new one (OPER/ADMIN/SMT/CODER)
-e updates the user email
AddCommand: Syntax: /msg bot addcommand [-fr] <handle> <command>
Adds a command to an oper
-fr can only be specified by smt+ and cause the command to be added
even if the min level of the command is higher that the one the oper has
DelCommand: Syntax: /msg bot delcommand <handle> <command>
Removes the command from the oper access list
Suspend: Syntax: /msg bot suspend <handle> <duration> <time units>
Suspend an oper for a specific amount of time
Unsuspend: Syntax: /msg bot unsuspend <handle>
unsuspends a user
Addserver: Syntax: /msg bot addserver <server>
Adds a new server to the bot database
Commands: Synatx: /msg bot commands <-ds/-en/-no/-nl/-na/-ml/> <command> <option>
Changes command options
-ds - disable the command
-en - enable the command
-no - toggles the need to be operd up to use the command
-nl - toggles if the command should not be logged in the lastcom report
-na - changes the name of the command
-ml - set the minimum level a oper must have for this command to be added to
Gchan: Syntax: /msg bot Gchan <#channel> <duration/-per> <reason>
Sets a bad channel gline on a channel
if a -per is specified as a duration, the gline will be permanent
RemGChan - /msg bot remgchan <#channel>
removes a gchan gline
Thats it for now, hope this helps out
if you find any errors in the doc/typos please lemme know : [EMAIL PROTECTED]
|MrBean|