Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: chanserv.c new command error.  (Read 3849 times)

0 Members and 1 Guest are viewing this topic.

BehroozWolf

  • Guest
chanserv.c new command error.
« 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?
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #1 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
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #2 on: December 20, 2007, 01:35:22 PM »

yeah no support until you return to stock code and move your idea to a module..
Logged
my God my tourniquet, return to me salvation

BehroozWolf

  • Guest
(No subject)
« Reply #3 on: December 26, 2007, 10:29:00 AM »

Ok, thanks.
Logged
Pages: [1]   Go Up