;+---------------------------------------------------------------------------
;|   PHP-IRC Internal DCC Function Configuration File
;|   ========================================================
;|   by Manick
;|   (c) 2001-2004 by http://phpbots.sf.net
;|   Contact: manick@manekian.com
;|   irc: #manekian@irc.rizon.net
;|   ========================================
;+---------------------------------------------------------------------------
;|   > This program is free software; you can redistribute it and/or
;|   > modify it under the terms of the GNU General Public License
;|   > as published by the Free Software Foundation; either version 2
;|   > of the License, or (at your option) any later version.
;|   >
;|   > This program is distributed in the hope that it will be useful,
;|   > but WITHOUT ANY WARRANTY; without even the implied warranty of
;|   > MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;|   > GNU General Public License for more details.
;|   >
;|   > You should have received a copy of the GNU General Public License
;|   > along with this program; if not, write to the Free Software
;|   > Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
;+---------------------------------------------------------------------------

file	dcc_mod		modules/default/dcc_mod.php

privmsg	dcc_mod		monitor_check
mode	dcc_mod		monitor_check
join	dcc_mod		monitor_check
kick	dcc_mod		monitor_check
part	dcc_mod		monitor_check

;new feature in 2.2.0, section definitions
section	standard "Standard Functions"
section	channel	"Channel Functions"
section	dcc	"DCC Functions"
section info	"Information Functions"
section	admin	"Administrative Functions"
section	comm	"IRC/Communication Functions"

dcc	monitor							~; command text (typed in dcc iface)
	0							~; number of required arguments
	"<channel>"						~; argument descriptions <arg1> <arg2> (or however you damn well please to do it hehe ;)
	"Show messages from channel in dcc chat interface"	~; description of command
	true							~; must be admin to use this command?
	dcc_mod							~; class name (see file import section above)
	dcc_monitor						~; function name
	channel							 ; section name

dcc	exit		0	""					"Exits the DCC interface"						false	dcc_mod	dcc_exit	standard
dcc	raw		1	"<raw query>"				"Sends raw query to server"						true	dcc_mod	dcc_raw		comm
dcc	who		0	""					"See who\'s online"							false	dcc_mod	dcc_who		standard
dcc	ignore		0	""					"View ignore list"							true	dcc_mod	dcc_ignore	admin
dcc	rignore		1	"<host>"				"Remove ignore for a specified host"					true	dcc_mod	dcc_rignore	admin
dcc	clearqueue	0	"<user>"				"Removes all text queues, or queues for a specified user."		true	dcc_mod	dcc_clearqueue	admin
dcc	server		1	"<server> <port>"			"Change server to specified server"					true	dcc_mod	dcc_server	admin
dcc	chat		1	"<text>"				"Sends message to all admin users using the DCC interface"		true	dcc_mod	dcc_chat	comm
dcc	restart		0	""					"Reconnect to the current server"					true	dcc_mod	dcc_restart	admin
dcc	say		2	"<channel> <text>"			"Sends text to some channel"						true	dcc_mod	dcc_say		comm
dcc	action		2	"<channel> <text>"			"Sends text to some channel in /me format"				true	dcc_mod	dcc_action	comm
dcc	users		0	""					"Shows users in all channels"						true	dcc_mod	dcc_users	info
dcc	maintain	0	"<channel> <key>"			"Shows maintained channels, and adds or removes one"			true	dcc_mod	dcc_maintain	channel
dcc	help		0	""					"Get information about command(s)"					false	dcc_mod	dcc_help	standard
dcc	join		1	"<channel>"				"Join a channel"							true	dcc_mod	dcc_join	channel
dcc	part		1	"<channel>"				"Part a channel"							true	dcc_mod	dcc_part	channel
dcc	rejoin		1	"<channel>"				"Rejoin a channel"							true	dcc_mod	dcc_rejoin	channel
dcc	status		0	""					"Get status of bot, same as 5 minute status update"			true	dcc_mod	dcc_status	info
dcc	function	0	"<activate/deactivate> <function>"	"See which functions are activated, or activate/deactivate a function"	true	dcc_mod	dcc_function	admin
dcc	reloadfunc	0	""					"Reloads function definition file"					true	dcc_mod	dcc_reloadfunc	admin
dcc	shutdown	0	""					"Shuts the bot down"							true	dcc_mod	dcc_shutdown	admin
dcc	connect		0	""					"Force connection to server when disconnected"				true	dcc_mod	dcc_connect	admin
dcc	rehash		0	""					"Reload the configuration file"						true	dcc_mod	dcc_rehash	admin
dcc 	send		2	"<nick> <file>"				"Send a user a file"							true	dcc_mod	dcc_send	dcc
dcc	dcc		0	""					"Check current dcc status"						true	dcc_mod	dcc_dccs	dcc
dcc	close		1	"<id>"					"Close a download, upload, or chat window"				true	dcc_mod	dcc_close	dcc
dcc	upload		1	"<yes/no>"				"Allow files to be sent to this bot"					true	dcc_mod	dcc_upload	dcc
dcc	botinfo		0	""					"View information about the bot"					true	dcc_mod	dcc_botinfo	info
dcc	timers		0	""					"View active timer information"						true	dcc_mod	dcc_timers	info
dcc	listul		0	""					"List upload directory contents"					true	dcc_mod	dcc_listul	dcc
dcc	modules		0	""					"List installed modules"						true	dcc_mod	dcc_modules	info
dcc	spawn		1	"<config file>"				"Spawn a new bot in this process"							true	dcc_mod	dcc_spawn	admin