Anope IRC Services
Anope Development => Modules => Topic started by: Mitsos on December 28, 2012, 05:58:14 PM
-
Hello,
If anyone developer can create this module for Anope 1.8.7 i will thank him very much!
DESC: This module will notice the nickname with NickServ when the nickname has identify succesfully to the services with a random message, i wanna to put more than 100 random messages inside a file or a configuration file to read a random message from there.
Example:
-NickServ- This nickname is registered and protected. If it is your
-
-NickServ- nick, type /msg NickServ IDENTIFY password. Otherwise,
-
-NickServ- please choose a different nick.
-
-NickServ- Password accepted - you are now recognized.
-
- NickServ- Cookie: Don't ask for an IRC Operator in this network, You will be automatically ignored.
- Thanks!
-
This may be very possible.
I have little to no C skills but I will see if I can make a port of it from another module.
Are you totally against an IRCd module to do this?
-
This may be very possible.
I have little to no C skills but I will see if I can make a port of it from another module.
Are you totally against an IRCd module to do this?
This might help: http://iranserv.org/ircd/Anope%20Modules/ns_fortunecookie.c
-
Thanks katzklaw. I'll take a look
-
This might help: http://iranserv.org/ircd/Anope%20Modules/ns_fortunecookie.c
This module DOES NOT working on anope 1.8.7 when 'make' was entered return these errors:
dynamic -rdynamic -Wall -fPIC -DPIC -shared -I../../include -c ns_fortunecookie.c
ns_fortunecookie.c:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'COOKIE_PREFIX'
ns_fortunecookie.c: In function 'AnopeInit':
ns_fortunecookie.c:113: error: 'COOKIE_FILE' undeclared (first use in this function)
ns_fortunecookie.c:113: error: (Each undeclared identifier is reported only once
ns_fortunecookie.c:113: error: for each function it appears in.)
ns_fortunecookie.c:90: warning: unused variable 'c'
ns_fortunecookie.c: In function 'm_ns_do_cookie':
ns_fortunecookie.c:280: error: 'COOKIE_FILE' undeclared (first use in this function)
ns_fortunecookie.c:305: error: 'COOKIE_PREFIX' undeclared (first use in this function)
*** Error code 1
Stop in /usr/home/irpg/anope-1.8.7/src/modules.
*** Error code 1
Stop in /usr/home/irpg/anope-1.8.7.
-
Exactly what are you typing to compile it? What directory are you in when you do?
-
ns_fortunecookie.c compiles just fine on 1.8.8