chanservcommandinit();
chanservaddcommand("showcommands", 0, 1, cs_doshowcommands, "Lists available commands.","Usage: SHOWCOMMANDS [<mask>]\nPrints a list of commands currently available to you, where:\nmask - Mask of commands to list (* or ? are wildcards). If no mask is specified,\n all available commands are displayed.");
chanservaddcommand("quit", QCMD_DEV, 1, cs_doquit, "Makes the bot QUIT and \"reconnect\".","");
chanservcommandinit();
chanservaddcommand("showcommands", 0, 1, cs_doshowcommands, "Lists available commands.","Usage: SHOWCOMMANDS [<mask>]\nPrints a list of commands currently available to you, where:\nmask - Mask of commands to list (* or ? are wildcards). If no mask is specified,\n all available commands are displayed.");
chanservaddcommand("quit", QCMD_DEV, 1, cs_doquit, "Makes the bot QUIT and \"reconnect\".","");
- chanservaddcommand("setquitreason", QCMD_DEV, 1, cs_doquit, "Sets the reason to be sent when quitting due to an unload.","");
+ chanservaddcommand("setquitreason", QCMD_DEV, 1, cs_dosetquitreason, "Sets the reason to be sent when quitting due to an unload.","");
chanservaddcommand("rename", QCMD_DEV, 1, cs_dorename, "Changes the bot's name.","");
chanservaddcommand("rehash", QCMD_DEV, 0, cs_dorehash, "Reloads all text from database.","");
/* Make "HELP" take 2 arguments so things like "HELP chanflags #channel" work. Any junk after the command will go into arg 2 and be ignored. */
chanservaddcommand("rename", QCMD_DEV, 1, cs_dorename, "Changes the bot's name.","");
chanservaddcommand("rehash", QCMD_DEV, 0, cs_dorehash, "Reloads all text from database.","");
/* Make "HELP" take 2 arguments so things like "HELP chanflags #channel" work. Any junk after the command will go into arg 2 and be ignored. */
chanservremovecommand("showcommands", cs_doshowcommands);
chanservremovecommand("quit", cs_doquit);
chanservremovecommand("showcommands", cs_doshowcommands);
chanservremovecommand("quit", cs_doquit);
chanservremovecommand("rename", cs_dorename);
chanservremovecommand("rehash", cs_dorehash);
chanservremovecommand("help", cs_dohelp);
chanservremovecommand("rename", cs_dorename);
chanservremovecommand("rehash", cs_dorehash);
chanservremovecommand("help", cs_dohelp);