Need help with a "special module"
Posted: Thu Mar 03, 2005 11:10 pm
Hi there
ok, i'm running an U.IRCD server with ircservices v5.x since ~140 days and i'm pretty familiar with the most commands, the config files and the modules.
Everything is "normal", users can connect, register their nicknames, but:
- I need a new channel mode (+F abc)
- Users must "link" their IRC account with an portal system (not via SQL, by "post"'ing username and pw to an .php script)
via "/nickserv link_account testuser testpwd"
The script returns "below-zero" values on error, or a number between 1 and 10 if success.
This number is stored in the IRC account (new usermode?)
Example:
*** You are now connected to irc.test.net
[21:29] -NickServ- This nickname is registered and protected. If it is your nickname, type /msg NickServ IDENTIFY password. Otherwise, please choose a different nickname.
-
[21:29] -NickServ- Password accepted -- you are now recognized.
-
[21:29] -NickServ- Notice: Your account isn't linked to an forum account. To do so, type "/nickserv link_account <forum.username> <forum.pw>"-
> /join #led
-
#led can't join channel (not a member of this faction)
-
> /nickserv link_account Fussi 12345
-
[21:30] -NickServ- Please wait, checking account status...
(Module sends query to the script, script returns "5")
[21:30] -NickServ- Account verified. You are a member of the L.E.D.
-
> /join #led
-
*** Now talking in #led
(Channel mode: +F 5 (or maybe "+F led" if this is possible))
**************************
Note: The channels aren't random, they're predefined. We have 9 channels, so we need 9 different "levels". 10 means "can join every channel".
Important: the usermode must be visible and set-able by the faction leaders (script return == 10) and the IRCOps!
The very first questions:
How to do this and where to start...
Just a module? Possible at all? Need to modify the sourcecode and recompile?
Thanks for any help, and please, ask any questions you have about this idea!
ok, i'm running an U.IRCD server with ircservices v5.x since ~140 days and i'm pretty familiar with the most commands, the config files and the modules.
Everything is "normal", users can connect, register their nicknames, but:
- I need a new channel mode (+F abc)
- Users must "link" their IRC account with an portal system (not via SQL, by "post"'ing username and pw to an .php script)
via "/nickserv link_account testuser testpwd"
The script returns "below-zero" values on error, or a number between 1 and 10 if success.
This number is stored in the IRC account (new usermode?)
Example:
*** You are now connected to irc.test.net
[21:29] -NickServ- This nickname is registered and protected. If it is your nickname, type /msg NickServ IDENTIFY password. Otherwise, please choose a different nickname.
-
[21:29] -NickServ- Password accepted -- you are now recognized.
-
[21:29] -NickServ- Notice: Your account isn't linked to an forum account. To do so, type "/nickserv link_account <forum.username> <forum.pw>"-
> /join #led
-
#led can't join channel (not a member of this faction)
-
> /nickserv link_account Fussi 12345
-
[21:30] -NickServ- Please wait, checking account status...
(Module sends query to the script, script returns "5")
[21:30] -NickServ- Account verified. You are a member of the L.E.D.
-
> /join #led
-
*** Now talking in #led
(Channel mode: +F 5 (or maybe "+F led" if this is possible))
**************************
Note: The channels aren't random, they're predefined. We have 9 channels, so we need 9 different "levels". 10 means "can join every channel".
Important: the usermode must be visible and set-able by the faction leaders (script return == 10) and the IRCOps!
The very first questions:
How to do this and where to start...
Just a module? Possible at all? Need to modify the sourcecode and recompile?
Thanks for any help, and please, ask any questions you have about this idea!