/****************************************************************************
 *  NewCmds.AmIPlug - AmIRC Plugin
 *  Copyright (C) 1999 Joar Sivertsen <jsiv@start.no>
 *
 *  This library is free software; you can redistribute it and/or
 *  modify it under the terms of the GNU Lesser General Public
 *  License as published by the Free Software Foundation; either
 *  version 2 of the License, or (at your option) any later version.
 *
 *  This library 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
 *  Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public
 *  License along with this library; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 ****************************************************************************
 *  $Id: include/struct.h 0.6.2 (5.11.99) $
 ****************************************************************************/

                     /* -------------------------------------------------------------------------------------------------------------------------------------------------------------- *
                      * Name                   Command		Help											id		argc	onchan *
                      * -------------------------------------------------------------------------------------------------------------------------------------------------------------- */
struct amiplug_cmd	newcmdsver	= { Z, "NEWCMDSVER",	0L,											NEWCMDSVER,	0,	F },
			services	= { Z, "SERVICES",	"command",										SERVICES,	1,	F },
			nickserv	= { Z, "NICKSERV",	"command",										NICKSERV,	1,	F },
			chanserv	= { Z, "CHANSERV",	"command",										CHANSERV,	1,	F },
			memoserv	= { Z, "MEMOSERV",	"command",										MEMOSERV,	1,	F },
			statserv	= { Z, "STATSERV",	"command",										STATSERV,	1,	F },
			helpserv	= { Z, "HELPSERV",	"command",										HELPSERV,	1,	F },
			operserv	= { Z, "OPERSERV",	"command",										OPERSERV,	1,	F },
			ns		= { Z, "NS",		"command",										NS,		1,	F },
			cs		= { Z, "CS",		"command",										CS,		1,	F },
			ms		= { Z, "MS",		"command",										MS,		1,	F },
			ss		= { Z, "SS",		"command",										SS,		1,	F },
			hs		= { Z, "HS",		"command",										HS,		1,	F },
			os		= { Z, "OS",		"command",										OS,		1,	F },
			identify	= { Z, "IDENTIFY",	"[nick] password",									IDENTIFY,	1,	F },
			mhelp		= { Z, "MHELP",		"command",										MS_HELP,	0, 	F },
			msend		= { Z, "MSEND",		"[nick|channel] memo",									MS_SEND,	2, 	F },
			msendsop	= { Z, "MSENDSOP",	"channel memo",										MS_SENDSOP,	2, 	F },
			mlist		= { Z, "MLIST",		0L,											MS_LIST,	0, 	F },
			mread		= { Z, "MREAD",		"memo_number",										MS_READ,	1, 	F },
			mdel		= { Z, "MDEL",		"[memo_number]|[ALL]",									MS_DEL,		1, 	F },
			mundel		= { Z, "MUNDEL",	"memo_number",										MS_UNDEL,	1, 	F },
			mpurge		= { Z, "MPURGE",	0L,											MS_PURGE,	0, 	F },
			mforward	= { Z, "MFORWARD",	"[-|nick [password]]",									MS_FORWARD,	0,	F },
			nhelp		= { Z, "NHELP",		"command",										NS_HELP,	0,	F },
			nreg		= { Z, "NREG",		"password",										NS_REGISTER,	2,	F },
			nregister	= { Z, "NREGISTER",	"password",										NS_REGISTER,	2,	F },
			nset		= { Z, "NSET",		"command [value]",									NS_SET,		3,	F },
			naccess		= { Z, "NACCESS",	"[LIST|ADD user@host|DEL user@host]",							NS_ACCESS,	1,	F },
			nid		= { Z, "NID",		"[nick] password",									NS_IDENTIFY,	1,	F },
			nidentify	= { Z, "NIDENTIFY",	"[nick] password",									NS_IDENTIFY,	1,	F },
			nrecover	= { Z, "NRECOVER",	"nick [password]",									NS_RECOVER,	1,	F },
			nghost		= { Z, "NGHOST",	"nick [password]",									NS_GHOST,	1,	F },
			ndrop		= { Z, "NDROP",		"nick",											NS_DROP,	1,	F },
			nrelease	= { Z, "NRELEASE",	"nick [password]",									NS_RELEASE,	1,	F },
			ninfo		= { Z, "NINFO",		"nick",											NS_INFO,	1,	F },
			nacc		= { Z, "NACC",		"nick",											NS_ACC,		1,	F },
			chelp		= { Z, "CHELP",		"command",										CS_HELP,	0,	F },
			cregister	= { Z, "CREGISTER",	"channel password description",								CS_REGISTER,	3,	F },
			cset		= { Z, "CSET",		"channel command [value]",								CS_SET,		2,	F },
			csop		= { Z, "CSOP",		"channel [ADD [nick|hostmask]|DEL [index_number|hostmask]|LIST [search_pattern]|WIPE]",	CS_SOP,		2,	F },
			caop		= { Z, "CAOP",		"channel [ADD [nick|hostmask]|DEL [index_number|hostmask]|LIST [search_pattern]|WIPE]",	CS_AOP,		2,	F },
			cakick		= { Z, "CAKICK",	"channel [ADD [nick|hostmask]|DEL [index_number|hostmask]|LIST [search_pattern]|WIPE]",	CS_AKICK,	2,	F },
			cdrop		= { Z, "CDROP",		"channel",										CS_DROP,	1,	F },
			cid		= { Z, "CID",		"channel password",									CS_IDENTIFY,	2,	F },
			cidentify	= { Z, "CIDENTIFY",	"channel password",									CS_IDENTIFY,	2,	F },
			caccess		= { Z, "CACCESS",	"channel [nick]",									CS_ACCESS,	1,	F },
			cop		= { Z, "COP",		"channel nick",										CS_OP,		2,	F },
			cdeop		= { Z, "CDEOP",		"channel nick",										CS_DEOP,	2,	F },
			cinfo		= { Z, "CINFO",		"channel",										CS_INFO,	1,	F },
			cinvite		= { Z, "CINVITE",	"channel",										CS_INVITE,	1,	F },
			cmkick		= { Z, "CMKICK",	"channel",										CS_MKICK,	1,	F },
			cmdeop		= { Z, "CMDEOP",	"channel",										CS_MDEOP,	1,	F },
			cunban		= { Z, "CUNBAN",	"channel [ME|ALL]",									CS_UNBAN,	2,	F },
			ccount		= { Z, "CCOUNT",	"channel",										CS_COUNT,	1,	F },
			cwhy		= { Z, "CWHY",		"channel nick",										CS_WHY,		2,	F },
			globops		= { Z, "GLOBOPS",	"text",											CMD_GLOBOPS,	1,	F },
			chatops		= { Z, "CHATOPS",	"text",											CMD_CHATOPS,	1,	F },
			locops		= { Z, "LOCOPS",	"text",											CMD_LOCOPS,	1,	F },
			operwall	= { Z, "OPERWALL",	"text",											CMD_OPERWALL,	1,	F },
			lwallops	= { Z, "LWALLOPS",	"text",											CMD_LWALLOPS,	1,	F },
			swallops	= { Z, "SWALLOPS",	"text",											CMD_SWALLOPS,	1,	F },
			admchat		= { Z, "ADMCHAT",	"text",											CMD_ADMCHAT,	1,	F },
			goper		= { Z, "GOPER",		"text",											CMD_GOPER,	1,	F },
			gnotice		= { Z, "GNOTICE",	"text",											CMD_GNOTICE,	1,	F },
			snote		= { Z, "SNOTE",		"subject message",									CMD_SNOTE,	1,	F },
			snotes		= { Z, "SNOTES",	"[LIST]|[num]",										CMD_SNOTES,	1,	F },
			close		= { Z, "CLOSE",		0L,											CMD_CLOSE,	0,	F },
			dns		= { Z, "DNS",		0L,											CMD_DNS,	0,	F },
			htm		= { Z, "HTM",		"arguments",										CMD_HTM,	1,	F },
			set		= { Z, "SET",		"variable value",									CMD_SET,	1,	F },
			addline		= { Z, "ADDLINE",	"line",											CMD_ADDLINE,	1,	F },
			samode		= { Z, "SAMODE",	"channel mode [args]",									CMD_SAMODE,	2,	F },
			sajoin		= { Z, "SAJOIN",	"nick channel",										CMD_SAJOIN,	2,	F },
			mkpasswd	= { Z, "MKPASSWD",	"password",										CMD_MKPASSWD,	1,	F },
			kline		= { Z, "KLINE",		"user@host reason",									CMD_KLINE,	2,	F },
			unkline		= { Z, "UNKLINE",	"user@host",										CMD_UNKLINE,	1,	F },
			zline		= { Z, "ZLINE",		"IP reason",										CMD_ZLINE,	2,	F },
			unzline		= { Z, "UNZLINE",	"IP",											CMD_UNZLINE,	1,	F },
			akill		= { Z, "AKILL",		"arguments",										CMD_AKILL,	1,	F },
			rakill		= { Z, "RAKILL",	"arguments",										CMD_RAKILL,	1,	F },
			unakill		= { Z, "UNAKILL",	"arguments",										CMD_UNAKILL,	1,	F },
			remgline	= { Z, "REMGLINE",	"[nick]|[user@host]",									CMD_REMGLINE,	1,	F },
			die		= { Z, "DIE",		0L,											CMD_DIE,	0,	F },
			shutdown	= { Z, "SHUTDOWN",	"[password]",										CMD_SHUTDOWN,	0,	F },
			helpop		= { Z, "HELPOP",	0L,											CMD_HELPOP,	0,	F },
			usrip		= { Z, "USRIP",		"nick [nick2..]",									CMD_USRIP,	1,	F },
			watch		= { Z, "WATCH",		"[l]|[s]|[[[+|-]nick] [[+|-]nick2..]]",							CMD_WATCH,	0,	F },
			shelp		= { Z, "SHELP",		"[subject]",										CMD_SHELP,	0,	F },
			adult		= { Z, "ADULT",		0L,											CMD_ADULT,	0,	F },
			kid		= { Z, "KID",		0L,											CMD_KID,	0,	F },
			cnotice		= { Z, "CNOTICE",	"nick channel message",									CMD_CNOTICE,	2,	F },
			cmsg		= { Z, "CMSG",		"nick channel message",									CMD_CMSG,	2,	F },
			sumode		= { Z, "SUMODE",	"usermode",										CMD_SUMODE,	1,	F },
			rules		= { Z, "RULES",		0L,											CMD_RULES,	0,	F },
			knock		= { Z, "KNOCK",		"channel reason",									CMD_KNOCK,	2,	F },
			license		= { Z, "LICENSE",	"[server]",										CMD_LICENSE,	0,	F },
			setname		= { Z, "SETNAME",	"real_name",										CMD_SETNAME,	1,	F },
			credits		= { Z, "CREDITS",	"[server]",										CMD_CREDITS,	0,	F },
			dalinfo		= { Z, "DALINFO",	"[server]",										CMD_DALINFO,	0,	F },
			addmotd		= { Z, "ADDMOTD",	"text",											CMD_ADDMOTD,	1,	F },
			addomotd	= { Z, "ADDOMOTD",	"text",											CMD_ADDOMOTD,	1,	F },
			opermotd	= { Z, "OPERMOTD",	0L,											CMD_OPERMOTD,	0,	F },
			sethost		= { Z, "SETHOST",	"hostname",										CMD_SETHOST,	1,	F },
			pass		= { Z, "PASS",		"[nick] password",									CMD_PASS,	1,	F },
			setident	= { Z, "SETIDENT",	"username",										CMD_SETIDENT,	1,	F },
			sdesc		= { Z, "SDESC",		"description",										CMD_SDESC,	1,	F },
			adchat		= { Z, "ADCHAT",	"text",											CMD_ADCHAT,	1,	F },
			nachat		= { Z, "NACHAT",	"text",											CMD_NACHAT,	1,	F },
			techat		= { Z, "TECHAT",	"text",											CMD_TECHAT,	1,	F },
			chghost		= { Z, "CHGHOST",	"nick hostname",									CMD_CHGHOST,	2,	F },
			tsctl		= { Z, "TSCTL",		"[OFFSET +|- time]|[TIME]",								CMD_TSCTL,      1,	F },
			lag		= { Z, "LAG",		"server",										CMD_LAG,	1,	F },
			rping		= { Z, "RPING",		"server",										CMD_RPING,	1,	F },
			sapart		= { Z, "SAPART",	"nick channel",										CMD_SAPART,	2,	F },
			chgident	= { Z, "CHGIDENT",	"nick username",									CMD_CHGIDENT,	2,	F };
                     /* -------------------------------------------------------------------------------------------------------------------------------------------------------------- */

