Hello !
I am trying to make a Windows server for an online game based on IRC.
For that i need a response to the /LIST command like that :
#Channel NbUsers :Type Description
Where Type is a 2 digits number.
Have you got an idea on how to do that ?
Can i use a special field in official-channel of the unrealircd.conf file ?
Instead of "#Test"{ topic "Test"; };
I'd like something like "#Test"{type "01"; topic "Test"; };
And a TCP response with #Test 0 :01 Test
Thanks for your help.
Modification of the /LIST response
How ?
In my unrealircd.conf i have that :
How can i use /topic ?
If the 00 is in the topic it doesn't work because it makes a space between the : and 00 in the chat data
Code: Select all
official-channels {
"#Test"{ topic "Test"; };
};
If the 00 is in the topic it doesn't work because it makes a space between the : and 00 in the chat data
That's because channel modes are usually shown in front of the channel. If you run './Config -advanced' then answer no to this question:
and run 'make' again.
If you are on windows well, blah :P.
Obviously you should use services for keeping the topic set whenever the first user joins.
Code: Select all
Do you want to show the modes a channel has set in the /list output?
[Yes] ->
If you are on windows well, blah :P.
Obviously you should use services for keeping the topic set whenever the first user joins.
I thought you were going to use the first 2 digits of the topic for that purpose.
If you want it to be a real seperate field and modify the response in the ircd code, then we are not going to provide support for that (modifying of code).
It also cannot be (properly) done in a module (unless you have like <100 channels and you code a /list yourself)
If you want it to be a real seperate field and modify the response in the ircd code, then we are not going to provide support for that (modifying of code).
It also cannot be (properly) done in a module (unless you have like <100 channels and you code a /list yourself)