Multible 'groups' running on one server
Posted: Thu Aug 26, 2004 8:09 pm
Hi all ....
I want, or cleaner: i have to write a module that can split up a chat into seperate pieches.
In other words: If a user from "sub1.domain.foo" joins #help he should be forwarded to "#sub1~help" without get any notice of it. a user from "sub1.domain.foo" should forwarded to "#sub2~help" and a user from "root.domain.foo" can join and list what ever he want to.
i looked to the doku but it dont seems that i can modify the "JOIN" or "PART" messages in a way, that the user will get delivered what i want. Another point that is missed to do something like that is a function to send a raw command to user x. This is needed to pass the forward command to the client... and maybe for alot of other stuff, too.
Here a shot sketch how i want to do it:
client server
1.) join #a > -
2.) - < go to #sub~a
3.) join #sub~a > -
4.) - < u joined #a
any clue how to manipulate it without hacking the whole source?
I want, or cleaner: i have to write a module that can split up a chat into seperate pieches.
In other words: If a user from "sub1.domain.foo" joins #help he should be forwarded to "#sub1~help" without get any notice of it. a user from "sub1.domain.foo" should forwarded to "#sub2~help" and a user from "root.domain.foo" can join and list what ever he want to.
i looked to the doku but it dont seems that i can modify the "JOIN" or "PART" messages in a way, that the user will get delivered what i want. Another point that is missed to do something like that is a function to send a raw command to user x. This is needed to pass the forward command to the client... and maybe for alot of other stuff, too.
Here a shot sketch how i want to do it:
client server
1.) join #a > -
2.) - < go to #sub~a
3.) join #sub~a > -
4.) - < u joined #a
any clue how to manipulate it without hacking the whole source?