struct TagItem NewCmdsTags[] = {
	AMIPLUG_Query_MinAmIRCVersion,	MINVER,
	AMIPLUG_Query_Version,		VERSION,
	AMIPLUG_Query_Revision,		MAJOR,
	AMIPLUG_Query_Copyright,	(ULONG)COPYRIGHT,
	AMIPLUG_Query_Infostring,	(ULONG)DESC,
	AMIPLUG_Query_Hook_Rawline,	TRUE,
	AMIPLUG_Query_Hook_NumericMsg,	TRUE,
	AMIPLUG_Query_CustomCommand,	(ULONG)&newcmdsver,
	AMIPLUG_Query_CustomCommand,	(ULONG)&services,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nickserv,
	AMIPLUG_Query_CustomCommand,	(ULONG)&chanserv,
	AMIPLUG_Query_CustomCommand,	(ULONG)&memoserv,
	AMIPLUG_Query_CustomCommand,	(ULONG)&statserv,
	AMIPLUG_Query_CustomCommand,	(ULONG)&helpserv,
	AMIPLUG_Query_CustomCommand,	(ULONG)&operserv,
	AMIPLUG_Query_CustomCommand,	(ULONG)&ns,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cs,
	AMIPLUG_Query_CustomCommand,	(ULONG)&ms,
	AMIPLUG_Query_CustomCommand,	(ULONG)&ss,
	AMIPLUG_Query_CustomCommand,	(ULONG)&hs,
	AMIPLUG_Query_CustomCommand,	(ULONG)&os,
	AMIPLUG_Query_CustomCommand,	(ULONG)&identify,
	AMIPLUG_Query_CustomCommand,	(ULONG)&mhelp,
	AMIPLUG_Query_CustomCommand,	(ULONG)&msend,
	AMIPLUG_Query_CustomCommand,	(ULONG)&msendsop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&mlist,
	AMIPLUG_Query_CustomCommand,	(ULONG)&mread,
	AMIPLUG_Query_CustomCommand,	(ULONG)&mdel,
	AMIPLUG_Query_CustomCommand,	(ULONG)&mundel,
	AMIPLUG_Query_CustomCommand,	(ULONG)&mpurge,
	AMIPLUG_Query_CustomCommand,	(ULONG)&mforward,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nhelp,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nreg,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nregister,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nset,
	AMIPLUG_Query_CustomCommand,	(ULONG)&naccess,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nid,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nidentify,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nrecover,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nghost,
	AMIPLUG_Query_CustomCommand,	(ULONG)&ndrop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nrelease,
	AMIPLUG_Query_CustomCommand,	(ULONG)&ninfo,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nacc,
	AMIPLUG_Query_CustomCommand,	(ULONG)&chelp,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cregister,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cset,
	AMIPLUG_Query_CustomCommand,	(ULONG)&csop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&caop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cakick,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cdrop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cid,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cidentify,
	AMIPLUG_Query_CustomCommand,	(ULONG)&caccess,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cdeop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cinfo,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cinvite,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cmkick,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cmdeop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cunban,
	AMIPLUG_Query_CustomCommand,	(ULONG)&ccount,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cwhy,
	AMIPLUG_Query_CustomCommand,	(ULONG)&globops,
	AMIPLUG_Query_CustomCommand,	(ULONG)&chatops,
	AMIPLUG_Query_CustomCommand,	(ULONG)&locops,
	AMIPLUG_Query_CustomCommand,	(ULONG)&operwall,
	AMIPLUG_Query_CustomCommand,	(ULONG)&lwallops,
	AMIPLUG_Query_CustomCommand,	(ULONG)&swallops,
	AMIPLUG_Query_CustomCommand,	(ULONG)&admchat,
	AMIPLUG_Query_CustomCommand,	(ULONG)&goper,
	AMIPLUG_Query_CustomCommand,	(ULONG)&gnotice,
	AMIPLUG_Query_CustomCommand,	(ULONG)&snote,
	AMIPLUG_Query_CustomCommand,	(ULONG)&snotes,
	AMIPLUG_Query_CustomCommand,	(ULONG)&close,
	AMIPLUG_Query_CustomCommand,	(ULONG)&htm,
	AMIPLUG_Query_CustomCommand,	(ULONG)&set,
	AMIPLUG_Query_CustomCommand,	(ULONG)&addline,
	AMIPLUG_Query_CustomCommand,	(ULONG)&samode,
	AMIPLUG_Query_CustomCommand,	(ULONG)&sajoin,
	AMIPLUG_Query_CustomCommand,	(ULONG)&mkpasswd,
	AMIPLUG_Query_CustomCommand,	(ULONG)&kline,
	AMIPLUG_Query_CustomCommand,	(ULONG)&unkline,
	AMIPLUG_Query_CustomCommand,	(ULONG)&zline,
	AMIPLUG_Query_CustomCommand,	(ULONG)&unzline,
	AMIPLUG_Query_CustomCommand,	(ULONG)&akill,
	AMIPLUG_Query_CustomCommand,	(ULONG)&rakill,
	AMIPLUG_Query_CustomCommand,	(ULONG)&unakill,
	AMIPLUG_Query_CustomCommand,	(ULONG)&remgline,
	AMIPLUG_Query_CustomCommand,	(ULONG)&die,
	AMIPLUG_Query_CustomCommand,	(ULONG)&shutdown,
	AMIPLUG_Query_CustomCommand,	(ULONG)&helpop,
	AMIPLUG_Query_CustomCommand,	(ULONG)&usrip,
	AMIPLUG_Query_CustomCommand,	(ULONG)&watch,
	AMIPLUG_Query_CustomCommand,	(ULONG)&dns,
	AMIPLUG_Query_CustomCommand,	(ULONG)&shelp,
	AMIPLUG_Query_CustomCommand,	(ULONG)&adult,
	AMIPLUG_Query_CustomCommand,	(ULONG)&kid,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cnotice,
	AMIPLUG_Query_CustomCommand,	(ULONG)&cmsg,
	AMIPLUG_Query_CustomCommand,	(ULONG)&sumode,
	AMIPLUG_Query_CustomCommand,	(ULONG)&rules,
	AMIPLUG_Query_CustomCommand,	(ULONG)&knock,
	AMIPLUG_Query_CustomCommand,	(ULONG)&license,
	AMIPLUG_Query_CustomCommand,	(ULONG)&setname,
	AMIPLUG_Query_CustomCommand,	(ULONG)&credits,
	AMIPLUG_Query_CustomCommand,	(ULONG)&dalinfo,
	AMIPLUG_Query_CustomCommand,	(ULONG)&addmotd,
	AMIPLUG_Query_CustomCommand,	(ULONG)&addomotd,
	AMIPLUG_Query_CustomCommand,	(ULONG)&opermotd,
	AMIPLUG_Query_CustomCommand,	(ULONG)&sethost,
	AMIPLUG_Query_CustomCommand,	(ULONG)&pass,
	AMIPLUG_Query_CustomCommand,	(ULONG)&setident,
	AMIPLUG_Query_CustomCommand,	(ULONG)&sdesc,
	AMIPLUG_Query_CustomCommand,	(ULONG)&adchat,
	AMIPLUG_Query_CustomCommand,	(ULONG)&nachat,
	AMIPLUG_Query_CustomCommand,	(ULONG)&techat,
	AMIPLUG_Query_CustomCommand,	(ULONG)&chghost,
	AMIPLUG_Query_CustomCommand,	(ULONG)&tsctl,
	AMIPLUG_Query_CustomCommand,	(ULONG)&lag,
	AMIPLUG_Query_CustomCommand,	(ULONG)&rping,
	AMIPLUG_Query_CustomCommand,	(ULONG)&sapart,
	AMIPLUG_Query_CustomCommand,	(ULONG)&chgident,
	TAG_DONE
};
