Anope IRC Services

Anope.org => Anope General => Topic started by: BehroozWolf on December 20, 2007, 03:14:04 AM

Title: chanserv.c new command error.
Post by: BehroozWolf on December 20, 2007, 03:14:04 AM
i tried to edit chanserv.c file.. but. the file gives an error mesaj.  this is the error: c = createCommand("TEMIZLE",  do_baho,     NULL,  CHAN_HELP_BAHO,           -1,-1,-1,-1); addCoreCommand(CHANSERV,c);
i dont think i made a mistake file.. or missed something.. what should i do. i need help me.

how should this be done for it not to give an error chanserv.c?
Title:
Post by: n00bie on December 20, 2007, 05:07:10 AM
Firstly, don't edit the source code, you can lost support. Secondly, as can be understand from what youv'e posted your trying to create a new command for ChanServ, in that case you can do it as a module. Here is the wiki page incase you haven't read it yet.

http://anope.info/wiki/Modules
Title:
Post by: Trystan Scott Lee on December 20, 2007, 01:35:22 PM
yeah no support until you return to stock code and move your idea to a module..
Title:
Post by: BehroozWolf on December 26, 2007, 10:29:00 AM
Ok, thanks.